aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-12-16Add RISC-V SupportAlistair Francis0-0/+0
This is initial patches to add RISC-V support to AGL. This should allow building AGL for the qemuriscv64 MACHINE. Tested with the latest branches setup by running repo following the AGL instructions. This was also tested with the latest master OE. Currently I can boot console only images, the GUI isn't working yet, although the splash screen works. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Change-Id: I89ef13da8fb273f2a016fa3d1f0735f4c2a54bec Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25106 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-16templates: qemuriscv64: Initial commit of qemuriscv64 machineAlistair Francis3-0/+23
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Change-Id: I50a966dcbe051ae5369e28291e5bb62cd40267b9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25105 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-16riscv64-tune.inc: Initial commit of RISC-V tuneAlistair Francis2-0/+8
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Change-Id: I8e575ae9f3d49adfe82ba6473fafa3ee676f6683 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25104 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-16poky-agl.conf: Build the riscv64 QEMU targetAlistair Francis1-1/+1
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Change-Id: I534d40d091717d9e47b691ec7d67e4fc93080d64 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25102 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-16hsdk/arc: remove incompatible packages from packagegroupsJan-Simon Moeller1-0/+5
These packages are not yet supported on arc. Exclude them from the build. Bug-AGL: SPEC-3719 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I3c93fc792343b4d45a66d0a1062b1bf49669a004 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25761 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-12-15Include meta-arm-toolchain layer when using meta-armPaul Barker3-0/+3
After recent changes on both the dunfell and master branches of the meta-arm layer, we now need to also include the meta-arm-toolchain layer (from the same repository) to allow builds to succeed. Bug-AGL: SPEC-3732 Signed-off-by: Paul Barker <pbarker@konsulko.com> Change-Id: I6a3e430edaa87d1f684f83a7211a59c62f120add Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25801 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-12-11meta-agl-bsp: Update i.MX8MQ EVK support for latest dunfellScott Murray6-209/+17
The layer updates to go to the latest 3.1.4 Yocto dunfell release broke the imx8mqevk and imx8mqevk-viv builds, though for different reasons. imx8mqevk fixes: - Remove the now upstreamed etnaviv kernel patches that had been backported by Walter. - Turn off btrfs support in the linux-fslc-imx kernel configuration. This is required due to meta-freescale having a 5.4 kernel new enough to need a lttng-modules fix for btrfs that has not yet been backported from the Yocto master branch to dunfell. - Update the PREFERRED_VERSION over-rides in agl_imx8mqevk.inc to match the new versions of libdrm and gstreamer in poky. imx8mqevk-viv fixes: - Add weston_8.0.0.imx.bbappend to work around the broken addition of a PACKAGECONFIG_remove of "x11 wayland" in the recipe in meta-freescale. Upstream will be engaged to drive getting the change reverted. Bug-AGL: SPEC-3725 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I259f2d048a9de653a0060afcef17c4410093783a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25772 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: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2020-12-11Add README files to layersJan-Simon Moeller6-0/+17
This is a requirement of the yocto-check-layer script. Bug-AGL: SPEC-3724 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I60c41d77d4b83eccf4e69651c1fe7cd334a16cc5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25768
2020-12-11packagegroup-agl-test: Install glmark2.Vasyl Vavrychuk1-0/+1
It can help test graphics. Bug-AGL: SPEC-3700 Change-Id: Ib6a533bedf3320af0336c05327ee99c275d02e2f Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25774 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-11glmark2: Fix glmark2 window does not show up.Vasyl Vavrychuk1-1/+6
For this, update it to the latest version that includes XDG shell support which is required for agl-compositor. wayland-native dependency is added because now glmark2 executes wayland-scanner during build. Issue: SPEC-3726 Change-Id: I7553cc323042655dc0620574aec1b9b1506ba5bd Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25773 Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-11packagegroup-agl-test: Install nmap.Vasyl Vavrychuk1-0/+1
nmap package provides ncat which was written for the Nmap Project as a much-improved reimplementation of the venerable Netcat for the 21st century [1]. It can be used to verify vsock communication [2]. Connect from driver VM to device VM: On device VM run: `ncat --vsock -l 1234` On driver VM run: `ncat --vsock 2 1234`, here 2 is VMADDR_CID_HOST, see [3]. Connect from device VM to driver VM: On driver VM run: `ncat --vsock -l 1234` On device VM run: `ncat --vsock CID 1234`, here CID should be replaced with driver VM CID. [1]: https://nmap.org/ncat/ [2]: `main socat` section "AF_VSOCK SOCKETS" [3]: `man vsock` Bug-AGL: SPEC-3700 Change-Id: I92043eca33111f1921f739f355f35fda01467efb Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25636 Reviewed-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-11packagegroup-agl-test: Install evtest.Vasyl Vavrychuk1-0/+1
evtest can help in input device testing and debugging. Bug-AGL: SPEC-3700 Change-Id: Ib7a4b792006b71b51730e8d202548d2fa739aeca Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25640 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-10agl-compositor_git: Bump agl-compositor SRCREVMarius Vlad1-1/+1
This agl-compositor bump adds support for loading waltham-transmitter-plugin, that handles the remote input, and for streaming out buffers by making use of remoting plugin. Further fixes have been added, most importantly to handle the case were applications do not have an app_id set. Along side that, clients using GDK/GTK toolkit can run correctly. - bdd8dd718496 layout: Do not attempt to activate surfaces that doesn't have a valid app_id - 54ab8a8cc447 shell: Throttle the log message - 9c605257e22e build/: Allow to build the compositor w/o waltham - 16ab9c3ba0e2 shell: Perform wl_list_init() after wl_list_remove() - 7239ababba46 desktop: Allow to remove surface from pending list - 47d79bb6a1f1 desktop: Do not attempt to advertise the clients if there are none - 308078596396 desktop: Delay surface creation until committed - 681f5df23492 shell: Destroy weston_transmitter_surface as well - 27e99ddcad08 shell: Keep a reference to weston_transmitter_surface - ea7a72cbc284 desktop: Insert a black surface only when the output is a remote type - 3d32d6d6daf5 desktop: Group tests for checking against last remote surface - 456fe3dd3b28 shell: Push the surface to the remote side - 3f05a28017b2 main: Create a remoting output if the waltham plug-in has been loaded - 36d2a12f8176 ivi-compositor: Add the ability to distinguish between different types of remoting outputs - a30af04e6f81 main: Add support loading waltham transmitter plug-in - 06e9aa93360b layout: Check app_id for remote type of surfaces - dce67758ac77 shell: Avoid creating and inserting black surface - b4d7a5a1861d main: Use the output handler to destroy to black view - fe771c084c2f shell: Advertise app when app_id is available - abe3abc327b7 shell: Avoid advertising applications without app_id set - 51a77a42b400 main: Create black surface after listening socket Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If5ac067121a814e512ea7648af8290774a60558a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25670 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-08Renesas: Adapt setup script following changesFrederic Marec1-1/+7
Renesas website change for a new one. We need to change the name of downloaded drivers because of that. Bug-AGL: SPEC-3715 Change-Id: I7f2ab0335709aa5dee895e6169692e23a9a2f099 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25737 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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-07meta-agl-profile-core: update pyagl SRCREVScott Murray1-1/+1
Update pyagl SRCREV to pick up: dcc2f91 Add HVAC bindings and tests Bug-AGL: SPEC-3660 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I83cf2add180268b1a7136b55af2233db3a13eff4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25722 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-12-04Fix the -nogfx builds for the YP 3.1.4 uprevJan-Simon Moeller3-1/+5
This fixes Missing or unbuildable dependency chain was: ['agl-image-minimal-crosssdk', 'waltham-dev'] Bug-AGL: SPEC-3706 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic80bf6cac57b53edda112f38a92884ed8506d74d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25728 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-12-04pi4: pin kernel to 4.19 prior to the YP 3.1.4 uprevJan-Simon Moeller1-0/+3
The uprev to YP 'dunfell' 3.1.4 would change the default kernel used by the pi4. This has an effect on the DTBo's used for booting and in CI. One effect is that create-combined-dtb won't no longer build. Also we might have to change away from fkms on kernel 5.4 . Bug-AGL: SPEC-3702 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If7353c1b9fde4ef4fe6456ce969a37e2734c5a79 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25716
2020-12-04meta-renesas: workaround recipe incompatibilities with YP 3.1.4Jan-Simon Möller5-0/+189
This adds a workaround for the strictly versioned bbappends until the BSP could be updated. Bug-AGL: SPEC-3706 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I7267974d8ea8412ad40ca9b351d03a5a107c0e3f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25715 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-12-04profile-core: drop a systemd patch for 3.1.4 YP uprevJan-Simon Moeller2-35/+0
The patch 0001-fix-udevd-seclabel-parsing.patch is in upstream YP 3.1.4 Remove the patch. Bug-AGL: SPEC-3699 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7a0d24178a7e0b8dae16e7f12df1ec565cff5278 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25657 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-12-04meta-app-framework: update app-framework-main SRCREVScott Murray1-1/+1
Pick up changes: 3ea6f4a Merge "Add network and bluetooth permissions to service template" 0a24bbd Add network and bluetooth permissions to service template ad47803 deal with extra quotes Bug-AGL: SPEC-2714, SPEC-3509 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie1c9bcb958aa5bda810a68c4e579e81321d55dda Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25706 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>
2020-12-04meta-agl-profile-graphical: add device dependency hook in weston-initScott Murray3-0/+20
Add a mechanism in the weston-init recipe to allow machine templates to trigger installation of a systemd drop-in that adds a DRM device dependency for the weston@.service unit. Also, tweak the qemux86-64 configuration to enable doing so against dev-dri-card0.device to avoid startup failures due to the slow i915 initialization on e.g. the UpSquared. This approach has been taken since it seems safer for now to only apply it for qemux86-64 than doing a blanket default that might then need to be over-ridden for vendor BSPs. Bug-AGL: SPEC-3518 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I74ce4f878f9aa3f0d555f96a79578f3d8ca72550 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25675 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>
2020-12-03meta-agl-profile-graphical: backport weston drm tear-down fixScott Murray2-0/+38
As part of the fixes for compositor start up failures on UpSquared, backport the fix for cleaning up the DRM backend when start up fails. This does result in start up working on the UpSquared, but usually after one or more failures, so a systemd dependency to avoid that will also be added via another change. However, this particular fix still seems worth applying as it may be potentially useful for AGL members that roll their own customized distributions. Bug-AGL: SPEC-3518 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9a0bcea279c0da80ff3c25bd0e6ab3f137cb6ef1 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25674 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-12-02weston_8.0.%.bbappend: Add weston_seat_* patchMarius Vlad2-0/+107
Necessary for building out waltham-transmitter-plug-in. Bug-AGL: SPEC-3601 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Idb2d5e24a28223ae4468a81bcdb5ff68b673b376 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25451 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-02weston_8.0.%.bbappend: Remove unused patchMarius Vlad2-115/+0
This removes compositor-drm-introduce-drm_get_dmafd_from_view patch which was already commented out and we no longer make use of it for the transmitter plug-in (which was the intended audience for). Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I4886d9a00b1b0af90e97622e26e5881088c082be Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25450 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-02weston_8.0.%.bbappend: Remove unused patchMarius Vlad2-41/+0
This removes main-change-remoting-initialization-timing patch. We no longer use the weston as compositor so do not need to patch it up. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I54ebb3ff8222e704454bd8d350f37208d0219c30 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25449 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-02weston_8.0.%.bbappend: Remove unused patchMarius Vlad2-265/+0
This removes ivi-shell-Fix-crash-due-no-transmitter-screen patch. We no longer make use of ivi-shell so no need to patch it up. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie34b2601dfbbfdce0e2b33844d4761601eb46922 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25448 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-11-27recipes-test: Remove blobsallad.Vasyl Vavrychuk6-211/+0
Fetching blobsallad fails with 406 Not Acceptable which causes packagegroup-agl-test build failure. Remove blobsallad since it is not needed anymore. Bug-AGL: SPEC-3696 Change-Id: Id05772ea031907e9ec7fb28a370a6757b48a9bc1 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25639 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> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-11-25Add AGL reference hardware featureScott Murray4-0/+23
Add a feature template to enable AGL H3-based reference hardware support. A feature is used as opposed to a new machine in order to meet the requirements that: * the reference hardware be bootable with a h3ulcb machine image to avoid expanding the CI test matrix * the reference hardware support be optional to not hinder Renesas BSP maintenance for the h3ulcb / h3ulcb-kf base machines If the required kernel changes for the reference hardware get upstreamed and eventually become available via the Renesas BSP this can be revisited, as the reference hardware support could then likely be reduced to just building the extra devicetree file(s). Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idcf0b8cfe8eb3c5485663ee25519a9c445362829 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25619 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-11-18cynagora: Bump version 2.1José Bollo2-4/+4
The version 2.1 fixes a critical database issue. Bug-AGL: SPEC-3677 Change-Id: I93fadbd1c12799d412724ea3e887d4910c74bbb1 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25552 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-11-16Add the nativesdk-cmake-apps-module-doc package to the SDKJan-Simon Möller1-0/+1
This is required to have the sample cmake files present in the SDK. These are mentioned in the cmake-apps-module documentation. Bug-AGL: SPEC-3688 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I54012c9ef5c5c55b24d05789df852ba2a3b947c3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25559 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-11-16meta-agl-profile-core: update pyagl SRCREVScott Murray1-1/+5
Update pyagl SRCREV to pick up: 5aed9a3 Add marks for Internet requiring tests c18df01 Add simple wrapper script e1e2300 Add CAN value tests Also add installation of the new wrapper script as /usr/bin/pyagl. Bug-AGL: SPEC-3684, SPEC-3685 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I78ad81a0b11486929a038a83f9dd3487b875985f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25578 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.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-11-13agl-image-minimal-crosssdk: Add waltham to SDKMarius Vlad1-0/+1
Bug-AGL: SPEC-3605, SPEC-3604 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I583c896ffdfeccc0868175fdaf4774d4d6f20b40 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25545 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-11-11waltham_%.bbappend: Added bbappend recipe for walthamMarius Vlad4-0/+183
Waltham no longer compiles and it is required for waltham-transmitter-plugin to function. A follow-up task has been added at SPEC-3647 to further determine what we should do about it. For now, this adds a bbappend recipe and with it 2 patches that fixes trivial compilation errors. The third patch is for 'enhancing' the waltham protocol to pass from the transmitter plug-in to the receiver side the app_id. Bug-AGL: SPEC-3601, SPEC-3647 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie01e4ad1db0a64d9d911308250ea63a79f78c6fa Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25452 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-11-11meta-agl-distro: Update aarch64 DEFAULTTUNE definitionScott Murray1-1/+1
The i.MX8 crosssdk build failure in SPEC-3626 was root caused to the DEFAULTTUNE variable being over-ridden via a machine over-ride triggered by a MACHINEOVERRIDES addition in meta-freescale's imx8mqevk.conf. To ensure that aarch64 machines use AGL's desired aarch64 tuning, switch the DEFAULTTUNE definition done in aarch64-tune.inc to using the "poky-agl" over-ride that comes after MACHINEOVERRIDES in the OVERRIDES variable definition. Bug-AGL: SPEC-3626 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Id07f73056dd75ba7cf130376e65f2731302b7e66 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25488 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-11-10[RCAR] Fix the soundcard ak4613 audio sink.Ronan Le Martret2-0/+2
Now (RCAR BSP 4.1.0) the card ak4613 got two device (the new one is for the hdmi), so we must specify the device in the wireplumber configuration. Bug-AGL: SPEC-3661 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I6fdf4fdc22d93a0558874e447ec5c4254f13d238 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25510 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> 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>
2020-11-04Revert "[RCAR] Fix gcc 10 build failed on u-boot and kernel."Ronan Le Martret4-89/+0
Bug-AGL: SPEC-3674 This reverts commit 66814faec0f8e589b48af8c22a70d94d96bf0957. Change-Id: Iad269aac57a58d909ab5ea97110538e5a89cab80 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25499 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>
2020-10-22Update pyagl to latest versionJan-Simon Möller1-1/+1
This will include: 8f44a95 Allow pyagl CAN test test_write_wo_auth to xfail Change-Id: I275f4a2213758d979cfb02bda7fd18f5386a2fbe Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25464 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-21Add dummy sound module for special test casesJan-Simon Moeller1-0/+3
Enable the dummy sound device as module so we can load it on demand. Bug-AGL: SPEC-3612 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia2fda3dff2f71d26726941a8be4ebd68a0cd9787 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25432 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>
2020-10-19[RCAR] Update Renesas BSP to v4.1.0Ronan Le Martret3-15/+15
Bug-AGL: [SPEC-3617] Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ic1f4c424f76ff5c357752e32aa8a47ff805273dc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25417 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: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-10-19Only include hda sound modules for qemuallJan-Simon Moeller3-18/+21
Limit the HDA sound module inclusion to all qemu targets. Bug-AGL: SPEC-3612 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iba3a7387c58f1738c1cd98df1d13584c2fff17b7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25443
2020-10-19Add the codecs for HDA audio by defaultJan-Simon Moeller1-0/+14
Beside the snd_hda driver we also need to enable the codecs for it to work. This fixes: hdaudio hdaudioC0D0: Unable to bind the codec Bug-AGL: SPEC-3612 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic978ea164e2f04b15babd26524f2e335ad21b982 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25440 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-19[RCAR] Fix cluster-demo image build for RCAR boardRonan Le Martret1-1/+1
* For the agl-cluster-demo-platform image we need to apply a patch on gstreamer1.0-plugins-bad package. For now the RCAR was exclude, for an unkwon reason. Bug-AGL: SPEC-3632 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ib94edf4717184946dfa20a5319d171757027ce4e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25442 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-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-14[wic] race condition: do not update the fstabJan-Simon Moeller1-0/+9
do_image_wic will run in parallel with other jobs in the current codebase of OE. Then these other jobs might get the wrong content for /etc/fstab that is modified by do_image_wic. To prevent this behaviour, disable the modification in wic. NOTE: This might have consequences on custom or complex wks files. Thus allow the user to override this. Bug-AGL: SPEC-3621 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I03cb589fb592c1d7e0ccfff54535b91ba73974be Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25412 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-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-10-13agl-compositor_git: Bump SRCREVMarius Vlad1-1/+2
This bump brings brings a bug-fix for a corner-case that dealt with hiding/showing surfaces, and it adds the agl-screenshooter protocol and a client with it -- useful to allowing users to take a screenshot but also in CI to have some basic sanity testing. In detail, the following changes have been added: - 9bb8ea6f615650 Use a configuration option for hidding out the cursor - 17d86f9b8afa69 main: Enable screenshoter interface when debug option is passed - 3ba840cd3a5a2f input: Add basic seat handling - be8288cc5b1270 client/screenshooter: Client for taking screenshots - 991714fc7f92ae screenshooter: Add agl-screenshooter protocol - 1f888f2050ac50 layout: Set active output NULL when displaying background Squashed and install agl-screenshooter client in the same commit to please yocto/OE. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I19d2b3e3176bae3586cb2913aeacbd25fd48bde7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25309 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>
2020-10-13meta-agl-profile-core: update pyagl SRCREVScott Murray1-1/+1
Update pyagl SRCREV to pick up: 8e3e058 Add radio binding tests 333ca4b Fix CAN test data installation 5a66db3 Skip signal composer tests by default 30e5954 CAN test rework to improve robustness ccd9a05 Remove "regular" test marking e29a6e1 Add CANService tests c79ce26 Add timeout ability to AGLBaseService.listener() 9dd59f4 Fix signalcomposer test c908ef0 Override un/subscribe methods in CANService 41d46f8 Fix AGLBaseService.afbresponse() for EVENT data b2c9569 Update tox.ini and requirements.txt Bug-AGL: SPEC-3583, SPEC-3585 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I998d7a7d26e93dc51f1c3f97cbafe3668ed90aa8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25405 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>
2020-10-02meta-app-framework: Handle html5 apps not having debug widgetsScott Murray1-4/+15
The previous aglwgt.bbclass change to make build/package errors fatal now trips up on the HTML5 applications, as they do not produce a debug widget, and the logic changes assumed that all widget builds would have one. To handle this, if there is no debug widget present when doing do_install, check the config.xml file in the release widget and do not throw an error if the widget type is "text/html". Bug-AGL: SPEC-3593 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If58c3065464d2d2ea3d78b8ce31304d00fae6504 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25368 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>