aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2023-06-12Remove systemd user session and clean up packagegroups and imagesScott Murray1-5/+0
Remove the use of a systemd user session to align with how upstream runs Weston, and to allow using all systemd sandboxing features with the compositor and homescreen, launcher, etc. applications. The changes for this touched enough packagegroups and images that further rework was done to address some of the cleanup described in SPEC-4813, see below for details. Changes: - Remove agl-session and update various recipes that were manually adding dependencies to the user session it created. The compositor (be it weston or agl-compositor) and Wayland clients now run in the system session as non-root users. - Revive agl-users recipe, this time living in meta-agl-core, with the purpose of creating the agl-driver user. For simplicity, agl-compositor is always run as the agl-driver user, as opposed to trying to wrangle running it as different users depending on build configuration. This can potentially be made more configurable if a downstream user has a usecase to be able to specify another user. - Fully split agl-compositor's systemd unit with a tweaked fork of the weston-init recipe and unit which lives in meta-agl-core. This will be easier to maintain than the attempt to reuse weston-init for builds without meta-app-framework that was done previously. - Create packagegroup-agl-graphical-compositor, distinct from the weston packagegroup. This should make it more straightforward for downstreams that want agl-compositor or weston. - Rename agl-image-agl-compositor to agl-image-compositor to remove redundancy. - Tweak the logic for the inclusion of a few debug packages (e.g. agl-shell-activator) to ensure they only show up in images when agl-devel is enabled. - Split weston-terminal and the required icon resources into separate packages in our weston bbappend to avoid pulling in weston just to get the terminal for testing. - Add a agl-core-image.bbclass to use as a base for images. - Move our cross-SDK configuration to a agl-crosssdk.bbclass to ease reuse. - Remove various empty packagegroups. - Unify image .inc files with their .bb files as a simplification, and to move towards more how upstream Yocto Project does things. - Split pipewire tools into their own -devel packagegroup. - Remove rcar3 additions to packagegroup-agl-graphical-multimedia, as that packagegroup is not machine-specific. They will be added back in via a change in meta-agl-demo. If a downstream user desires a platform-specific packagegroup for such packages in meta-agl-core, this can be revisited, though a different implementation should be used. - Replace some :append usage with += to avoid creating problems for downstream users. Bug-AGL: SPEC-4714, SPEC-4813 Change-Id: I55b29bf749f0d5d50993a362c665bce62b785f67 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28996 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-06-05Use new weston-ini-conf scheme and remove old per-machine filesJan-Simon Moeller4-21/+3
The previous commit used an old file. Use the new generated version. Bug-AGL: SPEC-4822 Change-Id: Ic1b7018ce2840332c0e051101ce854b90f96ecae Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28985 Tested-by: Jenkins Job builder account
2023-06-05Fix orientation for dual-hdmi setup on pi4Jan-Simon Moeller2-1/+14
The weston-ini-conf was not ready for dual-screen setup. Fix it. Bug-AGL: SPEC-4822 Change-Id: I75d8810fb9e58aadeceabeadf44ceedff4749d6e Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28984 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-30Fix up i.MX8MQ EVK configurationScott Murray10-76/+75
Changes: - Since linux-fslc-lts does not boot on the EVK at the moment, and both it and linux-fslc still do not have support for the HDMI output, switch back to using linux-fslc-imx with tweaks to use etnaviv as we did pre-kirkstone. - A bbappend has been added for linux-fslc-lts since that was missed in a previous upgrade, and even though we are not using it now, it is possibly useful for other i.MX variants. - A machine template for using the NXP BSP with the Vivante GPU driver, imx8mq-evk-viv, has been restored, as testing shows it now works with the current panel-less homescreens. As before, the intent of this configuration is for testing or as an example of potential production use of meta-freescale where NXP support is available. - Start up of Bluetooth support has been disabled, as it currently causes kernel oopses or panics (both have been seen in testing). This happens with both machine templates. SPEC-4807 has been opened to track this issue. Bug-AGL: SPEC-4799 Change-Id: I38e4e720643714541efb0fed08d5ab64545bb02d Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28925 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-29Remove unnecessary group change at meta-agl-bsp for R-CarNaoto Yamaguchi1-2/+0
Current AGL run each process by agl-driver user, that user need access permission for GPU. The old AGL use display group to accept access for GPU, but current agl-driver user join to video group that is default group for GPU. This patch remove unnecessary group change at meta-agl-bsp for R-Car. Bug-AGL : SPEC-4797 Change-Id: Ife20dea685035b336675304a5c6fc292ed83deb6 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28890 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-09meta-ti-bsp: linux-bb.org: add bbappend to apply AGL config fragmentsDenys Dmytriyenko1-0/+2
Add bbappend to apply AGL kernel config fragments to the new linux-bb.org kernel recipe used in meta-ti-bsp for Beagle platforms now. Bug-AGL: SPEC-4785 Change-Id: I2ca57d4a70b296fd00e72520ada267d96a149a21 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28857 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-05[R-CAR] meta-agl-bsp: correct vspm-if package nameHarunobu Kurokawa3-3/+3
kernel-module-vspmif package name is no longer used. We should correct kernel-module-vspm-if in these files. Bug-AGL: SPEC-4780 Change-Id: I782319295fa0607a97971188a0322398a187b680 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28782 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-05meta-agl-bsp: Use pixman renderer on qemuarm/qemuarm64Hiroyuki Ishii2-0/+6
Using GL-renderer on qemu without any acceleration support such as kvm results pretty much higher cpu consumption. To avoid it, we'll use pixman-renderer on qemuarm and qemuarn64. Bug-AGL: SPEC-4165 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: Iaffe1bd624d6f1c6df9af67e33cc1fa2168293ac Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27066 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03agl_bbe.inc: remove old graphics preferencesDenys Dmytriyenko1-20/+0
Latest TI graphics completely redone its dependencies and preferences to be aligned with upstream and use Mesa packages as proper providers for GBM, EGL, GLES, etc. components. There's no more need for local workarounds to adjust graphics settings. Note: SGX is currently set in meta-ti-bsp to fall back to software rendering and will be fixed later. Rogue in newer K3 devices is fully functioning though. Bug-AGL: SPEC-4723 Change-Id: I072a5e25bdbb444db8e7d4b87a1f181c349240ea Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28744 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03agl_beaglebone.inc: remove old graphics preferencesDenys Dmytriyenko1-21/+0
Latest TI graphics completely redone its dependencies and preferences to be aligned with upstream and use Mesa packages as proper providers for GBM, EGL, GLES, etc. components. There's no more need for local workarounds to adjust graphics settings. Note: SGX is currently set in meta-ti-bsp to fall back to software rendering and will be fixed later. Rogue in newer K3 devices is fully functioning though. Bug-AGL: SPEC-4723 Change-Id: Ifb6f594c6203924aa1b90f421d475b716c61a796 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28743 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2023-05-03meta-ti-bsp: don't apply mesa virgl patch for TI pvr graphicsDenys Dmytriyenko2-0/+2
Latest TI graphics now uses Mesa, but it uses a slightly newer and patched version of Mesa for SGX and Rogue GPUs. Since generic mesa virgl patch from meta-agl-bsp/core already exists in that version of Mesa, need to skip applying it here. Bug-AGL: SPEC-4723 Change-Id: I795e2bf41bea8305be25418de7cc3262aefb3b4a Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28742 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03meta-agl-bsp/core: mesa: generic patches should be y-c-l safeDenys Dmytriyenko2-2/+2
SPEC-4724 added a generic backported patch to mesa. But instead of adding it directly to mesa_%.bbappend, it should have been added to mesa_agl.inc which is only active when "aglcore" feature is enabled, making it yocto-check-layer safe. Bug-AGL: SPEC-4723 Change-Id: I226cba14de917f6e4109d1dc1df364cb74e7ee45 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28741 Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-05-03meta-ti-bsp: ti-sgx-ddk-um: drop systemd service workaroundDenys Dmytriyenko2-37/+0
Latest TI graphics package uses udev rules to initialize the driver and does not install legacy SysVinit rc.pvr script unless udev isn't available. No need for systemd service workaround anymore. Bug-AGL: SPEC-4723 Change-Id: I3ce5d270357578086152d87fb2cf91512691e1a9 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28740 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-05-03meta-ti-bsp: mesa: drop unneeded bbappendDenys Dmytriyenko1-7/+0
Latest TI graphics libraries for SGX and Rogue GPUs no longer include Mesa pieces, but rather build on top of proper Mesa packages (although patched). Remove local bbappend disabling GBM. Bug-AGL: SPEC-4723 Change-Id: I8a4ba82d0e7540d6fe2da7efdcefab7a2dc77c6b Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28739 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-25Convert AGLCI into AGL_FEATUREJan-Simon Moeller1-1/+1
Use AGL_FEATURES instead of DISTRO_FEATURES. Change-Id: I9a866a4b921e2816613784768c60b874da28a16c Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28681 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-04-19meta-agl-bsp: Add overrides to Kingfisher BSP changesScott Murray1-5/+5
As was done in commit 32744858 for the plain h3ulcb/m3ulcb MACHINE configuration, add rcar-gen3 overrides to the Kingfisher variable tweaks to avoid unwanted side effects when building for other MACHINEs when using multiconfigs. This is needed to be able to build the KVM demo image for h3ulcb-kf. Bug-AGL: SPEC-4760 Change-Id: Ie52f0a4a586398875f88e558ef465162c9fdfec1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28655 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-03-31meta-core/recipes-graphics/mesa: Backport a fix from 22.2.5Marius Vlad2-0/+52
This adds 0001-virgl-don-t-a-use-staging-when-a-resources-created-w.patch which is a backport from mesa 22.2.5 as a tentative fix for running on virgl on the x86 platform. This issue seems have been fixed 22.2.4 and 22.2.5, but the original change was initially quite a long time before in 22.0.X and we seem to be using 22.0.3. This also seems to affect Xen when updating it from 4.16 to 4.18. Bug-AGL: SPEC-4724 Change-Id: I255e30d8e513b8f3bbfa720a24c1afcbd40af2c9 Reported-by: Rahul Kumar <Rahul.Kumar1@amd.com> Tested-by: Rahul Kumar <Rahul.Kumar1@amd.com> Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28580 Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-03-30meta-rcar-gen3/recipes-multimedia/gstreamer: Add gstreamer bbappendsMarius Vlad3-0/+3
This would fix fetch build failures with the gstreamer plugins which seems to have been caused by a git to gitsm replacement in the original recipes. Bug-AGL: SPEC-4730 Change-Id: I4b1d700a6645d280b65f3f3202b76208d30061e7 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reported-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28583 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-02-15meta-agl-bsp: Fix rcar3 kernel module bbappends for linux-dummyScott Murray7-21/+35
The usrmerge fixes added to the various rcar3 kernel bbappends turn out to cause issues when using linux-dummy as the kernel as the IC EG system containers do, add the required extra checking to avoid issues. Bug-AGL: SPEC-4703 Change-Id: I7749c9f921791a7c143a7003827939af64997a5c Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28472 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-29meta-agl-bsp: make sure weston user is in display group for rcar3Scott Murray1-0/+4
Add a meta-rcar-gen3 specific weston-init bbappend to add the weston user to the display group. This is preferable to unmasking the bbappend in upstream meta-rcar-gen3, as we do not want any of the other changes it contains (or may contain). This change is a bit of a stopgap required for running weston or agl-compositor as the weston user without the agl-driver user session unit in e.g. the agl-image-weston image or the KVM or IC host images. Future work will try to align the required groups with upstream systemd-udevd expectations. Bug-AGL: SPEC-4618 Change-Id: I22e8aaa095114802242fb1ed150dec2a5055fda9 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit c1b436f4882737ce0b9a95853954d0f4daab2d86) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28419 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-29meta-agl-bsp: make meta-rcar-gen3 BBMASKs more specificScott Murray2-3/+3
Update the BBMASK definitions for the rcar3 platforms in meta-agl-bsp to include the meta-renesas/ component of the path so that they will not mask out any of our files under meta-agl-bsp/meta-rcar-gen3. Bug-AGL: SPEC-4618 Change-Id: I6434f54bb50784c0673b54648165e0c5118f0c7e Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit b5001a4a5abbe8e7944446025dd63be725c491e4) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28418 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-12-30virtualization-layer/recipes-graphics/mesa: Workaround for virglMarius Vlad2-0/+37
This is a just a workaround for the time being, to avoid some graphical artefacts seen only when booting up for the first time the image. Introduced with https://gitlab.freedesktop.org/mesa/mesa/-/commit/6f68cacf619f7f13bc870355709224c1f3e9bbd8. Bug-AGL: SPEC-4651 Change-Id: Ie2ac5d170790293dc5860d5f27f26ee811f4a4b5 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28300 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Jenkins Job builder account
2022-12-08linux-yocto: Rework virtio-aarch64 kernel configurationScott Murray3-1/+14
Changes: - Appending the virtio kernel metadata to SRC_URI in the linux-yocto bbappend was having the side-effect of overriding a lot of the changes from the other AGL configuration fragments. To avoid this, prepend the addition to AGL_KCONFIG_FRAGMENTS instead. - Add the HDA sound driver config fragment for virtio machines to allow using the QEMU emulation. - Add config fragment for the virtio kernel to ensure that CONFIG_DRM and the fbdev emulation are on. - Add config fragment for the virtio kernel to turn on CONFIG_PCI, as there are some peripherals that we may need to expose to guests with it. This and the DRM changes will be rationalized in the metadata repo once it's clear we do need them. Bug-AGL: SPEC-4618 Change-Id: I453b84d9840498772afd01404dd374f5c1d245da Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28191 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-12-08linux: config: move BBE-specific fragment from meta-agl-core to meta-agl-bspDenys Dmytriyenko2-0/+2
Commit d009fa0c42042a0b7d069779852953621e46469b as part of SPEC-4156 added a kernel config fragment to disable CONFIG_RELAY. Since this fragment is only applied to BBE, there's no need for it to reside in meta-agl-core and can be moved to meta-agl-bsp/meta-sancloud. Bug-AGL: SPEC-4156 Change-Id: I5da2632d6eb00bbf99ddb48cef861564d2ce868d Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28203 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-11-23meta-agl-bsp: Add overrides to rcar3 BSP changesScott Murray3-26/+24
The various configuration changes done by the include files for the rcar3 machines in meta-agl-bsp prove problematic when using a rcar3 machine in a multiconfig configuration with different machines in other configs. This can potentially be avoided in the future with a significant rework of the local.conf generation in aglsetup.sh, but for now, too avoid issues, add rcar-gen3 or h3ulcb overrides to the variable changes in those files. That ensures that the changes will only apply to the specific machine being targeted. So far this has only been tested with the h3ulcb, it is likely that more fixes are required for other rcar3 machines, as well as the machines from other BSPs. Bug-AGL: SPEC-4618 Change-Id: Ifa6735337e673a92c56d5457b97d09a5b86cc0e1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28185 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-11-13meta-agl-bsp: Fix rc.pvr.service dependency for meta-rcar-gen3Scott Murray1-0/+7
Undo the out of date tweak of rc.pvr.service to make it a dependency of weston@.service done in meta-rcar-gen3's gles-user-module recipe. For now, just tweak the dependency back to weston.service in our bbappend in meta-agl-bsp, this can be removed when meta-rcar-gen3 includes a fix. Bug-AGL: SPEC-4607 Change-Id: I16ef13d2af9b2ed485ce8b98501f39bf96aba3e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28133 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-10-07Revert "meta-agl-bsp: meta-sancloud: Revert problematic kernel commit"Paul Barker2-49/+0
This reverts commit a12a83ebdfcd4287264e50edf3b11a156f418ae9. The patch is no longer needed as the kernel version used by linux-bbe has been updated. Change-Id: I2ea6fd05b99018517fb2e1f3f03153dfd4ccd0e8 Signed-off-by: Paul Barker <paul.barker@sancloud.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28043 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-09-22virtualization/linux-yocto: Support linux-yocto-dev for VIRTIO.Vasyl Vavrychuk1-0/+10
Bug-AGL: SPEC-4453 Change-Id: Id4dd3c3543dedf15cf09956414f32face685e498 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27881 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-09-22virtualization/linux-yocto: For kernel metadata use git repository instead ↵Vasyl Vavrychuk14-245/+11
of local files. This will allow using branches for supporting multiple kernel versions more easily. Note, that BSP description root file virtio-aarch64-standard.scc has to be kept local withing a recipe. This is needed to add this scc file explicitly to SRC_URI to have AGL VIRTIO patches applied during kernel recipe build. As explained in [1, 2], Yocto kernel metadata is commonly used for two purposes: 1. To construct Yocto kernel git by committing patches listed in scc files. 2. To configure Yocto kernel during Yocto build. When scc file is not explicitly added to SRC_URI, then patch commands will be ignored during Yocto build because it is assumed that patches are already pre-applied during Yocto kernel git tree construction. But, there is not AGL Linux kernel tree, only a repository for AGL kernel metadata (this one). So, patches from this metadata repository have to be applied during kernel recipe build. On the other hand, to ignore patches from YP kernel metadata (which are already pre-applied), standard.scc is included with `nopatch` keyword. [1]: https://www.yoctoproject.org/pipermail/yocto/2019-October/046986.html [2]: https://docs.yoctoproject.org/kernel-dev/maint-appx.html Bug-AGL: SPEC-4452 Change-Id: Idde8e507eb18fa26e6a5b84ab8443576badb58bf Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27878 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-09-07meta-agl-bsp: arm-trusted-firmware: Change the way how ↵Vasyl Vavrychuk2-33/+3
RCAR_BL33_EXECUTION_EL is set to not conflict with other layers. Replace '0001-Boot-Normal-World-in-EL2.patch' which conflicts with: meta-agl-refhw/meta-agl-refhw-gen3/recipes-bsp/arm-trusted-firmware/files/0001-Boot-Normal-World-in-EL2.patch Bug-AGL: SPEC-4532 Change-Id: Ia0291030748e7c7c51c4a706df1994275dffcdf7 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27938 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-08-05[RCAR] Update kernel-module-vspm-if recipice nameRonan Le Martret1-3/+0
* The last update of RCAR BSP has change the recipes name of the recipes kernel-module-vspm-if. meta-agl must be updated too. Bug-AGL: SPEC-4517 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I02f978c2ddca7e5a2d12e25145ea1cfad1be0a25 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27868 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-08-05Revert "meta-rcar-gen3: workaround recipe incompatibilities with YP 4.0.2"Ronan Le Martret5-213/+0
This reverts commit d60a670349027852e93d006114b82a82cff5f27a. Bug-AGL: SPEC-4517 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I2c8cffa37a99cefa80510998aae1920231006090 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27867 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-08-04Add empty for append syntaxChanghyeok Bae2-5/+5
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Change-Id: I3a67f2dca0148be04d96e5261a4bef4030e93fbf Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27852 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-07-29meta-agl-bsp: Pin i.MX platform kernels to 5.15 LTSScott Murray3-2/+10
The recent bump of meta-freescale with the kirkstone 4.0.2 upgrade brought an upgrade to 5.18 in the linux-fslc kernel, which breaks sllin compilation. Tweak the i.MX6 and i.MX8 machine templates to use the 5.15 linux-fslc-lts kernel, which matches linux-yocto in poky and seems a better choice going forward with kirkstone. Bug-AGL: SPEC-4501 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib75d8c844301c5ac902e18d02ff8ac6176f614c7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27842 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-07-13meta-rcar-gen3: workaround recipe incompatibilities with YP 4.0.2Scott Murray5-0/+213
This adds a workaround for the strictly versioned gstreamer bbappends until the BSP gets updated to be compatible with 4.0.2. Bug-AGL: SPEC-4473 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie25b18779ac6fdb3efd9102317955342bd8e58af Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27766 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-07-11bsp: Delete the patch not used any longerZhou Mingying1-58/+0
The patch 0004-ADSP-enable-and-add-sound-hardware-abstraction_kf.patch is no longer used in AGL. So delete this unused patch. Bug-AGL: SPEC-4434 Signed-off-by: Zhou Mingying <zhoumy@fujitsu.com> Change-Id: I8489e24b9430a2769a10b90135add316042a2584 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27747 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2022-07-11Machine cleanup for Nifty NeedlefishScott Murray9-81/+0
Remove machine templates and associated files for: - hsdk - dragonboard-410c - dragonboard-820c - nitrogen6x Bug-AGL: SPEC-4402 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7ff2665fe5ceef55454905d57e7793d5fcf0ef8a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27701 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-07-07[RCAR] Fixed the unrecomennd operator usageHarunobu Kurokawa1-1/+1
This commit would remove WANING for kernel-module-vspmif RPROVIDES:${PN}:remove += is not a recommended operator combination, please replace it. Bug-AGL: SPEC-4436 Change-Id: I1e2d736fc9450766ddff9a0abb0ba87c15d8fd3d Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27702 Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-06-17[RCAR] Fix video stream for user "agl-driver"Ronan Le Martret4-0/+45
* Remove RPROVIDES:${PN} "kernel-module-vspm-if" in kernel-module-vspmif recipes. kernel-module-vspmif should not provide "kernel-module-vspm-if". "kernel-module-vspm-if" is a separate package with module rules. * Add udev rules for /dev files: uvcs_drv, vspm_if, mmngr, mmngrbuf Bug-AGL: SPEC-4436 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I44a0665d6576cdcc9dbbfe5401de3dc9bc281473 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27635 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-26agl_m3-salvator-x-nogfx.inc:duerpei1-0/+11
Masking out the weston_%.bbappend In patch 27430, may have forgotten to modify this file. Bug-AGL: SPEC-4389 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I9b451f236613c7e9efba158713723051b10b489b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27502 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-26virtio: Enable virtio-scmi and IIO SCMI drivers.Vasyl Vavrychuk6-0/+178
VIRTIO-SCMI device implements the Arm System Control and Management Interface (SCMI) [1]. This VIRTIO device is part of "Virtual I/O Device (VIRTIO) Version 1.2" specification [2]. The SCMI can be used for sensors, power state management, clock management and performance management among other things. Enable IIO-SCMI driver that works on top of VIRTIO-SCMI and supports SCMI sensors. [1]: https://developer.arm.com/Architectures/System%20Control%20and%20Management%20Interface [2]: https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html Bug-AGL: SPEC-3865, SPEC-4365 Change-Id: Iaf2092d869d938d0b45029038d8eea36110d7e3e Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27473 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-16Replace "/etc" with "${sysconfidir}"duerpei1-2/+2
make them more standardized Bug-AGL: SPEC-4374 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: Ie11168254ab76acd11382b33501fb4881710a5bf Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27479 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-10meta-agl-bsp: update virtio-aarch64Scott Murray15-4285/+2
Updates to get the virtio-aarch64 machine building after the upgrade to Yocto Project 4.0 / kirkstone: - Switch to the 5.15 linux-yocto kernel and drop the local backport of the 5.10 recipe. - Fix override syntax in the machine-specific linux-yocto bbappend. - Remove all the patches applied for the virtio and virtio-snd configuration fragments, they seem to have all been applied upstream. Bug-AGL: SPEC-4356 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I96d4bb9b04d74280d1a3767fe17284fe6049fcba Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27465 Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-05-06Enable usrmergeScott Murray8-1/+87
An increasing number of advanced systemd features with respect to immutable systems and sandboxing are effectively dependent on the usrmerge distro feature, so it seems reasonable to enable it since upstream AGL currently requires systemd usage. See SPEC-4352 for more detailed discussion of rationale. Changes: - Add usrmerge to AGL_DEFAULT_DISTRO_FEATURES in poky-agl.conf. - Add workarounds via bbappends in meta-agl-bsp for the assumption of using /lib instead of ${nonarch_base_libdir} in various meta-rcar-gen3 kernel module recipes. This will be followed up with upstream to hopefully fix the recipes. - Replaced some explicit /sbin usage with ${sbindir} in the initramfs-netboot recipe used by the agl-netboot feature to avoid packaging errors. Bug-AGL: SPEC-4352 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibc0ae1e2628aca6474401e0852bbb97085f4ecfa Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27437 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-05-03meta-agl-bsp: add fix for intermittent failures in arm-trusted-firmwareScott Murray1-0/+6
Add a work around in the arm-trusted-firmware bbappend for meta-rcar-gen3 to fix intermittent failures due to a bug in the upstream recipe where it is dependent on something else happening to have run first and creating DEPLOY_DIR_IMAGE. Bug-AGL: SPEC-4343 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibe43bdb0cf1b525e30ada758e12b687f5dda0d3f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27431 ci-image-build: Jenkins Job builder account Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-03meta-agl-bsp: fix building weston for rcar3 nogfx machinesScott Murray3-7/+34
Work around use of obsolete Weston backend-fbdev in meta-rcar-gen3 when building without the proprietary driver stack. Masking out the weston_%.bbappend seems the simplest approach for now, as forcing USE_GLES = "1" to disable the adding of -Dbackend-default="fbdev" to EXTRA_OEMESON triggers adding "libgbm" to DEPENDS, which breaks due to that being a component specific to the proprietary stack we are explicitly disabling. If the "libgbm" usage in the bbappend was instead "virtual/libgbm" as is now used in poky, it might be possible to just tweak PREFERRED_PROVIDER_virtual/libgbm = "mesa". Bug-AGL: SPEC-4343 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I603a9c4744befb97513808714cedd3e21664525f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27430 ci-image-build: Jenkins Job builder account Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-03meta-agl-bsp: fix rcar3 packaging errorsScott Murray1-0/+10
Provide a default value of PACKAGE_ARCH for the packagegroup packagegroup-multimedia-libs from meta-rcar-gen3 to avoids errors from a new packaging QA check with respect to packagegroups depending on versioned library packages needing to be machine-specific. Note that this needs to be done in global configuration space as opposed to in a bbappend because the value needs to be set before the packagegroup bbclass is inherited. This can be removed when upstream is fixed to add the required PACKAGE_ARCH = "${MACHINE_ARCH}". Bug-AGL: SPEC-4343 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I60dc1fbb976c7e08b174017268949dc43d6d17fe Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27429 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-03meta-agl-bsp: avoid meta-gnome dependency from meta-rcar-gen3Scott Murray1-0/+3
The kirkstone-dev_3.5_M3_v5.9.0 branch of meta-renesas contains a new bbappend for cogl which requires meta-gnome. Since nothing in the BSP layer itself depends on cogl, and there is currently no obvious usecase for cogl outside of GNOME desktop related libraries, BBMASK out the bbappend so we do not need to pull in meta-gnome. This can be revisited if an AGL member presents a need for cogl on rcar3 in their downstream use of AGL. Ideally, upstream will move the bbappend to a dynamic layer directory to remove the issue. Bug-AGL: SPEC-4343 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6e55c07d1ff1fd7d68d1798ecca3c9c1b35cdf14 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27428 Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-03[RCAR] Fix IMAGE_INSTALL command syntaxRonan Le Martret2-2/+2
Bug-AGL: SPEC-4343 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I5de57cdc2ba0fbc0692f0a4c3a8d7a1c5aa6a3ec Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27427 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-05-03[RCAR] Fix LICENSE name and checksumRonan Le Martret1-2/+2
Bug-AGL: SPEC-4343 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I867c25e7a8ee1fd43e07d0e72ab3d35d5289471e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27426 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>