summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2024-06-27Add templates for jetson-agx-orin-devkitJan-Simon Moeller1-0/+20
These are first templates for the jetson-agx-orin-devkit board. Community support only. Bug-AGL: SPEC-5176 Change-Id: I6c6762f5e3b08c17037fb377eeccdee9e2b5451f Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30044
2024-06-25s4sk: Add Linux CANFD driverDuy Dang3-0/+1399
Add a patch to support CANFD driver for S4SK. Since CANFD does not work without bus protection unlock program running on G4MH, this feature is disabled by default. To enable this patch, add to local.conf: MACHINE_FEATURES:append = " canfd" Unlock program on TrampolineOS: https://github.com/renesas-rcar/whitebox-sdk/tree/wip/v5.x_CAN_unlock_app Please clone this repo and follow the guideline to build: - Download CC-RH compiler: https://www.renesas.com/us/en/software-tool/c-compiler-package-rh850-family#downloads - Move it to tool directory: $ cp CC-RH_V20500_setup-doc.zip ./whitebox-sdk/tool - Install compiler and tools: $ cd ./whitebox-sdk/tool $ ./setup_wine.sh $ ./setup_csp.sh CC-RH_V20500_setup-doc.zip - Build unlock program: $ cd ./whitebox-sdk/mcu/ $ ./build_trampoline.sh s4sk The output file is: whitebox-sdk/mcu/deploy/g4mh_can_unlock.srec Follow flashing guideline in: https://elinux.org/R-Car/Boards/S4SK#How_to_flash.2Fupdate_the_loader and replace the file dummy_g4mh_case0.srec with the output file. Bug-AGL: SPEC-5175 Change-Id: If43d857e7dbd6abe0fa928894e036ffedba80234 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29988 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-06-11meta-agl-bsp: fix python3-grpcio bbappend locationScott Murray2-0/+0
The dynamically applied python3-grpcio bbappend should be targeted against meta-python instead of meta-oe, move it to make that so. In practice, this was only breaking builds when aglsetup.sh was run without specifying 'agl-demo'; I discovered it during next branch testing. Bug-AGL: SPEC-5171 Change-Id: I0a14d6617ea0028a4f3fabfcfa3d63b55c5ab5eb Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29985 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-06-10meta-agl-bsp: update raspberrypi5 templateScott Murray1-8/+0
Update the raspberrypi5 template .inc file to drop the extra U-Boot enabling configuration, as those tweaks are now available in the new scarthgap branch in meta-raspberrypi. Bug-AGL: SPEC-5164 Change-Id: Ib65d2b722ea6274b32061262d780c80436fac036 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29974 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-24meta-agl-bsp: add bbbappends to fix abseil-cpp RISC-V issueScott Murray4-0/+170
Add dynamically applied abseil-cpp and python3-grpcio bbappends to add backport of the upstream abseil-cpp fix for RISC-V platforms getting SIGILLs. These can be removed when the patches get into upstream meta-oe. Bug-AGL: SPEC-5120 Change-Id: Ib4a918abb3ab57d3ef09dd8729702d0f47d21daa Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29913 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-05-22meta-agl-bsp: fix up raspberrypi5 buildScott Murray2-27/+14
Changes: - Add meta-lts-mixins_u-boot layer to BBLAYERS for raspberrypi5 to get U-Boot v2024.04. - Add required configuration to make the newer U-Boot buildable to the raspberrypi5 machine configuration. The tweaks to re-enable U-Boot were sourced from the commits in this meta-raspberrypi PR: https://github.com/agherzan/meta-raspberrypi/pull/1304 If those get merged our configuration can be simplified. - Add required LICENSE_FLAGS_ACCEPTED tweak to raspberrypi5 machine configuration (copied from raspberrypi4). - Remove obsolete Xen tweaks from the raspberrypi4 and raspberrypi5 machine configurations. Bug-AGL: SPEC-5144 Change-Id: If02e0cc7baada46f4a9db305d3babe5b4a6784ff Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29908 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-05-22meta-agl-bsp: fix up unmatched buildScott Murray2-49/+0
Changes: - Remove U-Boot patch and associated bbappend that were required to build with kirkstone, they are no longer required. - Remove LAYERSERIES_COMPAT tweak that was being done to the meta-sifive layer as it is no longer required. Bug-AGL: SPEC-5145 Change-Id: Id729fe08d8b5e962636bbfa2db9538c40afabda5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29907 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-05-10meta-agl-bsp: refresh mesa virgl patchScott Murray1-5/+7
Refresh the mesa patch applied dynamically when meta-virtualization is being used so it applies cleanly. It is still unknown if the patch is required for the KVM demo, but fixing it up is required to have the IC EG container demos to build. Bug-AGL: SPEC-5123 Change-Id: Ib1c8b623d78ca0453d3418e565dbe86bdc344fb5 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29898 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-05-02meta-agl-bsp: update meta-virtualization bbappendsScott Murray2-0/+0
Rename the meta-virtualization dynamically applied bbappends to handle the newer versions in YP 5.0 / scarthgap. To some degree these changes are placeholders to facilitate building the IC EG container demo images, as the configuration for that pulls in meta-virtualization. The virtio support related changes the bbappends apply here need to be reworked to be actually workable for the KVM demo images and potential downstream users. Bug-AGL: SPEC-5123 Change-Id: I473fa4a64837cedd704f8fb2e7cbd52fa2114d21 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29879 ci-image-build: Jenkins Job builder account Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account
2024-05-02meta-agl-bsp: NXP i.MX6 and i.MX8 fixesScott Murray6-50/+21
These changes should allow the etnaviv GPU driver using NXP i.MX6 and i.MX8 machines (e.g. cubox-i, imx8mq-evk) to build. Testing on hardware is required for the i.MX6, and etnaviv does not seem to be working on the i.MX8MQ-EVK as the previous devicetree tweak being used no longer seems applicable. Further investigation will be done in the near future as time permits. Notable changes: - The i.MX6 configurations have been switched to using the linux-fslc kernel instead of linux-fslc-lts, as the latter is older (6.1 vs 6.6). - The kernel patch against linux-fslc-imx to enable the MHDP driver when using etnaviv has been removed since it is no longer required. - The local workaround to allow enabling the "wayland" PACKAGECONFIG when building weston-imx has been replaced with use of the now provided upstream variable that allows that. Note that building with this version of Weston has not been tested since it is tied to using the Vivante GPU driver. Bug-AGL: SPEC-5122 Change-Id: I75810dd152197f9435158839fad00327ed7e42e7 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29878 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>
2024-04-29Update rcar-gen3 gstreamer workaroundScott Murray2-7/+10
The BBMASKs of the gstreamer bbappends from meta-rcar-gen3 need to actually be in the base agl_rcar-nogfx.inc include file, as otherwise the "nogfx" machine configurations will suffer from the gstreamer plugin build and version mismatch issues. Bug-AGL: SPEC-4578 Change-Id: Ief2624dfdec8df995cea9c9cc3c337eadd172074 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29853 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-04-26Work around rcar-gen3 gstreamer issuesScott Murray4-4/+12
The scarthgap-dev branch of meta-rcar-gen3 has bbappends for the gstreamer1.0-plugins-* and gstreamer1.0-omx recipes that effectively build the Renesas 1.20.3 forks and package them as 1.22.x. This breaks building gstreamer users since there are mismatches between the main gstreamer package contents and the plugins. To fix this for now: - BBMASK out the bbappends - Update our gstreamer1.0-plugins-bad bbappend to enable the KMS plugin to avoid breaking the BSP gstreamer plugins packagegroup. This can be removed once we no longer need to BBMASK the upstream bbappends. - Remove the rcar-gen3 version of our local patch against gstreamer1.0-plugins-bad, as it no longer applies (since rcar-gen3 will be using the upstream version for now). This can be revisited when meta-rcar-gen3 is updated to resolve the mismatch. As a bonus, the now unnecessary network flag overrides we were doing for the gstreamer plugin recipes have been removed, as they are no longer required. Bug-AGL: SPEC-4578 Change-Id: I4e6f1646c93d981744e65dddf6753c3dc005426e Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-04-26meta-agl-bsp: update rcar-gen3 gstreamer bbappendsScott Murray3-0/+0
Update rcar-gen3 gstreamer bbappends for new version in scarthgap. Bug-AGL: SPEC-4578 Change-Id: I7f3e43b85157201457c67d91a32f7a18b44a6050 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2024-04-26meta-agl-bsp: agl_raspberrypi4: document additional license neededDenys Dmytriyenko1-1/+4
linux-firmware-rpidistro now requires acceptance of "synaptics-killswitch" license, document it accordingly. Bug-AGL: SPEC-4578 Change-Id: I2b7ffd3eb26e35b917ad1d0f6589f05010b71c99 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-04-26meta-agl-bsp: meta-raspberrypi: dtc: update bbappendDenys Dmytriyenko1-0/+0
meta-raspberrypi now has new version of dtc, so update bbappend accordingly Bug-AGL: SPEC-4578 Change-Id: Icf771530d0259cf2b3566877f29fe22d53288e79 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-04-26mesa: remove backported virgl patchDenys Dmytriyenko2-50/+0
No need to for the backported patch that is now part of the new Mesa version. Bug-AGL: SPEC-4578 Change-Id: I03cf0fac10d6b6bd4a2eb2fff239ea924916d6b0 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-04-24Add Yocto Project scarthgap release compatibilityScott Murray2-2/+2
Switch to scarthgap in LAYERSERIES_COMPAT in layer.conf files. Bug-AGL: SPEC-4578 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2c690c02a55bb0ddca9231bdf405a5f21486db3f
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>