Age | Commit message (Collapse) | Author | Files | Lines |
|
* Using '%' instead of the current version of the recipes
is a better compliance with yocto standart
Bug-AGL: SPEC-1581
Change-Id: I7813d3bfa0a2514b4ad0e6819881dd9f632823fb
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
We have a better solution for memory leak issue.
This reverts commit 4f9d2b579a600b4fd32f2a92b83378d488a82bff.
Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
|
|
In nativesdk-ncurses, they only add -L<sysroot>/${libdir}, not
-L<sysroot>/${base_libdir}.
So move base_libdir to libdir will help others find ncurses lib
Signed-off-by: Tan Nguyen <tan.nguyen.wh@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
|
|
In systemd v234, systemd-logind may now be restarted without losing
state, it stores the file descriptors (fd) for devices it manages
in the system manager. [1]
In graphic and multimedia configuration, above feature causes memory
leak with the use case of restarting Weston:
| root@salvator-x:~# cat /proc/meminfo | grep Cma
| CmaTotal: 671744 kB
| CmaFree: 629788 kB
| root@salvator-x:~#
| root@salvator-x:~# systemctl restart weston
| root@salvator-x:~#
| root@salvator-x:~# cat /proc/meminfo | grep Cma
| CmaTotal: 671744 kB
| CmaFree: 599404 kB
Because the system continues allocating memory for the new session
during the previous device fds still open.
This commit avoids saving device fds into the system manager by
setting "FileDescriptorStoreMax=0" [2] in "systemd-logind.service".
[1] https://lists.freedesktop.org/archives/systemd-devel/2017-July/039308.html
[2] https://www.freedesktop.org/software/systemd/man/systemd.service.html#FileDescriptorStoreMax=
Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
|
|
This fix is not necessary for rocko branch.
Hence, we can remove it.
This reverts commit d6eff077c4a3afbe39f8ee1b2ad1a19a716ce31c.
Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
|
|
In Yocto v3.4.0, memory leak occurs when restarting Weston:
| root@salvator-x:~# cat /proc/meminfo | grep Cma
| CmaTotal: 671744 kB
| CmaFree: 629788 kB
| root@salvator-x:~#
| root@salvator-x:~# systemctl restart weston
| root@salvator-x:~#
| root@salvator-x:~# cat /proc/meminfo | grep Cma
| CmaTotal: 671744 kB
| CmaFree: 599404 kB
It will make Weston crash because out of memory if restarting many
times.
This patch is a WORKAROUND to avoid the issue, it restarts dbus depend
on Weston and memory will be released properly.
Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com>
Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
|
|
In rocko, perl packages for host PC have been removed from default SDK,
so this commit adds perl and perl-dev for host PC into Yocto SDK.
Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com>
Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
|
|
This commit makes backporting changes from upstream systemd to fix
timeout dev-ttySN.device by following:
[systemd]
- Set journal RuntimeMaxSize to 64M as default [1]
[systemd-serialgetty]
- Use the default RestartSec [2]
[1] From Poky rev: d41968d8a8bd572b2892762f7092868950465014
[2] From Systemd rev: 4bf04322b8b7ecca4f3d65cfc642d0ac16356129
Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
|
|
This commit modifies recipes to use RENESAS_DATADIR variable
for /usr/local directory instead of hard coding.
This commit comes from AGL patch.
Bug-AGL: SPEC-533
Change-Id: I865ea809c3c59ba136027fc8b99628df20c16275
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
(cherry picked from commit 9598336fa2b4a4237255cdd866350eb7c03fdd81)
|
|
Renesas BSP v3.5.1 (kernel v4.9 stable)
[Environment]
poky: yocto-2.1.2 (cca8dd15c8096626052f6d8d25ff1e9a606104a3)
meta-openembedded: 55c8a76da5dc099a7bc3838495c672140cedb78e
meta-linaro: 2f51d38048599d9878f149d6d15539fb97603f8f
[Information]
- U-boot: Changed load address from H'49000000 to H'50000000
- XDG_RUNTIME_DIR has been changed from "/run/user/root" to "/run/user/0"
- Change location of include directory, which stores common user header
files, to $(INCSHARED)
- In BSP Only, core-image-weston is not supported even though
local-wayland.conf is provided.
- Please set Salvator-x SW7 Pin-1. In after Yocto BSP v2.12.0, it is
 necessary to enable BKUP_TRG signal for Suspend to RAM.
- The dtb filename was changed in R-Car H3. Only
"Image-r8a7795-es1-salvator-x.dtb" is supported in this version.
Please use "Image-r8a7795-es1-salvator-x.dtb" It supports R-Car H3
WS1.0 and WS1.1.
- Please update your local.conf and bblayers.conf corresponding to Yocto
v2.16.0 package. You can refer to meta-rcargen3/docs/sample/conf/ for
updated contents.
- You have to re-compile out-of-recipe software like user application by
v2.16.0 SDK toolchains.
- In some boards, the resuming from System Suspend to RAM may cause
unstable operation or failed to resume.
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
|