summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-11-03Update github.com git:// SRC_URIsmarlin_12.90.1marlin/12.90.112.90.1Scott Murray9-9/+9
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>
2021-11-03meta-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>
2021-11-02Change DISTRO_VERSION for tagging before large reworkJan-Simon Moeller1-1/+1
We are about to merge a larger set of updates. To preserve the state we do tag the version of Marlin (pre v13) as 12.90.1 . Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I8e17e608c3a351d8fb8d98bc67b9e745d8f2f9f5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26777 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-11-02[RCAR] Add missing dependency for board M3+KFRonan Le Martret1-0/+1
* For the RCAR BSP v5.5.0 we need a yocto layer: - poky/meta-yocto-bsp Bug-AGL: SPEC-4081 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I7c9a49c7850bf4f5c71cd9c4a9459321fa2360a3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26763 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-02[RCAR] Fix HDMI display connector exchangingHarunobu Kurokawa1-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 Change-Id: Ie39769ce0d3bf2119b11c3c23408f42407357766 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26776 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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-10-29meta-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> Change-Id: I94b8fc1b4e0d3b1b12e3b550af6d618464d91ac7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26725 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-10-29[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: I8d7a41332bd6f15394002e3da4d9fdc5f5d3c1f5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26705 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-10-29[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: I220384fb2112b5eaf15fdc7a69f39fa138079f50 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26704 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-10-29[RCAR] Update RCAR BSP recipes to 5.5.0 versionRonan Le Martret23-59/+176
* 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: I53b71906e7174d7b1153a6912f7181171730147c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26703 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: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2021-10-29[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: I588dbe6f221e31246d164f78b04d7437f879a755 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26702 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-10-14meta-agl: split wireplumber to run in multiple instancesGeorge Kiagiadakis13-77/+359
The "IC SoundManager" design specifies that there needs to be a session manager running in the host to manage devices and permissions, but all the domain-specific policy and app management needs to run in the IVI container, together with the apps. With this split, we are able to achieve that. In addition to the "host" and "policy" instances, we are also adding a "bluetooth" one, which loads the bluetooth plugin and manages the bluetooth device. This can be moved to the IVI container as well, or elsewhere... it only depends on bluez (so it must run in the same container as bluez). For now, given the absence of an IVI container in the lxc-demo image, all instances are running in the host, but it is trivial to move all the non-host ones to another container later. To compliment pipewire-ic-ipc, this change also adds an "alsa-suspend" lua script that runs in the context of the "host" wireplumber instance and its purpose is to mute pipewire-managed alsa devices when there is a sound playing in the IC container (on another alsa device). Finally, this change also adds V4L2 configuration in the "host" wireplumber instance, which is still disabled (and untested), but you can easily enable it for experimentation by uncommenting the relevant line in host.lua.d/90-enable-all.lua Bug-AGL: SPEC-4027 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I9febc4f3919e7c559a5d7d32bfe7bc95c75934f2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26662 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-10-12meta-app-framework: bump version for dbus bbappendScott Murray1-0/+0
Rename the dbus bbappend to handle the upgrade to 1.12.20 in the poky 3.1.11 update. Bug-AGL: SPEC-4104 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2876920f0ac949f4dee0835af03c096c4e186973 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26729 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-09-27Make the mode configurable at build time for the waltham transmitterAnusha Gugale2-1/+14
- Create a TRANSMITTER_OUTPUT_MODE variable with a known default - Use this to update the transmitter-output.cfg fragment - Users can redefine this variable based on their needs - While at it do the same for HOST and PORT Bug-AGL: SPEC-4030 Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I32374186bdce3171a1f7ad4026e10c6448edaec6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26609 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
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> Change-Id: I7cbca889a93909e15ab04263c6d7d635a839bd56 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26624 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> 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: Iabcff16e56bd676bb3dd237b15c6cb2fa40ba97a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26636 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-09-16meta-agl-bsp: fix a couple of override syntax misconversionsScott Murray2-2/+2
There were a couple of misconversions from the override syntax conversion script still lurking in the i.MX8MQ EVK machine include files, fix them. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia441bb46cc29530d3909faf7385adca633fc3db2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26658 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-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>
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: Iba5d2f35a36cd1a99825e165013c9f849cbd054c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26629 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-09-02agl-compositor_git: Bump SRCREVMarius Vlad1-1/+1
This bumps up SRCREV to include 'compositor: Do not allow vt-switching by default' Bug-AGL: SPEC-4063 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I45c174499373ad8fe9a8aaadac34abc7ff723a38 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26605 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-25Fix missed override syntax conversionsScott Murray1-6/+6
The aglrelease/agldevelopment overrides used in poky-agl.conf got missed during the conversion, update them with the new syntax. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib13491d5834ab68d8b37eddce3d04b77c46968bc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26573 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-23Convert to new override syntaxScott Murray231-755/+754
This is mostly the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. A few minor fixups were done by hand afterwards during a review of the changes. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia3bf63b7cb1aa1d95ada373d1a3ab56def0a125d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26564 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/+/26558 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-08-05recipes-graphics/wayland/weston-ini-conf: Add missing transmitter-outputMarius Vlad1-0/+1
Seems that re-shuffling of recipes missed out the transmitter-output file when using waltham-remoting (in AGL_FEATURES). Bug-AGL: SPEC-4047 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I589960eb13532cfaab66a6d32ca79a8628398563 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26553 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-07-30agl-compositor_git: Bump SRCREVMarius Vlad2-1/+6
This bump brings no functional change, it just re-factors some of the code in the compositor to match a bit more to what upstreaming into has in weston, and paves the way to add support for testing, and with it, to include headless backend loading. The bump would need changes in the recipe so it will have a couple of follows-up, to compile the headless back-end and install a run-time shared library. Note this change squashed headless-backend support as well to make CI happy (Bug-AGL: SPEC-3964) and Install the run-time shared library (Bug-AGL: SPEC-3964) In more detail, the following changes have been included: - de7cdb0314af949 compositor: Avoid loading systemd-notify plug-in - ae60166cd931609 meson.build: Install run-time shared library to a specific path - 0bef8700f21b9e7 main: Split of main() from wet_main() - 65361f9f7979056 main: Copy cmd line args and print them - ccda88821b5bd9a main: Teach agl-compositor to load additional modules - 61dff3ff317c4d6 main: Add support for loading the headless-backend Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I49bbb216cb723db6a104d9e2753f5ddeb9bdd9f0 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26442 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-07-30meta-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>
2021-07-27libafb-helpers: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: 16b77f6 gcc 11.x fixes 6fb187b Update .gitreview file Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia148a09bc01c4a7188bc29fa339075d5ec1ee963 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26540 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-07-27af-binder: update SRCREVScott Murray1-1/+1
Update SRCREV to pick up: c5c15f8 gcc 11.x fixes 9a8aea1 CMake: Link with -latomic Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I41a1aa7c38eceb1ca10904a060d52deba6dac6ff Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26539 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-07-21SPEC-4003: add curl to agl-ciCorentin Labbe1-0/+1
curl is necessary to upload LAVA CI artifacts. Bug-AGL: SPEC-4003 Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Change-Id: I53ee4d24f4b3500c11c4189824cb35284ca104bf Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26505 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-07-13qt5: Fix timer leak in qtwayland to avoid animations being sluggishHiroyuki Ishii3-0/+49
With long-running qt applications which have fluid animations in wayland environment, the animation becomes obviously sluggish because massive amount of memcpy() is called through a constructor being placed in a loop in QTimerInfoList::timerInsert() function. This is caused by a timer-index leak bug of qtwayland, which is already reported to the qt project as following ticket. https://bugreports.qt.io/browse/QTBUG-79838 Unfortunately QTBUG-79838 is still open because maintenance of non-commercial version of qt5 is already stopped. However, we've confirmed that the patch attached to that ticket works fine except for that part of it is no longer needed due to the deletion of the code. So let's apply only effective part of it. Bug-AGL: SPEC-3991 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: Ib148b81aabb98e8df10c1414cdbfe26f7ddf09a6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26466 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-07-13Hybrid configuration support for agl-lxc and agl-virtNaoto Yamaguchi2-3/+3
In previous implementation for agl-lxc, meta-virtualization is import using agl-virt feature. It' controlled by included.dep. The patch of https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/26482 change import method from using agl-virt to directly. When that patch apply only, we can't use hybrid configuration for agl-lxc and agl-virt. This patch fix this issue. Bug-AGL: SPEC-4014 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I9455c9eca44a01793bfc8d95ac1f8cdefd24de77 Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26486 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2021-07-13meta-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>
2021-07-13agl-compositor: Move protocol files to the -dev packageMarius Vlad1-5/+9
Bug-AGL: SPEC-4015 v2 (jsmoeller): simplify protocols recipe v3 (jsmoeller): pkgconfig needs to be in the protocols package v4 (mvlad): Re-phrase the commit description v5 (mvlad): leave DEPENDS alone v6 (smurray): Untagle commit message Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I21fa9b40ad07871b956abcbb4e79c8f5d742522c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26490 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2021-07-07Add curl as a hard dependency for agl-netbootJan-Simon Moeller1-0/+1
agl-netboot provides the environment for booting in CI. There we do rely on curl to be present on the target. Thus make this a requirement for agl-netboot. Bug-AGL: SPEC-4013 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I547481c9c2042a49d3a3ad4fd0200a264a6770fe Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26487
2021-07-02Change master to Magic Marlinmarlin_12.90.0marlin/12.90.012.90.0Jan-Simon Moeller1-2/+2
After Lucky Lamprey is branched, master will be open for Magic Marlin. Adapt the distro configuration. Bug-AGL: SPEC-4006 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If6c41d91721b267203e1f812ae4d7f77761ed61a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26478 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-07-02pipewire: fix timerfd deadlock issueGeorge Kiagiadakis3-0/+88
Bug-AGL: SPEC-3957 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: I5f41e4161b281473cebc3cb3d8e27c2c93b457be Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26470 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-29Refactor kernel configuration fragment handlingScott Murray43-444/+179
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-25packagegroup-agl-core-devel: remove duplicate profiling toolsScott Murray1-2/+0
Remove perf and powertop from packagegroup-agl-core-devel since they are already in packagegroup-core-tools-profile which gets pulled in when agl-devel is used. For perf in particular, this simplifies avoiding dependencies on the kernel source being available when building container images. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I472ab2209dc89e76bb561189e711f45bad480e94 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26456 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-25Post release bump after LL m2Jan-Simon Moeller1-2/+2
Update the distro configuration. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I0c5be0ffc3f9b7e4b59b98d4eac6d5439900b4f5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26455 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-06-24aglsetup: Fix append_fragment fails with heredocs on Ubuntu 21.04.vasyl1-3/+3
Looks like bash creates temporary file for heredocs and passes fd to deleted file to command that use heredocs. Therefore, it is better not to use '[[ -f /dev/stdin ]]' in case of heredocs. Replaced it with more relaxed condition. Bug-AGL: SPEC-3990 Change-Id: Ib68d1510dd6899b0f60b207071b222ef1933bf77 Signed-off-by: vasyl <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26428 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-24Update license handling for pipewire recipeJan-Simon Moeller1-4/+22
We need to set LICENSE to multiple (MIT & GPL-2.0-only & LGPL-2.1-or-later) to satisfy the current scheme required by bitbake. But the licenses of the output packages are not all 3, but mostly MIT and a few LGPL-2.1-or-later and one GPL-2.0-only. To map the dynamically created output packages with the proper MIT license, we need to call setVar after all dynamic packages are created. Bug-AGL: SPEC-3844 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I0900902af2527254869c125ec90239c9afb26f3c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26449 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com>
2021-06-23Remove default inclusion of kernel-modulesScott Murray1-6/+2
Remove the kernel-modules meta package append to IMAGE_INSTALL from the default base-agl.inc aglsetup.sh template, as it essentially turns a developer convenience into default behavior that may not be desirable by all users. Note that this does change the contents of agl-image-(boot|minimal|weston) with respect to kernel modules on most platforms, but if this proves problematic it is recommended that kernel-modules be added back elsewhere in a more transparent fashion. A corresponding change will be made in meta-agl-demo to retain the behavior for the demo platform images. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie1098f25d69e721345d13db3681278543d594e78 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26431 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-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-23pipewire: fix alsa virtual device to work againGeorge Kiagiadakis2-0/+142
* Install symlinks to the configuration files in /etc/alsa/conf.d * Add patch from pipewire master to support roles on the virtual alsa device Bug-AGL: SPEC-3822 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Change-Id: Ie411df23390754e2cdc494657eb9881771b8c401 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26447 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-21pipewire: update to pw 0.3.30 and wp 0.4.0George Kiagiadakis16-145/+658
* The pipewire recipe has been synced with the upstream yocto one * WirePlumber configuration now has volume ducking enabled for navigation messages. This means that music will now duck when a navigation message plays instead of being corked. * PipeWire's default configuration now lives in /usr/share/pipewire, with the possibility to override it in /etc/pipewire. This allows resetting to upstream defaults by removing /etc/pipewire v2: add licenses to the layer to match the upstream recipe, adapt licenses of sub-packages v3: mark each package with the desired license instead of the mix v4: simplify the license output of the sub-packages Bug-AGL: SPEC-3844 Change-Id: I7a15ddb503d5b064f244c8a42a1aafb4caa1d46a Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26426 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-06-16Remove Raspberry Pi 3 supportScott Murray6-45/+2
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-14Prepare Lucky Lamprey M2lamprey_11.92.0lamprey/11.92.011.92.0Jan-Simon Moeller1-3/+3
Update the distro manifest. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ib87d4a6b4313fe39c7121f691a9768fd4fafa49c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26427 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-06-08meta-agl-core: dynamically add qtbase bbappendScott Murray3-0/+14
Add a dynamic layer addition for meta-qt5 that contains a qtbase bbappend with the required configuration changes for building it with Wayland support. The aim is to avoid duplication of these configuration changes among meta-agl-core users. Bug-AGL: SPEC-3972 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I642ad6e62c10da1b1c2323a13c7d5fa91ba9f028 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26395 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-08Update agl-virt featureScott Murray2-0/+6
Changes: - Add AGL_META_FILESYSTEMS hook to bblayers.conf.sample to match the other common meta-openembedded layer dependencies. - Update agl-virt 50_bblayers.conf.inc to define the required AGL_META_* variables for the layers from meta-openembedded that it requires. Bug-AGL: SPEC-3970 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iae55fa082bd25cf43bde6152abab40c836cf6279 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26394 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2021-06-08Add agl-package-management featureScott Murray5-7/+17
Changes: - Move addition of package-management to IMAGE_FEATURES and associated package feed variables to a new agl-package-management feature template. The feature is not included by default in the base set. - To somewhat maintain the previous developer experience the new feature has been made a dependency of the agl-devel feature. In practice, the only images affected by this change are agl-image-minimal and agl-image-weston from meta-agl-core, the demo platform images in meta-agl have package management enabled by default. Bug-AGL: SPEC-3971 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I56665e1cd82db19a697fdae2551a9276eab08961 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26393 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>