summaryrefslogtreecommitdiffstats
path: root/meta-agl-lxc/dynamic-layers/meta-rcar-gen3
AgeCommit message (Collapse)AuthorFilesLines
2022-06-09Fix firmware path at gles-user-moduleNaoto Yamaguchi1-1/+1
At commit 4f5cf5dc8de803407fa9d3ffa13994309edde985 in meta-agl change firmware installation path /lib/firmware to ${nonarch_base_libdir}/firmware. The gles-user-module.bbappend of meta-agl-lxc has divided firmware only package from library packages. This patch fix firmware installation path in file lists, that is firmware only package. Bug-AGL : SPEC-4394 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I638885b97db50aa8beac2f2df31ab6d52e44c831
2022-06-09Workaround for boot time crash issue in ivi-demo guestNaoto Yamaguchi1-1/+1
After the multi connector support patch, weston crash in boot time in ivi-demo guest. It depend on drm-lease-manager multi connector support and weston with ivi-shell. But that detail doesn't clear now. This patch is workaround for this issue. Bug-AGL : SPEC-4372 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I08e0a19f65eaa3c9e021f409c7df880ccb374038
2022-06-09Change weston setting to connect to the drm-lease-manager.Naoto Yamaguchi2-2/+2
Previously, weston.service is using environment specific setting, it propagated from bind mounted host side config file. . This patch remove this propagation. After this patch, these setting bring to lxc config files. Bug-AGL: SPEC-4370 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I4f73a8ca08e149a82648ac5fcdf647c97edc2429
2022-06-09Create drm lease configuration for AGL IC container integration in R-Car H3 ↵Naoto Yamaguchi2-0/+9
and M3 environment The drm-lease-manager improved multi connector support in one lease. A meta-drm-lease layer has example config for generic use case only. This patch add drm lease config for AGL IC integrations. Currently rpi4 and qemu support is under working, this patch support only a R-Car H3 and M3 environment. Bug-AGL: SPEC-4370 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I25113be28a541adc073637caf9180810eedd7ea9
2022-06-09Fix a recipe issue cased by yocto updateNaoto Yamaguchi2-0/+0
After the yocto update to kirkstone, meta-agl-lxc caused some recipe issue. Some r-car bsp modification recipe has mismatch to new version. Container config recipe has md5 hash mismatch with common license. Fix path from /lib/systemd/ to ${D}/${systemd_unitdir}/. This patch fix these issue. Bug-AGL : SPEC-4394 Change-Id: Ibf40f74f028b59dcd59431916eeaeac4f4c56e16 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2022-04-11Fix remaining use of old override syntaxScott Murray1-1/+1
Some usage of the old override syntax crept back in with recent commits, fix those so that building with kirkstone is feasible. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2293a2ad463c52022e2f3f052719dca59b404d6b
2022-02-26Revert "Workaround for booting time crash in R-CarH3SK wth Kingfisher board"Naoto Yamaguchi2-64/+0
This reverts commit 59de37c489c605103b90924dbfa2c42b8eeda7d8. This patch is workaround for kernel-module-gles in BSP5.5. In BSP 5.9, this issue was resolved. GL-Bug : SPEC-4269 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I8b4f0ea675a8d296d0489c0d5837be25173117fe
2022-02-12Input device support in ivi-demo guestNaoto Yamaguchi1-0/+5
When weston is running in guset, it can't find input device. It cause by udev data dependency for libinput. IC EG member investigate some input support plan now, but it require to long way. This patch is workaround for next release to support input device in ivi-demo guest. That based on CES2020 demo method. Bug-AGL: SPEC-4136 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I622a53add8441374d3c3be6e905f46ee56d51dad
2021-12-06agl-lxc: rcar-gen3: Support agl-refhw-h3 in lxc demoHiroyuki Ishii3-5/+9
Added tentative mechanism for determining multi-display support and added agl-refhw-h3 into that multi-display group as same as kingfisher. After this change two demo containers (cluster and ivi) can be boot automatically on agl-refhw-h3 board by running lxc-host-image-demo. BUG-AGL: SPEC-4155 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: I3372a998ea7a073b10160831e969c949045ce6c2
2021-12-04Workaround for booting time crash in R-CarH3SK wth Kingfisher boardNaoto Yamaguchi2-0/+64
When I run AGL Instrument Cluster with IVI in R-CarH3SK wth Kingfisher board, it's frequently crash at booting time. RGX driver has race condition issue at firmware download time. This issue occur in multi compositor environment such as IC container integration. This issue will fix by renesas in next BSP update time, may be. This patch enable workaround for this race condition issue. AGL-Bug : SPEC-4164 Change-Id: I5ca3affdfd681fd08391805ee765b3252afe190f Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2021-11-22Improvement flexibility for lxc-configNaoto Yamaguchi5-0/+38
Existing lxc config creation recipe is supporting two type string replacing. The network interface setting has required to multi line replacing at aec683913cd645fcf18d7633a12a7b4b42215f69. These flexibility will support by container manager that is under developing. But we need quick solution for that now. This patch provide quick solution. This patch support any network interface usage in guest. Bug-AGL: SPEC-4132 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I5da97492610124ddfe050660e0cc2c2c5559d5b9
2021-11-17Add automatic start support for IVI guest.Naoto Yamaguchi2-0/+4
Currently IVI guest doesn't start automatically. IVI guest shall not start in single display environment. IVI guest shall start in dual display environment such as kingfisher. This patch add automatic start support for IVI guest in dual display environment. Bug-AGL : SPEC-4135 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Idcb8c7961f7d2e7f4bf77f1fb81065d16ed124a2
2021-11-16Create new image for ivi container demoNaoto Yamaguchi2-0/+4
AGL IC integration will have two guests, one of the cluster demo, one of the simple ivi demo. This patch add initial support for ivi container for demo. Bug-AGL: SPEC-4099 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I4a1da6e30aee99e8ce2e2c404da78a413c647fd2
2021-11-16Change cluster display from HDMI-A-1 to HDMI-A-2 in r-car gen3 with kfNaoto Yamaguchi1-0/+2
AGL IC integration use two display, one of the ivi, one of the cluster in R-Car H3/M3 with Kingfisher environment. This patch change cluster display from HDMI-A-1 to HDMI-A-2 only a R-Car H3/M3 with Kingfisher environment. Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Idf1db5daba668e62a05bc7795da2e9d4a3e7e7cf
2021-11-10Divide firmware from gles-user-moduleNaoto Yamaguchi2-0/+22
The powervr firmware is including in gles-user-module in R-Car Gen3. Typical container integration, gles-user-module only to installing in guest, powervr kernel module only to installing in host. In this case, powerver firemware is only to installing in guest, but it is required by powervr kernel module. This patch divide powervr firmware from gles-user-module, creating new package gles-user-module-firmware. In addition, this patch add runtime dependency of that firmware package to powervr kernel module. Bug-AGL: SPEC-4130 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ie8751bd618d076c9617870c367dacb3a9fdf1e7b
2021-11-09Fix the lxc-host-image-demo build error with R-Car BSP 5.5Naoto Yamaguchi1-0/+4
The lxc-host-image-demo can't build after BSP 5.5 merged. Error message as a follow: ERROR: Nothing PROVIDES 'linux-renesas' (but mc:agl-container-guest: /../gstreamer1.0-plugins-bad_1.16.3.bb DEPENDS on or otherwise requires it) linux-renesas was skipped: Set PREFERRED_PROVIDER_virtual/kernel to linux-renesas to enable it Missing or unbuildable dependency chain was: ['cluster-refgui', 'qtmultimedia', 'gstreamer1.0-plugins-bad', 'linux-renesas'] ERROR: Required build target 'guest-image-cluster-demo' has no buildable providers. Missing or unbuildable dependency chain was: ['guest-image-cluster-demo', 'cluster-refgui', 'qtmultimedia', 'gstreamer1.0-plugins-bad', 'linux-renesas'] This patch fix this build error. Bug-AGL: SPEC-4129 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I0284a70aa38f855eb21e83e8c91e2df5a36cd7ef
2021-10-26meta-agl-lxc: Support rcar3 kernel module headers in guestsScott Murray6-0/+42
Add a bbclass that can be used to disable compilation in module.bbclass based recipes, and dynamically activated bbappends for the rcar3 kernel module recipes that use it and guest-build-specific do_install overrides to get the userspace API headers installed transparently to the userspace recipes. This avoids the complications that would arise from using a full linux-renesas kernel build for guest container images. Bug-AGL: SPEC-4089 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I917e66ca024a2a507e615ba3a2a58c603a691142
2021-08-20Convert to new override syntaxScott Murray2-2/+2
This is mostly the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. A few minor fixups were done by hand afterwards during a review of the changes. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0bbae97331abee1367b368ce54ab39e3162a12ec
2021-06-29meta-agl-lxc: Update host kernel configurationmarlin_12.90.0marlin/12.90.012.90.0Scott Murray1-8/+0
Add a generic kernel bbappend and associated conditional include file that uses the new AGL_KCONFIG_FRAGMENTS to disable all other AGL provided kernel configuration, replacing it with a local fragment to enable minimal required features for LXC support. The previous linux-renesas bbappend to leverage the meta-virtualization provided kernel configuration has been removed, and the agl-lxc template has been updated to drop the "virtualization" distro feature (thus disabling all meta-virtualization additions). Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iea91c3e273fe01d764adb644efc212f92e4a92fe
2021-06-14meta-agl-lxc: add initial rcar3 supportScott Murray3-0/+13
Note that these changes do allow building and booting the lxc-host-image-demo image, and the cluster-demo container does get autostarted, but currently Weston fails to start in the container. Changes: - Add a meta-rcar-gen3 dynamic layer with some bbappends to disable problematic kernel module dependencies when building for the container guest configuration. The ones used are based on the ones in the IC EG container-bsp github repo, but fewer are needed due to the use of linux-dummy, and the changes are done via aglcontainerguest overrides. - Add linux-renesas bbappend that disables the problematic default addition of virtio.scc to KERNEL_FEATURES done in the meta-virtualization layer, which currently is dependent on the file coming from the linux-yocto kernel metadata, which is not the case with linux-renesas. Upstream have been engaged on this being a problem, so this may not be required in the future. - Add lxc.scc to KERNEL_FEATURES in linux-renesas bbappend to leverage the .cfg from meta-virtualization. - Borrow a couple of tweaks from the IC EG container-bsp github repo to disable firmware and disable the serial consoles in the container guest build. Bug-AGL: SPEC-3953 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I30fe6a940c5c44ee2ad71410a97a4495829c0b45