summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2024-03-26Initial support for TI AM62XX EVMSaalim Quadri1-0/+8
This adds templates to build for the TI AM62XX platform. Bug-AGL: SPEC-5103 Change-Id: Ica467a7ca464da87c5a50a54b6cd1f1f86c50d98 Signed-off-by: Saalim Quadri <danascape@gmail.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29782 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2024-03-25Fix template for s4 and adapt kernel recipeJan-Simon Moeller1-0/+11
The template needs meta-python present and the kernel recipe does try to install a firmware file that is not packaged. Remove that. Bug-AGL: SPEC-5101 Change-Id: I3fdb860df04ee90e3e3b30875ea4f9494b15dbf0 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29744 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-03-11Add RaspberryPi 5 platform templateDenys Dmytriyenko1-0/+34
This adds templates to build for the RaspberryPi 5 platform. Note that meta-raspberrypi doesn't yet have U-boot updates for the platform, will be added later. Bug-AGL: SPEC-5094 Change-Id: Idede92ca5d9b678ee2f9ea0869e64da04dd719ea Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29735 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
2024-03-07meta-agl-bsp: linux-raspberrypi: update local patchDenys Dmytriyenko1-3/+3
Update local patch that fixes menuconfig to apply against updated linux-raspberrypi kernel version. Bug-AGL: SPEC-5069 Change-Id: I341859acb4b77aff5ebce88da66089ac6263789f Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29719 ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2024-02-21meta-agl-bsp: Rework gpsd configurationScott Murray3-29/+18
To remove the use of a "virtual/" prefixed RPROVIDES as part of futureproofing for YP 5.0 / Scarthgap, rework the machine-specific gpsd configuration scheme to based on the gpsd-machine-conf recipe that is intended for this upstream. Bug-AGL: SPEC-5067 Change-Id: Ie7fda1e936982e7d43bb0af6ee4e90ab4dae9477 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29688 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2024-02-15unmatched: add firmware files for radeon graphicsJan-Simon Moeller1-0/+4
The firmware files enable the amd graphics cards. Bug-AGL: SPEC-5074 Change-Id: I283e013b5f4951a26475083026b4b5425ee1132a Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29678 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-12-18Enhance DEFAULTTUNE mechanismJan-Simon Moeller3-3/+3
This commit enhances the way we select the DEFAULTTUNE. DEFAULTTUNE in AGL is meant to be set to either corei7-64 for x86-64 aarch64 for 64bit ARM armv7vethf-neon-vfpv4 for 32bit ARM (where applicable) The reason is that we do want to work towards a binary distro and also maximize sstate reuse between platforms. Each and every board having different settings is counter-productive here. The original setting was done in SPEC-491. See this presentation: https://docs.google.com/presentation/d/1_VSGfheItufCCP_rbGBDg3-2miCyh02-yZva6m8cyUE The enhancement is that we introduce a variable 'AGL_DEFAULTTUNE' that a user could override if he really needs to change the defaults. Also we introduce OVERRIDES to help support this mechanism (agldefaulttune, forcedefaulttune). Bug-AGL: SPEC-491 Bug-AGL: SPEC-5014 Bug-AGL: SPEC-5016 Change-Id: Ia8270b6195116151c27d8da427f0456f38ac95b6 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29541 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-12-15bsp: meta-ti-bsp: correct PR for mesa-pvrDenys Dmytriyenko1-0/+1
Reset PR that is being set in meta-ti-bsp, which uses '-' symbol not accepted by rpm: | error: line 4: Illegal char '-' (0x2d) in: Release: sgxrgx-54fd9d7dea098b6f11c2a244b0c6763dc8c5690c.1 Bug-AGL: SPEC-4941 Change-Id: Id28d4a8bf06269b90965dda30d6587a1b877989e Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29524 Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-12-15bsp: meta-ti-bsp: drop local toolchain patchDenys Dmytriyenko2-35/+0
Local patch to recognize AGL toolchain when building meta-ti SGX module is no longer required. Bug-AGL: SPEC-4941 Change-Id: Ic5870a75a75d2f8a649b14044cb6b5c99c1e549c Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29523 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2023-12-15Add BeaglePlay templateDenys Dmytriyenko1-0/+6
This adds templates to build for the BeagleBoard.org BeaglePlay platform, which is based on Texas Instruments AM625x SoC. https://www.beagleboard.org/boards/beagleplay https://www.ti.com/product/AM625 Bug-AGL: SPEC-4941 Change-Id: I21130e2b8f719f227f5c33045b7e5a3728247bfc Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29522 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account
2023-12-15bsp: beaglebone-ai64: move deploy dir back into main TMPDIRDenys Dmytriyenko1-0/+2
Now that TMPDIRs are separated for meta-ti multiconfigs[1], move deploy dir back into the main TMPDIR, where AGL CI expects the artifacts. [1] https://git.yoctoproject.org/meta-ti/commit/?h=kirkstone&id=d725334e9c010ca9ea139d9089f0bcfa593cd106 Bug-AGL: SPEC-4941 Change-Id: Ia627b4c9e561099b069a4bf43511f7084815d31c Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29521 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>
2023-12-15bsp: beaglebone-ai64: drop fix for LIC_FILES_CHKSUMDenys Dmytriyenko1-3/+0
No need to adjust LIC_FILES_CHKSUM anymore after this fix: https://git.yoctoproject.org/meta-ti/commit/?h=kirkstone&id=523a1e604d7dc94996573d0242187e5b6395b704 Bug-AGL: SPEC-4941 Change-Id: I2df3a234ac8058ebbb5f28d2a036341b85fe9c0e Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29520 Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-22Remove remaining "display" group usageScott Murray3-8/+4
Update the meta-rcar-gen3 driver specific bbappends to use the "video" group instead of "display", and remove the weston-init bbappend that was adding the "display" group when using it with weston. The group is no longer used in meta-rcar-gen3 or in any of the AGL layers since the rework done for SPEC-4714; these uses were missed at that time, and were causing permission issues with the PVR driver initialization scripts. Bug-AGL: SPEC-4979 Change-Id: I2efc8ea6e83b86e59def8a8333c8cc3064f8a7dd Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29456 ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2023-11-03Add BeagleBone AI-64 templateDenys Dmytriyenko1-0/+7
This adds templates to build for the BeagleBoard.org BeagleBone AI-64 platform, which is based on Texas Instruments J721e (TDA4VM) SoC. https://www.beagleboard.org/boards/beaglebone-ai-64 https://www.ti.com/document-viewer/TDA4VM/datasheet/ Bug-AGL: SPEC-4941 Change-Id: Ie32a93178697907b6a71272af0bd3b1f453e1640 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29351 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-11-03Fixup folder change in meta-ti-bspJan-Simon Moeller3-0/+12
Meta-ti-bsp breaks expectations of the output folder in its layer.conf Enforce the usual folder structure. Bug-AGL: SPEC-4957 Change-Id: Ie887e83015dcb9be609289442840b131cbad1b32 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29379
2023-10-03meta-agl: sifive unmatched: add radeon drivers for gfxJan-Simon Moeller2-0/+25
Add the amd / radeon drivers for pci-e gfx support. Bug-AGL: SPEC-4909 Change-Id: I91e17f378a84dd7ab767495352c289e4e6ba3fa6 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29252 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-27Add templates for Sifive unmatched boardJan-Simon Moeller3-0/+49
This adds the templates to build for the sifive-unmatched board. Currently we have to tweak the layer.conf to enable kirkstone to build. v2: Simplify addition and add patch to agl-compositor for -latomic v2: rename template to just the boardname to match all other boards v3: Drop patch and use LDFLAGS:append:riscv64 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" Bug-AGL: SPEC-4909 Change-Id: I6b6fd9e7f316c66c5a9160318c64028faf8f5dea Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29234 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-09-25Adding s4sk supportLoc Nguyen1-0/+9
supporting agl-image-minimal and agl-telematics-demo-platform Bug-AGL: SPEC-4907 Change-Id: Ibc0ae906de5ceb6bb2f945b1c505bd37ff3bfb1d Signed-off-by: Loc Nguyen <loc.nguyen.wt@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29219 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: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-09-05Restructure Salvator-x .inc filesHau Vo6-41/+27
This commit restructure the .inc files relate to H3/M3 Salvator-x boards. Bug-AGL: SPEC-4808 Signed-off-by: Hau Vo <hau.vo.ra@renesas.com> Change-Id: I9e01f61f75010c1cbf54feec30422855b43cf051 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29175 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.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-07-18meta-agl-bsp: remove now unnecessary workaroundsScott Murray8-129/+0
Remove our usrmerge workarounds since meta-rcar-gen3 now has been fixed. Also remove now unnecessary workarounds for the "display" user and weston systemd unit naming. Bug-AGL: SPEC-4854 Change-Id: Ieaebb24385f9d75eaad012043993dcfc733aa01a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29043 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
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>