summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2024-04-23Also apply adaptations for BSPs to -nofgx variants and extend bbeJan-Simon Moeller2-0/+8
These changes are required for the next set of BSP updates. Bug-AGL: SPEC-5097 Change-Id: I15100512b2ef5dc2f787f71c46d7897c2ba22c0b Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29843
2024-04-22Adaptations for BSP updatesJan-Simon Moeller2-0/+15
These changes are required for the next set of BSP updates. Bug-AGL: SPEC-5097 Change-Id: I907a2e8f9dd4503175e470da41acda79fb5166c7 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29840
2024-04-22meta-agl-bsp/meta-ti: update ti-sgx-ddk-km patch prior to BSP uprevJan-Simon Moeller1-2/+2
The patch needs an uplift for the never version of the BSP. Bug-AGL: SPEC-5097 Change-Id: Ice29799be8562aee0079e3e8e1a386622b927d3b Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29839
2024-03-27meta-agl/meta-agl-bsp: meta-oe: fix for libbytesize SRC_URIJan-Simon Moeller1-0/+2
The SRC_URI of libbytesize in meta-oe needs to be updated to the new location. Also the branch changed from master to main. Bug-AGL: SPEC-5097 Change-Id: I78bc636ea6e735850ab3695c2a037491a6bf35c4 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29783 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2022-02-24meta-agl-bsp: BBMASK out rcar3 base-files and systemd modificationsScott Murray1-0/+4
To avoid breaking changes to systemd-tmpfiles' default behavior, disable the base-files and systemd bbappends in meta-rcar-gen3 with BBMASK. The changes in the BSP seem aimed at fixing an issue with a particular NFS root configuration that does not apply to upstream AGL, and break the documented expected behavior of systemd-tmpfiles with respect to configuring files/directories under /var/volatile. Additionally, this potentially improves shared state reuse across aarch64 machine builds. Bug-AGL: SPEC-4256 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I03807d2190a963f8cdf303d07f00fc1c099d230e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27200 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit 49d3bdfdc0be53b5a857159a57073a7382b8453c) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27179
2022-02-17[RCAR] Update RCAR BSP to 5.9.0Ronan Le Martret2-17/+18
Update driver for the new RCAR BSP v5.9.0 From files: R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20220121.zip R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20220121.zip From URL: https://www.renesas.com/us/en/products/automotive-products/automotive-system-chips-socs/r-car-h3-m3-documents-software Bug-AGL: SPEC-4234 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I570347da7d667cdf1cbd83eaf08cabbbaf97af7e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27163 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-02-15[RCAR] Fix block device performance decreasedRonan Le Martret2-0/+3
* After the RCAR BSP 5.5.O, the block device performance decreased. The root cause is a change in the default kernel configuration of the BSP (CPU Frequency scaling) from (RCAR BSP 4.7.0): CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y \# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set To its new default (RCAR BSP 5.5.0) \# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y You can check current value at runtime using: cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor cat /sys/devices/system/cpu/cpufreq/policy4/scaling_governor To mediate the regression we do switch back to the PERFORMANCE governor. Bug-AGL: SPEC-4205 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I6d19d92dae9dd8c7977e2034215fce07d8318773 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27108 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account (cherry picked from commit d32ed899583ab14e6442f76dd1c78695f9c0ec33) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27177 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-11-20Convert to new override syntaxScott Murray87-275/+276
This is effectively a manual cherry-pick and squash of commits: dd6fc5dcaa0a027b7651bb365d5dd0f623498f8f 917a82316bf53ead29d6345a39189d9e4efeef25 20e81c0a9d36660de671dd5ac2e006e31c0e621b from the master branch with additional review and fixups. The intent of these changes is to minimize the effort to backport fixes from the master branch, which has been updated in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4144 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I91c1640c6335d7748a2531d2fe8bf86d2d2aee32 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26876 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>
2021-11-16meta-agl-bsp: reference hardware updates for BSP v5.5.0Scott Murray1-3/+3
Update the AGL reference hardware devicetree and U-Boot configuration names to work with the Renesas BSP v5.5.0 update and related meta-agl-refhw changes. Bug-AGL: SPEC-4103 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit fe29f1717f6ee309273507724c488a6b5fbb5598) Change-Id: I94db9390c2ec3d2b0cd9b1c0167570d813f2bae3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26867 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>
2021-11-09[RCAR] Fix HDMI display connector exchangingRonan Le Martret1-32/+32
This patch always keeps SK's HDMI to HDMI-A-1 when using KF. Normally, when using KF, HDMI-A-2 is assigned to SK's HDMI. It is a patch that avoids SK's HDMI becoming 2nd HDMI, and it is a commit that corrects the code for BSP v5.5.0. Bug-AGL: SPEC-4123 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I68351317861fdeb4668ff5bbae420f6cfa24a3a3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26826 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-11-09[RCAR] Add missing dependency on waylandRonan Le Martret1-0/+2
* Previous RCAR BSP provides lib /usr/lib/libpvrWAYLAND_WSEGL.so inside package gles-user-module. Now libpvrWAYLAND_WSEGL.so is in an independent package name wayland-wsegl. Bug-AGL: SPEC-4081 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I6bb80d44fd26d25aca860976575d45e65688b6cd Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26824 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-11-09[RCAR] Add missing build dependency for wayland-wseglRonan Le Martret1-0/+1
Bug-AGL: SPEC-4081 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ia724303015235fd03fe633125ef79cd3eaef9739 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26823 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-11-09[RCAR] Update RCAR BSP recipes to 5.5.0 versionRonan Le Martret14-58/+166
* rename the dts/dtsi file, the new BSP 5.5.0 change the file name of the dts file. * update the driver files hash * Add "meta-yocto-bsp" to BBLAYERS, it's new dependency of meta-renesas. Bug-AGL: SPEC-4081 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I3d8edb2d924e43dabd16466fd68015b5be1a40d2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26822 Tested-by: Jenkins Job builder account Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-11-09[RCAR] Fix kernel-module-gles buildRonan Le Martret1-1/+1
* In the new RCAR BSP 5.5 one file missing from prevous BSP, this file was only a kind of a link. This patch just fix this missing file. Bug-AGL: SPEC-4081 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ia4cdf794b16aff8e12a64fcccfecce85336619e7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26821 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-11-04meta-agl-bsp: remove old Raspberry Pi U-Boot recipeScott Murray3-7/+0
Newer U-Boot recipes were added to pick up the 4B support, remove the older ones since they are no longer used. Bug-AGL: SPEC-4072 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iedc9b7ec189316319296d2a23c0293559e83566c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26778 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> (cherry picked from commit 54a20427a2c553165ce9a8393aeda218e7aa310e) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26803
2021-11-04Update github.com git:// SRC_URIsScott Murray5-5/+5
GitHub is dropping unauthenticated git protocol access in January 2022, per: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git While a workaround in the BitBake git fetcher is forthcoming, not specifying protocol=https for github.com git:// SRC_URIs will start resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade path, go ahead and update our affected SRC_URIs. Note that this has been done by running the scripts/contrib/convert-srcuri.py script from latest poky, which also makes git branch specification explicit since the git fetcher is likely to require that in the future due to widespread switches from master to main branches. Bug-AGL: SPEC-4126 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1b5003a79de5283f88bb51f2decadbabeaff8ed5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26779 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> (cherry picked from commit abc4742a714cfc60a868c0912432a6f59fd41b77) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26800
2021-09-22raspberrypi: Upgrade to u-boot v2021.07 for latest 4B boardsHiroyuki Ishii4-2/+9
The latest revision (1.4) of raspberry pi 4B board can't be boot by using current version of u-boot with showing "No partition table" message. This can be related to the change of DMA hardware on the new SoC (2711ZPKFSB06C0T) and we've confirmed upgrading u-boot to newer version than 2021.04 which has several fixes around Broadcom's DMA solves the issue. Also, we'd like to choice 2021.07 rather than 2021.04 since it's going to be supported for longer in yocto project. Bug-AGL: SPEC-4072 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I0f396611cb76230dd91c6d42b9f2a7cfb92909df Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26664 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>
2021-09-16meta-agl-bsp: Add reference hardware WLAN card supportScott Murray1-0/+7
Add the required firmware for the reference hardware WLAN card to MACHINE_EXTRA_RRECOMMENDS in the agl-refhw-h3 feature include file. Bug-AGL: SPEC-4071 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idf2e35bea3be4e030245b36333c50a568cb2a01b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26656 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account
2021-09-15Inject multimedia package specific to rcar platformJan-Simon Möller1-0/+5
The packagegroup agl-graphical-multimedia needs to be extended to pull in the BSP specific packagegroups. Bug-AGL: SPEC-4029 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ieed3263884304a7d00d9f468583f3db9370e3741 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26634 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> (cherry picked from commit ae07296dfa03edd1eb25e0a632960bf71956c738) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26592 Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2021-09-13xmlsec1: remove backported patchScott Murray2-31/+0
The backported host contamination fix for xmlsec1 can now be removed since meta-oe now includes it. Bug-AGL: SPEC-4051 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2b41872f67c25cdbd4e250a399293afde2284a27 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26630 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>
2021-08-17Add backported patch to overcome host contamination issueJan-Simon Moeller2-0/+31
This patch is required to fix a cross-compilation issue due to host contamination. It is a backport from meta-openembedded master branch and submitted to dunfell. Bug-AGL: SPEC-4051 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I22aa1777d1e8606c54c873f53e380263f8f8a05b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26578 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-08-05meta-agl-bsp: add "kingfisher" to AGL_FEATURES for -kf buildsScott Murray1-0/+4
To be able to detect when building with Kingfisher support in recipes, add a "kingfisher" feature to AGL_FEATURES. This should be lower impact on builds than an override wrt sharing sstate between builds, and matches what has been done for the refhw support with h3ulcb. Bug-AGL: SPEC-4023 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8f8eb148b94cdc8e80b0600b3112e45d1e709948 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26544 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> (cherry picked from commit 92514559f9b195e6b58128a7492239ff50e23dec) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26525
2021-07-23meta-agl-bsp: Enable building agl-refhw-h3 firmwareScott Murray2-5/+3
Changes: - Replace the agl-refhw-h3 addition to MACHINEOVERRIDES with just using AGL_FEATURES. With the rework of the arm-trusted-firmware bbappend in meta-agl-refhw, the override is no longer necessary, and a feature in AGL_FEATURES makes more sense in the context of this not being a separate machine in the AGL build, but just a feature. - Remove BBMASK so the arm-trusted-firmware bbappend from meta-agl-refhw-gen3 will now be picked up. - Hook up building the U-Boot variant for the refhw by extending UBOOT_CONFIG. - Remove the compatible machine declaration from gpsd-conf-refhw, as we're using the package in h3ulcb images anyways. Bug-AGL: SPEC-3916 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibe3ecdbe74811793c0e030df28a64b3052d64f47 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26476 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit bc4666c43c67a666e1cf6706b601b397fd0f5548) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26522 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-06-29Refactor kernel configuration fragment handlingScott Murray16-139/+49
Refactor the kernel configuration fragment handling to shift all AGL applied configuration fragments into a new AGL_KCONFIG_FRAGMENTS variable that is used to generate SRC_URI and KERNEL_CONFIG_FRAGMENTS additions for the various BSPs. The intent is to make it simple to disable AGL provided configuration in downstream builds as the IC EG has expressed as a requirement. Additionally, the rework has allowed for some clean up of accumulated cruft. In practice, clearing AGL_KCONFIG_FRAGMENTS drops all non-BSP provided kernel configuration with the exception of some qemu BSP related additions required for AGL CI and some explicitly configurable things like netboot support. Notable changes: - Instead of always using AGL's own fragment merging logic on top of the BSP kernel recipe, an effort is now made to leverage the BSP recipes' own merging schemes, so there are now separate include files for kernel-yocto.bbclass and plain kernel.bbclass based kernel recipes, as well as a common include file that defines the AGL_KCONFIG_FRAGMENTS variable and its derivations. That file can be included directly in bbappends for BSP kernel recipes that use the KERNEL_CONFIG_FRAGMENTS scheme (e.g. meta-ti, meta-qcom). - The SMACK enabling configuration in meta-app-framework has been updated to supply different fragments for enabling SMACK by default for 4.x and 5.x kernels. This removes a warning from always supplying the old configuration, and allows providing a CONFIG_LSM definition to ensure over-riding any BSP modifications. This allows removing the previous hack to handle CONFIG_LSM being set in the defconfigs in linux-raspberrypi. - By request, the linux-yocto support from meta-agl-bsp/meta-core has been rationalized into meta-agl-core to improve the experience when using meta-agl-core standalone for testing. - All demo supporting kernel configuration has been removed, a subsequent change to meta-agl-demo will add it there by leveraging AGL_KCONFIG_FRAGMENTS. - The hardware device support has been split out of the can-bus.cfg fragment, in favor of shifting it to meta-agl-demo. A few other stray non-CAN configuration options have also been removed from can-bus.cfg, as they do not seem to be required. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If6662fd36e26cec767b1d53b1188a74d01ef9dcf Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26460 Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.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
2021-06-23SPEC-3976: qemuarm: remove CONFIG_ARM_LPAECorentin Labbe1-0/+2
CONFIG_ARM_LPAE cause sndHDA failure. Furthermore, this permits to mimic real AGL ARM board which dont have LPAE. Bug-AGL: SPEC-3976 Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Change-Id: I0f48feadc8aa04427ffb2365cf319e2dcbe32ff3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26435 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>
2021-06-23rcar3: move extra kernel modules to MACHINE_EXTRA_RRECOMMENDSScott Murray1-1/+3
The appending of the rcar3 graphics related kernel modules to IMAGE_INSTALL in agl_rcar.inc is problematic for users building headless or container targetted images. To avoid this, instead append them to MACHINE_EXTRA_RRECOMMENDS, which will result in them being pulled in via packagegroup-machine-base. Users not desiring them can then either disable package recommendations or not pull in packagegroup-machine-base. In practice, this has no effect on any of the current images in meta-agl-core or meta-agl-demo, but it is required for the IC EG guest container build for rcar3 platforms. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I309926b6dc31614fb7c710b0a302716942d07df8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26430 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>
2021-06-16Remove Raspberry Pi 3 supportScott Murray1-30/+0
The raspberrypi3 machine template had only been retained to allow anyone interested in using one with a telematics or cluster demo image build to do so. At this point the Pi 4 has been out long enough that that seems no longer necessary, so removing the support to avoid confusion and reduce clutter seems warranted. Bug-AGL: SPEC-3985 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib3770ba03771aff468f94d5bf6f2910fc01f7ee0 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26429 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>
2021-06-01Add initial j7-evm machine supportScott Murray1-0/+15
Add template and inc file for requested j7-evm machine. Notes: - The various images have been test built, including the agl-demo-platform image. No runtime testing has been done due to lack of hardware. - The proprietary SGX graphics support has not been enabled. This is due to both being unable to test, and it being unclear if it is required given the telematics usecases mentioned with respect to the hardware. - The shared TMPDIR for the non-optional multiconfig for building the bootloader has been shifted to a split one, as failures were reproducibly being seen when using the rm_work bbclass, and in general the community recommendation is to not share them. This does mean that cleaning up a build tree requires removing the tmp-k3r5 directory in addition to tmp. Bug-AGL: SPEC-3928 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5c4e325b0b709b6571946475bf128bc25b171f6e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26379 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>
2021-06-01Remove dra7xx-evm machine supportScott Murray9-1478/+0
Remove dra7xx-evm machine template and related BSP configuration tweaks. The configuration is stale and untested, and no one has expressed interest in it for long enough that it seems better to just remove it to avoid confusion about support status. Bug-AGL: SPEC-3934 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1659eef113cf1e6fcfdddf65f712275b8fc49b6f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26378 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>
2021-06-01Update i.MX machine configurationsScott Murray6-69/+32
Changes: - Add new i.MX and i.MX6 common inc files and shift duplicated configuration to them. - Switch to using the newer IMX_BSP_DEFAULT variable mechanism for selecting mainline vs NXP bits, instead of adding use-mainline-bsp to MACHINEOVERRIDES. - Remove the accidental addition of agl-medium-arm-compiler to DISTRO_FEATURES for the imx8mqevk configurations. - Remove some other stale variable definitions. - Update BSP layer path in i.MX6 template 50_setup.sh files, these were missed on a previous update. Bug-AGL: SPEC-3933 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0145e3c8b73b4d53706fda4237ab10f181fd16f7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26377 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>
2021-04-30virtio: Backport virtio sound driver.Vasyl Vavrychuk12-0/+4156
Added patch series is the latest implementation [1] of virtio sound device [2] driver. It was accepted [3] by sound maintainer for the next kernel version. virtio-snd.cfg snippet has been generated using menuconfig/diffconfig tasks by selecting SND_VIRTIO, other configs have been selected automatically. [1]: https://lore.kernel.org/alsa-devel/20210302164709.3142702-1-anton.yakovlev@opensynergy.com/ [2]: https://github.com/oasis-tcs/virtio-spec/blob/master/virtio-sound.tex [3]: https://lore.kernel.org/alsa-devel/s5hsg575q5z.wl-tiwai@suse.de/ Bug-AGL: SPEC-3894 Change-Id: Ide484b4a70e5d2aef0726f701f87d783e128c4d3 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26291 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>
2021-04-30virtio: Bump virtio-aarch64 kernel to version v5.10.Vasyl Vavrychuk2-0/+69
There are a number of virtio drivers [1,2] developed on top of newer kernel version. To simplify their backporting it is better to have newest possible kernel version. Use v5.10 since at the moment it is latest available Linux Yocto kernel. As a sacrifice, some external kernel modules have to be disabled since they fail to compile with newer kernel. Recipe imported from repo: https://git.yoctoproject.org/cgit/cgit.cgi/poky/ branch: master commit: a870101 path: meta/recipes-kernel/linux/linux-yocto_5.10.bb [1]: https://lore.kernel.org/alsa-devel/20210302164709.3142702-1-anton.yakovlev@opensynergy.com/ [2]: https://lore.kernel.org/linux-arm-kernel/20201105212116.411422-1-peter.hilber@opensynergy.com/ Bug-AGL: SPEC-3894 Change-Id: I8ac793c1075bdeaa96d03252b97abcf983bb7ee0 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26290 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-04-30virtualization/linux-yocto: Fix multitouch with virtio-input.Vasyl Vavrychuk2-0/+67
Multitouch support with virtio-input was broken which can be observed: * by running weston-simple-touch with weston compositor ( weston-simple-touch does not work with AGL compositor due to XDG shell issues) * by doing pinch to zoom in/out on navigation app map Change-Id: I3ec2a989a4217ebe22cee9cf1640190ca8e2bb81 Bug-AGL: SPEC-3893 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26289 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-04-30virtualization/linux-yocto: Add virtio-aarch64-standard.scc to SRC_URI.Vasyl Vavrychuk2-1/+2
It allows to use patch command to apply patches via scc file. 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. On the other hand, nopatch should be added to standard.scc because patches from it are actually pre-applied. [1]: https://www.yoctoproject.org/pipermail/yocto/2019-October/046986.html [2]: https://docs.yoctoproject.org/kernel-dev/maint-appx.html Change-Id: Id238e79e1b354daaa23e83bef45fc93a216fbf92 Bug-AGL: SPEC-3893 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26288 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-04-30virtualization/linux-yocto: Reorganize layout of linux-yocto kernel virtio ↵Vasyl Vavrychuk6-3/+3
metadata. Follow layout of yocto-kernel-cache, this makes code a little bit more understandable and familiar for one who worked with yocto-kernel-cache. Change-Id: I1ad65039a1738b928069d035d485e2728e8a55b2 Bug-AGL: SPEC-3893 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26287 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-22[RCAR] Fix sound on ulcb boardRonan Le Martret2-4/+1
After RCAR BSP 4.7.0, m3ulcb and h3ulcb (without kingfisher layer) does not have audio after BSP Update. The sound car is named ak4613 now for booth ulcb card and ulcb +kf card.(no rcarsound name anymore) Bug-AGL: SPEC-3849 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Id759de2a0df90cd216106da54870f663ca7adb64 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26189 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-18Mask patch causing crash in luaJan-Simon Moeller1-0/+4
The patch CVE-2020-15945.patch applied by meta-oe does crash the lua ptest in db.lua (segfault). Mask the patch until a solution is found upstream. Bug-AGL: SPEC-3828 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I27eeea4a47b653fe13b9f949b3d792602a3c6e1a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26183 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-03-15meta-agl-bsp: add pseudo abort workaround for rcar3 buildsScott Murray1-1/+31
Add workaround to avoid pseudo aborts triggered by the rcar3 kernel module recipes writing to KERNELSRC in do_install, errors are of the form (from pseudo.log): path mismatch [27 links]: ino 19366408 db 'NAMELESS FILE' req 'build/tmp/work-shared/h3ulcb/kernel-source/include'. See the commit messages in poky commits 4e7c211 and 3b7f2c6 and the wiki page at: https://wiki.yoctoproject.org/wiki/Pseudo_Abort for details on the pseudo behavior change. These can potentially be moved to the recipes in the BSP, or removed if the recipes are changed to shift the module headers and symbols to their dev packages. Bug-AGL: SPEC-3840 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic872e1cec1ccbd37a5a53d146119fa5053b85482 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26147 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>
2021-03-15[RCAR] u-boot: move redundant-yyloc-global patch to u-boot-common.incRonan Le Martret2-0/+30
gcc10 build issue occurs in both u-boot and u-boot-tools (From OE-Core rev: 2e128a775a3d51dc1856a35e2f5135d3c156d10e) Bug-AGL: SPEC-3804 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I7be66b06e99415fa7b6c3a7a2c397d00ee44b4cc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26052 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-15[RCAR] Update BSP Renesas RCAR gen3 to version 4.7.0Ronan Le Martret2-11/+6
Bug-AGL: [SPEC-3804] Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I2a5c9dce63cd7c681cf9a36cf530e432081e1c6b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26051 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-15Revert "meta-renesas: workaround recipe incompatibilities with YP 3.1.4"Ronan Le Martret5-189/+0
Bug-AGL: SPEC-3804 This reverts commit 8b4612385bbf4cdf523c9b731ed73c7887995372. Change-Id: I4a70f1cc57bf2265846b3a208b74c46a786ec622 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26050 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-15Revert "meta-renesas: update gstreamer version workaround"Ronan Le Martret3-6/+6
Bug-AGL: SPEC-3804 This reverts commit 0fcc99e2b74b7e393980c2e3bfe9863b5dbc8ae4. Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Iabc9a6e7c8a2db86411b9b5e788b38d41564d351 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26049 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-09meta-agl-bsp: clean up Raspberry Pi Xen supportScott Murray7-54/+19
Changes: - Rename bbappend for Xen support to work with 5.4 kernel. - Drop one of the Xen support patches that no longer applies, as it seems no longer required due to upstream changes. - Move Xen kernel configuration fragment use to non-versioned kernel bbappend to simplify future upgrades. - Move ENABLE_UART definition to machine template inc files instead of duplicating it in multiple bbappends. This is more in line with how upstream indicates it be used. Note that these changes have been compile tested with the agl-virt-xen feature, but the resulting image has not yet been tested with Xen. This is still an improvement, as agl-virt-xen would have silently not affected kernel configuration previously. As well, some of the reshuffling done here will simplify the kernel upgrade in the next branch. Bug-AGL: SPEC-3841 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I022cccef00fcd0a82ceef89d4aab1894004543a3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26144 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>
2021-02-16meta-agl-bsp: Fix agl-refhw-h3 BBMASK definitionScott Murray1-1/+1
Use += with BBMASK definition to avoid over-writing other additions. Bug-AGL: SPEC-3798 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If6d5850e7dc07de56c2a6737634f0c0935ec2030 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26040 Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2021-02-16meta-renesas: update gstreamer version workaroundScott Murray3-6/+6
The wildcard bbappends added as a workaround for gstreamer 1.16.3 versus 1.16.2 for the dunfell 3.1.4 upgrade (SPEC-3706) were less than ideal since they still pointed at the 1.16.2 branch in Renesas' repositories. They have advised that 1.16.3 support branches are now available, so update the workaround bbappends to use them, and change the wildcard usage back to the full version number. This should hold us until the BSP v4.1.7 update, when these bbappends can be removed. Bug-AGL: SPEC-3803 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I56e6699dce8b45f3c5f713958c43b9bbc8af8ec6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26039 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>
2021-02-05meta-agl-bsp: Add reference hardware GPS supportScott Murray5-0/+113
Add recipe for gpsd configuration for the reference hardware, which also installs a script plus systemd unit drop-in to handle enabling and disabling it. The latter is required due to the reference hardware's reuse of the h3ulcb image, which means the existing PREFERRED_PROVIDER_virtual/gpsd-conf scheme is not sufficient in this case. Bug-AGL: SPEC-3792 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ifaf3b93d06825f7c5c6a8ce2773d93931e47178c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25994 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>
2021-01-26Allow -nogfx boards to start the homescreenJan-Simon Moeller3-0/+12
This allows to produce working images without restricted licenses. Software rendering will be slow and screen updates take a while. v2: adapted to use WESTON_USE_PIXMAN Bug-AGL: SPEC-3774 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iaea1985da48985dfe223471a86b04d8921cc8d7a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25933 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2021-01-26qemu[arm,arm64]: enable runqemu in graphic modeJan-Simon Moeller2-16/+19
This adds the necessary flags to launch runqemu for the qemuarm target with the full graphical agl-demo-platform image. Slow but working. Bug-AGL: SPEC-3764 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iffc2158e53d775d578b1d4ee0e94d3fd68e2a028 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25930 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2021-01-26raspberrypi: Upgrade to u-boot v2020.10Paul Barker4-0/+11
The newer u-boot version supports the network interface on the rpi4, allowing us to do things like DHCP boot. Also switch to the preferred "rpi_arm64" u-boot config. Bug-AGL: SPEC-2983 Signed-off-by: Paul Barker <pbarker@konsulko.com> Change-Id: I0dff4779f98c7ce6394efd9feb58b7f2a8933296 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25937 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-19raspberrypi: agl_raspberrypi4.inc: Unpin kernel versionPaul Barker1-3/+0
Now that the failure in create-combined-dtb has been resolved (by patching dtc), we can unpin the version of linux-raspberrypi and use the 5.4 kernel series. Bug-AGL: SPEC-3702 Signed-off-by: Paul Barker <pbarker@konsulko.com> Change-Id: I0da4eb7ccd17d816477d28864185278084abd9b4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25840 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>