summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2020-10-15[RCAR] Fix gcc 10 build failed on u-boot and kernel.Ronan Le Martret4-0/+89
* cherry pick upstream patch to fix u-boot and linux kernel on gcc 10 build issue. Bug-AGL: [SPEC-3617] Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I0c85938287861a8efc328b5c08bbf364027f6473 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25416 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> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-10-15[RCAR] Fix smack rule for pvr deviceRonan Le Martret1-0/+5
The GL driver needs to access to the powervr sync device /dev/pvr_sync (provided by gles-user-module). If a graphic application wants access to display (SupplementaryGroups=display), and so GL access, the ACL on /dev/pvr_sync must have: - a smack label "*" - a dac (group display) m3ulcb:~# ls -lZ /dev/pvr_sync crw-rw----. 1 root display * 10, 59 Jun 29 03:06 /dev/pvr_sync Bug-AGL: [SPEC-3617] Change-Id: Ia6472424ac07c60a5c16cb6f48174481e8dd759d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25415 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-10-14Enable veth when using nbd boot optionJan-Simon Moeller1-0/+2
This patch enables the VETH kernel config. We use this to make sure the network binding finds a valid ethernet device through connman even if 'eth0' is used by nbd and thus not visible to connman. Bug-AGL: SPEC-3631 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I056ff6dc8f83bdb707cfbac90562388c4e742b43 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25421 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>
2020-10-13Change HDA sound to be a moduleJan-Simon Moeller1-2/+1
Setting CONFIG_SND_HDA_INTEL to 'm' . If it is built-in there are probe calls missing and quirks are misdetected. Bug-AGL: SPEC-3612 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I288e5e8d11cd15a1a9fdf5cfeb72d1f1ecc10c5e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25420 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>
2020-09-30Remove overlay for qemuarm.confJan-Simon Moeller1-18/+0
Upstream uses now a matching machine definition. Remove our overlay. Bug-AGL: SPEC-3613 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I142de72a8a2f7b978f53e976f6b86be226c1a178 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25358 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>
2020-09-30Add CONFIG_SND_HDA to sound.cfgJan-Simon Moeller1-0/+5
Qemu will emulate an HDA/AC97 card. Thus we need the drivers enabled to support sound / audiomixer testing in CI. Add it to sound.cfg . Bug-AGL: SPEC-3612 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia9ac65c14be59568f700883ac79793946a5596f4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25357 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>
2020-09-25meta-agl-bsp: Enable overlayfsScott Murray2-0/+10
Add kernel configuration fragment to enable overlayfs. The initial planned use is for enabling generating coverage results on target, but it will also be useful for container runtimes. Bug-AGL: SPEC-3589 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4dd5ddd2da52eac5b273b01be51339e03786b845 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25336 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>
2020-08-31linux-fslc-imx: Backport mainline patches to fix GPU hangsWalter Lozano3-0/+203
Initial tests of AGL with etnaviv showed random GPU hangs. After discussion add some mainline patches not yet present in linux-fslc-imx in order to fix them. BUG-AGL: SPEC-3520 Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Change-Id: I8ac51e7ec91fa033554270cd79ca1b55c5862103 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25163 Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> 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>
2020-08-31Remove old components around joule boardJan-Simon Möller1-12/+0
Remove scripts that supported the EOL Joule board. Bug-AGL: SPEC-3555 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I2a50ed2631ff1bc961717e7cff27b861f6c43d5b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25159 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>
2020-08-28meta-agl-bsp: add missing drivers/firmware for Up^2Scott Murray2-0/+13
Add drivers for the Intel mPCIe wireless sold for/with the Up^2 by upshop.org, and the associated firmware for it and various other things on the board. Bug-AGL: SPEC-3549 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I370f993b6c4f23fbc500bb713329c40c7282486a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25154 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>
2020-08-28meta-agl-bsp: enable WL-722N v2 supportScott Murray2-3/+5
A driver for the Realtek R8188EU chipset in the WL-722N v2 has been available for a while in staging, go ahead and enable it to allow those adapters to work. Bug-AGL: SPEC-754 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib7aa20f16e0140f5dde39ece27b65f7dfaa5c2b7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25153 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>
2020-08-25Revert "meta-rcar-gen3: fix rc.pvr weston dependency"jellyfish_9.99.3jellyfish/9.99.39.99.3Ronan Le Martret1-7/+0
Bug-AGL: SPEC-3516 This reverts commit fa4a9da20cbfe75e3bc260974c14f853d0733851. Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ib6d07ccd0a858251dbcaba195ed0ad9c77abf2e2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25070 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> 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>
2020-08-24[RCAR] Remove perf fix on renesas boardronan3-141/+0
* In RCAR BSP 4.14 the perf fix is upstream, we don't need to keep this fix in AGL. Bug-AGL: SPEC-3516 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ic014347319318122f99eabf48170a5b393ab46c5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25069 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-08-20Enable J1939 support for qemu machinesScott Murray1-0/+1
Tweak the can-bus.cfg kernel configuration fragment to set CONFIG_CAN_J1939, and add an over-ride in the agl-service-can-low-level recipe to enable J1939 support on qemu platforms where we know we have a 5.4 kernel where it will work. Bug-AGL: SPEC-3538 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I16e77a70794dd79ac37139dd19b15a9e131cbf3e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25139 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>
2020-08-19Add imx8mqevk machine that uses etnavivScott Murray9-20/+150
To enable debugging/development of the etnaviv driver against the GC7000L GPU in the i.MX8MQ, add a "imx8mqevk" template that uses etnaviv instead of Vivante. Since there seem to be some issues with respect to GPU hangs and resulting graphical corruption, the existing "imx8mqevk-viv" template that uses Vivante has been retained for now. Bug-AGL: SPEC-3520 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If5b84c6021994cce0f30410985b1ec4678e718ef Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25058 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: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-08-13meta-agl-bsp: meta-raspberrypi updates for YP 3.1.2Scott Murray5-106/+18
Changes include: - Rename bcm2835-bootfiles.bbappend to bootfiles.bbappend to match the recipe rename done in meta-raspberrypi - Update bootfile paths in rpi-config_git.bbappend to match the rename done in meta-raspberrypi - Remove local u-boot bbappend, as none of its changes are required with latest meta-raspberrypi and meta-updater - A previously silently failing command in the create-combined-dtb recipe's do_install when building with agl-sota enabled now triggers a build failure, logic has been added to handle meta-updater's disabling of the required overlay file. Bug-AGL: SPEC-3529 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib5fd9f308fcd2da76ae882dd5b2413e56d3eee40 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25081 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-21meta-agl-bsp: Remove Raspberry Pi 720p over-rideScott Murray1-4/+0
Remove weston.ini config fragment over-ride to force 720p that has been done for Raspberry Pi since scaling to screen size has been dropped with the switch to the new compositor. Raspberry Pi 4 is capable of running at 1080p without the memory issues of the Pi 3, so the scaling is not necessary for it, anyways. Bug-AGL: SPEC-3455 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib7cac877491cfe492fbc9a4ed49c4ff98f080667 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25038 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-21[RCAR] Modify generated image and sdk pathRonan Le Martret1-0/+2
For the kingfisher we want a specific file name, for generated image and sdk. It will be useful to avoid any confusion between image/sdk of the ulcb board and the ulcb board with kingfisher support. IMAGE_LINK_NAME is used to create link to files using IMAGE_NAME variable. TOOLCHAIN_OUTPUTNAME is used to create the sdk files. We can't overwrite SDK_NAME var, because this var is set in poky/meta-poky/conf/distro/poky.conf (higher priority then us). Bug-AGL: SPEC-3443 Change-Id: I541171d37d65091b617b8525675958b3800bf5c8 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25031 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>
2020-07-20Add AWS embedded C SDKAndrey Shamanin4-0/+187
AWS embedded C SDK allows to create applications for communication with AWS cloud. Commit includes a new recipe and patches for AWS SDK compilation. Fix review comment (use mbedTLS from external recipes). Bug-AGL: SPEC-3479 Signed-off-by: Andrey Shamanin <andrei.shamanin@orioninc.com> Change-Id: I0d4923cd8541e7be89580b32ed6c68fcb10c1ce7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24950 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>
2020-07-16Synopsys,HSDK: Return files for HSDK boardEvgeniy Didin2-0/+5
Lets return HSDK board support as the meta-synopsys layer now is compatible to yocto dunfell. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Change-Id: I3f11b9f8f5790d2513635beb05ec8e7584ebccc4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25024 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>
2020-07-15meta-agl-bsp: meta-sancloud: Use 1080p screen resolutionPaul Barker1-3/+0
Bug-AGL: SPEC-3498 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk> Change-Id: Id2e8af3dfac4db8040b7ab40ec6b11bb4d1737ae Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25022 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>
2020-07-15Remove the amqp package from azure-iot-sdk buildLeonid Lazarev1-0/+5
At the moment the yocto receipt for azure-iot-sdk does not include amqp symbols in libiothub_client.so library. It has been done due to build issue. In result the amqp related symbols in libiothub_client.so are not resolved. As the amqp is not used by AGL (cloudproxy service) at the moment, it is disabled at all. Bug-AGL: SPEC-3496 Change-Id: I803a30c480f59e4f07f7dcb098b3d96bb6dcb6f1 Signed-off-by: Leonid Lazarev <leonid.lazarev@orioninc.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25005 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>
2020-07-14meta-rcar-gen3: fix rc.pvr weston dependencyScott Murray1-0/+7
Add a do_install_append to fix rc.pvr systemd unit weston dependency, it needs to be weston@.service to work with YP dunfell / 3.1. Bug-AGL: SPEC-3380, SPEC-3443 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5f2a6d858c09812ab06e7a1a572fdd96801a8269 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25012 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> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-14meta-rcar-gen3-adas: Restore local linux-renesas changes for KFScott Murray1-0/+5
The local patch to fix the KingFisher HDMI connector ordering and a configuration fragment to disable its onboard MOST support were accidentally dropped in the previous change for the perf BFD patch issue. Add them back to restore previous behavior. Bug-AGL: SPEC-3443 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I527d073901bad4860475df81da36bbf60d8c5be5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25011 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-07-14meta-agl-bsp: Update weston-ini-conf fragmentsScott Murray5-17/+1
Remove ivi-shell and ivi-extension related configuration fragments, and update the core.cfg fragment to remove related configuration, they are now unnecessary with the new compositor. Also remove commented out old gst-record tweak from the bbappend. Bug-AGL: SPEC-3469 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I67b0530c2e2929d07d2032de25d0e5e4706dbbb7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25009 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: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-14[RCAR] Change default of the kf build imageRonan Le Martret1-0/+2
To avoid confusion between image builded with or without kingfisher support we need to, at least, change the name of the builded image. Bug-AGL: SPEC-3443 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I35e4f0a5f856543ecaba6e30b62b11f4a149ea9f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24974 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: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-14[RCAR] Fix salvator-x buildRonan Le Martret1-2/+2
- We need a fix to build the package perf for salvator-x (m3/h3). This fix already exists but it was apllied for ulcb machine. Change-Id: Ia42a8c0e3bdd7e6aaf844b1931d2c2df85b9dabf Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24961 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>
2020-07-07Use the correct BBFILE_PATTERN for meta-rcar-gen3-adasJan-Simon Möller1-1/+1
We have multiple entries to cover, fix the BBFILE_PATTERN . Bug-AGL: SPEC-3443 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I2fe95bf183fafa776668a63f9e28775a6f0547e0 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24916 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Readd the radio packages in the local.conf includeJan-Simon Möller1-0/+9
We need to see if we leave it as generic IMAGE_INSTALL_append here or do it elsewhere. For now this is a straightforward migration and helps clean-up the layer.conf . Bug-AGL: SPEC-3443 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: If7a482dc411ba7fc4d172f8fdf8493b81475ea93 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24915 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Apply the perf fix only when meta-rcar-gen3-adas is not presentJan-Simon Möller2-13/+8
Currently the upstream rcar bsp does need the fix for building perf. The meta-rcar-gen3-adas layer contains a fix in the big patchqueue. Thus conditionally apply the perf build fix. Bug-AGL: SPEC-3443 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Icbf53add71ed731c35dec149841691c82ae4372c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24914 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Revert temp fix of perf build and weston bbappendJan-Simon Moeller2-2/+4
We need to evaluate if and where we need to place the perf fix or if upstream includes it. Likewise for the weston bbappend. Bug-AGL: SPEC-3443 Change-Id: I78fb37bc3b0d4531c70e71d70c6663de1ab0d987 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24911 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Optee_os recipes modification et al.Jan-Simon Moeller6-0/+222
Port of three optee patches: - https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=a9eb8fa93867b8012e0e2d520961221a2a3ffffa - https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=88d94ef02988376c22bf493e40ba339b2572236e - https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=0ba07a07e5847381c776fc07688707f1feff5a56 Bug-AGL: SPEC-3443 Change-Id: I1d49a2cf632f1f64cb66178f4899b1354b62b2a3 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24910 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Add driver control checksumJan-Simon Moeller14-0/+57
Port of https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=9e58bd97144ab56a7858c6cd2206d3bd793bb09e Original commit message: * As the driver files come from out of git repository, we need to check driver file integrity. FormerChange-Id: I46f2a281f8da1ae606e8ae1ee55324fd5fd9b772 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Bug-AGL: SPEC-3443 Change-Id: If8cb040cae4ca227b883f4cdf250e3afec503976 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24909 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Use upstream meta-renesas from github and update meta-rcar-gen3-adas integrationJan-Simon Moeller17-71/+222
Thanks to the work done by Renesas and members of our community, we can now directly use meta-renesas from upstream github. A shout-out to everyone involved (Kurokawa-san, Ronan, Stephane). It turned-out it is simpler to create a symlink-based slim version of meta-rcar-gen3-adas layer instead of BBMASK'ing what should not be in there. See the comments in meta-agl-bsp/meta-rcar-gen3-adas/conf/NOTES as to why. Remaining work is to include the packages outside of the layer.conf in a follow-up. Bug-AGL: SPEC-3380 Change-Id: I2be1b44049d74146546380e2eb866f0558a26822 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24796 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Remove deprecated bsp files from meta-aglJan-Simon Möller14-357/+0
- hsdk does not have a dunfell branch - meta-intel was deprecated in favour of a unified qemux86-64 target - sdcard_image-socfpga is deprecated as upstream changed to use wic Bug-AGL: SPEC-3468 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ie79fc9c379bd6260a18fe6fe0115d9ce8de1017f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24918 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>
2020-06-30[RCAR] adjust asound.state for new Cogent BSP 3.21/YP3.1Ronan Le Martret1-0/+3
The meta-rcar has a patch that change the name of the sound card. Reintroduce the Cogent layer "meta-rcar" into AGL mean adjust the sound card name. Bug-AGL: SPEC-3463 Change-Id: I4ff025752314fdbebbdae39c66280943304daefc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24760 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-06-25Merge "Merge the agl-compositor sandbox into master"Jan-Simon Moeller1-0/+11
2020-06-25Mask the recipe in meta-rcar-gen3-adas incompatible with YP 3.1.1Jan-Simon Möller1-0/+2
There is a bbappend in the cogent layer which is not forward-compatible with YP 'dunfell' 3.1.1 . BBMASK it until upstream did fix it. Bug-AGL: SPEC-3445 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib301bb14e53a37f445c74461982fbbc24bcdae2f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24861 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>
2020-06-24meta-agl-bsp: BBMASK meta-renesas-rcar-gen3 weston-init tweaksScott Murray1-0/+11
Mask out meta-renesas-rcar-gen3's tweaks to weston-init, as they do not seem necessary for anything in AGL, and the addition of dbus.service and multi-user.target dependencies to the weston systemd unit that is done is problematic with respect to potentially blocking weston if any user units like application framework "platform" services fail. They also likely affect boot up speed with respect to getting weston started. There is no clear rationale expressed in the meta-renesas-rcar-gen3 commit history for the extra dependencies, and testing shows no issues on H3ULCB when not having them. Bug-AGL: SPEC-3411, SPEC-3301 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1d87017defea0bdfafd575303c6683bb23c1b75f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24789 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-06-24Remove meta-intel in favour of qemux86-64 as combined targetJan-Simon Möller1-31/+0
the qemux86-64 target will build bootable media for x86 targets (virtual and physical). Thus we do not need another config anymore. For compatibility, do a symlink intel-corei7-64 -> qemux86-64 when selecting the machine. Bug-AGL: SPEC-2931 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I65aab61680d982ccfb1d9146bead591a6cfd1dd3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24792 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: Matt Ranostay <matt.ranostay@konsulko.com>
2020-06-03agl-virt-guest-xen feature for qemuarm64Leonid Lazarev2-4/+34
Add feature agl-virt-guest-xen to allow to prepare Xen DomU images for arm64 targets. Bug-AGL: SPEC-3384 Signed-off-by: Leonid Lazarev <leonid.lazarev@mera.com> Change-Id: I9e5a4b768ab8ea8629e56075550f9d5fdd64e562 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24560 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-06-03Fix FTBS of sdk due to missing azure-macro-utils-c package when installing ↵maratsabitov1-0/+1
azure-macro-utils-c-dev ALLOW_EMPTY_${PN} = "1" to enforce the package generation v2 (jsmoeller): just fixed the version wildcard. Bug-AGL: SPEC-3407 Signed-off-by: maratsabitov <marat.sabitov@mera.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ie6b142a8b103922ce7c5281601e5b6c0e35634d2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24612 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>
2020-05-28[RCAR] adjust asound.state for new BSP 3.21/YP3.1Stephane Desneux2-8/+5
Alsa sound card name has changed in BSP 3.21 for YP3.1: old name 'ak4613' has been replaced by 'rcarsound'. Specific fix for Ebisu board also becomes useless (alsa-state.bbappenda) and is removed. This change adjusts the card name while keeping the volume levels as before: * 20% on DVC Out * 10% on DVC In Bug-AGL: SPEC-3380 Change-Id: Ic23c9b4c218ab275d5bd299911886cb40ebc8dc1 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24572 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-05-28[RCAR] Update rcar drivers to BSP 3.21.0 (weston8)Stephane Desneux1-2/+2
Update new rcar drivers in setup_mm_packages.sh: - R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-weston8-20191021.zip - R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-weston8-20191206.zip Bug-AGL: SPEC-3380 Change-Id: I563eef45d99a0bb888b2d2ef11f241f77506c8ec Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24559 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-05-26Raspberry 4: XEN supportLeonid Lazarev13-3/+263
Added the support for DOM0 in raspberry pi4. The feature agl-virt-xen should be enabled to activate this code. 1512 MB of memory is used for DOM0 machine. There are limitations: - brcmfmac module disabled (bluethooth and Wifi) due to the crash - total_memory is set to the 3Gb, as it impacts the USB ports on rasbperry pi4 on Linux kernel 4.19 v2 (jsmoeller): make changes in virtualization-layer conditional to raspberrypi4 Bug-AGL: SPEC-3259 Change-Id: I873fbf1f5498e31ae5f468407502f16e1873f7fc Signed-off-by: Leonid Lazarev <leonid.lazarev@mera.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24522 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>
2020-05-26Cluster demo support updatesScott Murray2-6/+6
Changes include: - Add agl-weston-remoting feature that sets "weston-remoting" distro feature. The intent is to replace agl-gstrecorder in meta-agl-devel with something more generic. - Add weston remoting initialization timing patch to weston bbappend in meta-agl-profile-graphical, conditional on "weston-remoting" distro feature. - The 0004-unconditionally-include-mman.h.patch weston patch is no longer required after the SMACK labeling changes, remove it as cleanup. - Enable the weston "remoting" PACKAGECONFIG in weston bbappend, also conditional on "weston-remoting". A redefinition of the "remoting" PACKAGECONFIG option is required to fix a recipe bug that will have a fix sent upstream. - Rename virtualoutput.cfg weston.ini fragment to remote-output.cfg to better reflect its current contents. Bug-AGL: SPEC-3395 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9c0579670d81296492b3b8bed93aafb3f7ffc15c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24567 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>
2020-05-22Fix FTBS of sdk due to missing umock-c package when installing umock-c-devJan-Simon Möller1-0/+1
umock-c-dev has a built-in dependency to umock-c by default. Previously there was no 'umock-c' package as all was shipped as headers/cmake in -dev and a -staticdev package only. ALLOW_EMPTY_${PN} = "1" will enforce the package generation. This will be discussed with upstream on how to fix the package. Bug-AGL: SPEC-3391 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I2429ae1fe77e6dcfb630a78ffc420046593b952f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24565 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>
2020-05-12Update Raspberry Pi (3/4) templates to match meta-raspberrypi configurationJan-Simon Möller4-191/+26
Update the templates to use the updated flags and configuration present in meta-raspberrypi. The previous template did not properly pull-in the u-boot fragments for the RPI4. v4: the MACHINE in the AGL template for the RPI4 is now 'raspberrypi4-64' as in upstream. CI will get support-patches through releng-scripts. Bug-AGL: SPEC-3368 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ia2acb54516464d433c64adfc7ba832ccfdf899c3
2020-05-12Add i.MX8MQ EVK supportScott Murray6-23/+44
Add imx8mqevk-viv machine template for i.MX8MQ EVK which uses the default Vivante driver configuration in meta-freescale with the new community linux-fslc-imx kernel. The following additional changes have been made to support this: - A linux-fslc-imx bbappend has been added to pull in the AGL kernel configuration, and a imx8mq-evkb config fragment has been added to enable the required Wifi driver for the updated EVKB board. - Stale qtbase and weston-init bbappends/patches have been removed from meta-agl-bsp/meta-freescale-layer. - The meta-agl-profile-graphical Weston 8.0.0 bbappend has been renamed to 8.0.% so the wildcard will apply it to meta-freescale's weston_8.0.0.imx recipe. Known issues: - The required PipeWire configuration for the onboard audio needs further investigation. Bug-AGL: SPEC-3258 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4ea5437ef0ea8bedb9dd2157f2822ff25ee56cff
2020-05-12linux: Enable kernel configs for SystemTapKenji Hosokawa2-0/+13
Some of required kernel configs to use SystemTap are not enabled by default. It is nessesary to rebuld and replace kernei before using it. This commit will avoid it. v2: Make the change conditional to 'agl-devel' and not apply in production. Bug-AGL: SPEC-3360 Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com> Change-Id: Ida74b9ee9de0be3c06683e3a04ad424d5ae3e9e6