summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-24Merge the agl-compositor sandbox into masterJan-Simon Möller9-70/+38
The changes prepared by Marius for agl-compositor have been reviewed in the sandbox/mvlad/agl-compositor. This is the merge to master. Notes: - weston+ivi-shell+windowmanager are replaced using agl-compositor - applications have been adapted accordingly - CI will likely fail as we need to merge all related patches Updating 8e93c361..95b8edd4 Fast-forward meta-agl-bsp/conf/include/agl_rcar.inc | 11 ++++++++++ meta-agl-profile-graphical-qt5/recipes-qt/qt5/qtwayland_%.bbappend | 4 ++-- meta-agl-profile-graphical/recipes-graphics/wayland/agl-compositor_git.bb | 6 +++++- meta-agl-profile-graphical/recipes-graphics/wayland/weston-init.bbappend | 7 +++--- .../recipes-platform/packagegroups/packagegroup-agl-graphical-weston.bb | 3 +-- meta-app-framework/recipes-core/af-main/af-main_git.inc | 2 +- templates/base/99_local.conf.inc | 14 ++++++++++++ templates/feature/agl-compositor/50_local.conf.inc | 48 ----------------------------------------- templates/feature/agl-compositor/README_feature_agl-compositor.md | 13 ----------- 9 files changed, 38 insertions(+), 70 deletions(-) Bug-AGL: SPEC-3444 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Iea2b7367fdf1c9874b4b76a016b9d1a181b0e791
2020-06-24Make the agl-compositor the default compositorJan-Simon Möller6-67/+25
This makes the agl-compositor the default starting with Jumping Jellyfish For development purposes, you have these variables at hand to influence the setup: AGL_DEFAULT_WESTONSTART AGL_DEFAULT_WM_SHELL Check your conf/local.conf for details. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Iceb35375e04f947009800b80511f6360026403fe
2020-06-24af-main: update SRCREVScott Murray1-1/+1
Update app-framework-main SRCREV in af-main recipe, picking up changes: ac6f7ed Add weston dependency for units with display permission Bug-AGL: SPEC-3411 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iecb3cec7674e5c0a634925067cf66a27581536a3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24788 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.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-24templates/feature/agl-compositor: Replace SRCREVs with AUTOREVMarius Vlad1-16/+16
As the applications are still in flux and require often modifcations use AUTOREV to point to HEAD. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Icdd2b5e0aa7a59fb32c65ce67c7d5bd2a3542b71 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24539 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-06-24packagegroup-agl-graphical-weston: Remove weston-ready dependencyMarius Vlad1-2/+1
weston-ready was in place to make sure that weston was up and running before agl-service-windowmanager. As the latter will no longer be needed we no longer need weston-ready (not only that but it blocks/hangs other apps from running with the agl-compositor). Bug-AGL: SPEC-3342 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ic4b1ff54acb45eb1e28595443b788b061949623f
2020-06-24Remove unused pulseaudio bbappends and pluginsJan-Simon Moeller10-1330/+0
This is not actively used for a long time. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I93f8c339e12837fac9dcedd51bb26f889d850e34 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24811 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-24Revert "Fix m3ulcb/m3ulcb-nogfx h3ulcb/h3ulcb-nogfx builds"Ronan Le Martret8-20/+8
This reverts commit 207b42d00d129aeb7768dadb0965a5ef6cd86ca0. This reverts commit c24cdffea9dfa3904fc3ea9da0bc80e5515b078d. Bug-AGL: SPEC-3380 Change-Id: I2e29c1bc862d29d61a4529ee722b758fca6a42e0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24759 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öller5-44/+1
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-19meta-netboot/README: Fix typo when passing commands to u-bootMarius Vlad1-1/+1
README refers to some raddr and rfile (the initrd address and the file to load). Copy-pasta them into u-boot would boot correctly. Bug-AGL: SPEC-3439 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I09b4cadd59be4a40371f35d71708cd59c38bc7f4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24790 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-06-18cmake-apps-module: update SRCREVScott Murray1-1/+1
Pick up changes: dc06c9d Update autobuild script templates 811548a Fix generated install target 7f16573 Revert "project_targets_populate: source_permissions, test" cab6a70 project_targets_populate: source_permissions, test Bug-AGL: SPEC-3300, SPEC-3381 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I211e2acef3262cef9af510bded77e97e0fa216be Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24787 Tested-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> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-06-17afb-test: use AGL_APP_REVISION as SRCREVScott Murray1-1/+1
Switch afb-test recipe to using AGL_APP_REVISION as its SRCREV as all the other binding recipes do. This change picks up commits: 50911c8 Update autobuild scripts ac22860 Change skip test verb Bug-AGL: SPEC-2049, SPEC-3343 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia148127ed90d900f021023fba99700f97925328e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24776 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-06-17Adapt the local.conf.sampleJan-Simon Möller1-2/+77
Add PRSERV, Archiver and Parallelism options for reference. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I40edf03201b053006c67c55270da4ec31c60c054 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24774 Reviewed-by: Scott Murray <scott.murray@konsulko.com> 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-06-17Update conf-notes.txt with current targetsJan-Simon Moeller1-24/+43
Adapt the conf-notes.txt with what is available in the tree. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I64b941915690289fa6a8d7b295bc4269533df18d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24773 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-10split libqtappfw in modulesRaquel Medina1-1/+1
- Update libqtappfw SRCREV to pick up: ae208a6: split qtappfw in independent qtappfw-* modules 45dc51a: enforce engine object access via factory cb62d2e: block direct *Message objects creation Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I1353b2e19cac541e57f4e0e8c423a556a0121e2b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24628 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Scott Murray <scott.murray@konsulko.com>
2020-06-10meta-agl-profile-core: remove agl-service-steering-wheelScott Murray1-14/+0
Nothing in-tree uses the agl-service-steering-wheel binding, which was specific to one particular older demo setup with a USB steering wheel peripheral. As well, it has never been converted to use the CMake app templates, and thus lacks proper support for building debug/test/coverage widgets. To ease maintenance effort and keep the core set of APIs cleaner, remove it. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib0f33886b251397db1d63e7174f23daabf31d7ad Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24679 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-06-10meta-app-framework: aglwgt.bbclass fixesScott Murray1-16/+16
Changes include: - AGLWGT_EXTRA_BUILD_ARGS definition reworked to pass PARALLEL_MAKE in as BUILD_ARGS, as that gets it down to where it needs to go to be useful in most of the autobuild scripts/makefiles. - The logic has been tweaked in do_aglwgt_package to only try to build the coverage version of widgets for things that have test widgets. This avoids build and packaging complications with applications, and seems reasonable ATM given there are no plans to attempt coverage for non-bindings. - A widget not being present after calling "autobuild package" has been bumped to bbfatal instead of bbwarn for the release widget to immediately flag errors. - "-maxdepth 1" has been added to the find commands used to check for widget presence to avoid picking up stray .wgt files outside of the immediate target build directory. Bug-AGL: SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9d814894684b525f774f730c8e94e1c46cda16ce Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24677 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-10agl-service-homescreen: use AGL_APP_REVISION as SRCREVScott Murray1-1/+1
Switch agl-service-homescreen recipe to using AGL_APP_REVISION as its SRCREV as all the other binding recipes do. This change picks up commits: 89edd73 Fix CMake files and non-debug crashes 055909f Update autobuild script to create new targets Bug-AGL: SPEC-2049, SPEC-3343 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibb1b8b78f5dc15b73a81d51afe87082cd9796d9e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24676 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-03agl-virt-guest-xen feature for qemuarm64Leonid Lazarev3-4/+37
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-06-01Fix m3ulcb/m3ulcb-nogfx buildsScott Murray4-4/+10
Temporarily disable the Kingfisher support layer in the m3ulcb and m3ulcb-nogfx machine templates as was done for the h3ulcb templates. This fixes building with these machine types. Bug-AGL: SPEC-3380 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib54490ef95582909a34c9d3001283c40debf241b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24589 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-05-30meta-app-framework: update af-main SRCREVScott Murray1-1/+1
Update app-framework-main SRCREV in af-main recipe to pick up: f8cee78 Fix uninstall of widgets without icons f8f2338 Improve use of systemd's states Bug-AGL: SPEC-3323, SPEC-3401 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I35f6fcb8677bd3d5d49e588d03f5868249532baa Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24584 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-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-28Ensure the ptests used in CI are part of the filesystemJan-Simon Möller1-0/+1
Explicitely call of the ptests used in CI to be part of the filesystem. This will fix h3ulcb-nogfx not having the lua ptest deployed. Bug-AGL: SPEC-3398 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I058a5a0d0a3a39710316b3d366a3d94215d1cedc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24577 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-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 Murray8-40/+62
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 nss-localuser postinst scriptlet to run only on the targetJan-Simon Möller1-1/+1
Otherwise we fail on do_rootfs now. Bug-AGL: SPEC-3385 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I47be059b77a79e7f6414ea233f591b4957db4818 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24530 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-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-21templates/machine/bbe: Populate the README file with some linksPaul Barker1-5/+8
Also use the general Yocto/AGL Sancloud mailbox in the authors tag. Bug-AGL: SPEC-3372 Change-Id: I7f56db2b7ddc1333753f38e83d7e37c97705ee53 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24557 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Scott Murray <scott.murray@konsulko.com>
2020-05-21templates/machine/bbe: Re-enable SanCloud BBE supportPaul Barker4-1/+0
Bug-AGL: SPEC-3372 Change-Id: Iac7417e40c39facc12edc8e312d5295d993f69f4 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24556 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-05-19templates/feature/agl-compositor: Update homescreen SRCREVMarius Vlad1-1/+1
Missed removal of agl-service-winndowmager so this SRCREV update handles that. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib18d2d0d7231c8274cb3b09497d568f1eecc4ed7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24528 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-19libqtappfw: update SRCREVRaquel Medina1-1/+1
Update SRCREV to pick up: 3bd1bb0: fix compilation for new Qt version 5.14.1 be7f78b: share MessageEngine instance Bug-AGL: SPEC-3112 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I806769b64c521aff063f2c7e5778e748d81f54b9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24534 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-19templates/feature/agl-compositor: Add proper dependecies forMarius Vlad1-1/+2
alexa-viewer Noticed that alexa-viewer is missing wayland* dependencies, needed to generate client headers for agl-shell-desktop protocol and wayland-client related libraries. Updates SRCREV to lastest version, which avoids AFM websocket dependency. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If52e063a58e5bc274315ae01fceb8d0243fd7662 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24531 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-18Rework test/debug image features and crosssdk image definitionsScott Murray13-78/+41
Changes include: - The agl-test-wgt/agl-devel-wgt image features and the scheme of appending to their FEATURE_PACKAGES definitions turned out to be problematic with respect to resulting in unexpected extra packages ending up in agl-image-{minimal,ivi}, etc., when building with agl-demo configured (which is typical usage). To avoid this, the FEATURE_PACKAGE definitions for the image features have been replaced with tweaks to define COMPLEMENTARY_GLOBS for the features to bring in the test/debug/coverage packages via that mechanism. - The above removes the need to define the extra test/devel packagegroups, and requires some minor tweaks to aglwgt.bbclass to use a -debug package for the debug widget instead of -dbg, to avoid collisions with the dbg-pkgs image feature. As well, the afb-test package has been added as to RDEPENDS of all test widget packages, since that seems sensible and avoids needing to explicitly adding it elsewhere. - Attempt to rework the various crosssdk image definitions to use a layered set of .inc files to remove duplication and ensure that additions to the SDK are declared once in the appropriate profile. It is likely that a clean sheet implementation would have some things coming from meta-agl-profile-graphical, so further rework may be required/desired to continue cleaning things up. Bug-AGL: SPEC-3300, SPEC-3375 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I942b61501beb41d037001b70a501f90b9a59c45d
2020-05-17templates/feature/agl-compositor: Use sha1 and topic branchesMarius Vlad1-0/+20
for other apps as well While at it, use topic branch for agl-service-homescreen, as it has is requires agl-service-windowmanager to be running. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie19058e19c9355d0d256aeb5e68b7e236b1934c1
2020-05-17templates/feature/agl-compositor: Add alexa-viewer, settings and onscreenapp toMarius Vlad1-0/+6
the local conf template Examples and real uses-cases converted to using agl-shell-desktop, for now as local sandbox branches. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iaab99d71057099c862bba6a43c599e1b99664f18
2020-05-17templates/feature/agl-compositor: Use the correct nav appMarius Vlad1-5/+5
Turns out, I had converted the wrong nav application. No wonder it didn't work correctly. Use ondemandnavi which seems to be the correct navigation app used now in the demo. On the same chapter, update to the latest SHAs the other apps as well. Bug-AGL: SPEC-3124, SPEC-3123 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib4c3ff698859ecfe21a3f294d692aca4ff749342
2020-05-17weston-init: Use the same config file from westonMarius Vlad1-0/+1
Bug-AGL: SPEC-3374 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1f3f78c8b15b1c488b12bff4fcc79c0511a48955
2020-05-17qtwayland_%.bbappend: Force resize after buffer swapMarius Vlad1-0/+1
As the qtwayland client will sometimes 'forget' to do a redraw when resizing back to the original geometry force it to happen each time at the end of the EGL buffer swap. Temporary fix until a proper one is done inside qtwayland. Bug-SPEC: SPEC-3334 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iabf53065222a5ee803baf8ed146a11dd24a96860
2020-05-14agl-compositor: Update SRCREV for libweston8 updateMarius Vlad1-1/+1
The following update adds support for libweston8, pop-up kind of dialogs, a few fixes and includes the following: - 1956bd3bfb0 main: Convert to using the logging/debuggging fraemwork - ac4e3581fb1 main: Add a (valid) return code when exiting - 61dea1841a4 main: We don't have weston-debug extension available - a7887be3ed9 meson.build: Add a meson variable to track libweston version - 35b1ed57d2a main: Subscribe to the logger scope - 6e60f22455c meson.build: Update build version - 25ede504313 policy-default: Install default for the state event notify - b4ae3794bc9 policy: Add another hook for controlling the application state change event - 401773a4639 protocol: agl-shell-desktop: Send notification for application state change - 795eb91d057 policy-default: Install default policy for deactivate request - ee9259703dc policy: Add a new policy hook for deactivating apps - 65f9de0a549 policy-default: Add the de-activate request to the default policy - d0b4585202c agl-shell-desktop: Add the ability to hide client windows - 410d47884ff layout: Save the pending output - ef3d1990c49 shell: Store the ivi compositor in the desktop_client - 5ce0b5d5200 layout, desktop: Implement the pop-up role - ab151e5d3d1 agl-shell-desktop: Allow to set role properties for the application - 63b6b6b1e14 shell: Display previously pending surface once the ready request was received - 225415dcbad meson.build: Increase agl-compositor version for libweston8 upgrade - f5141881d54 main: Update weston_compositor_add_log_scope to libweston8 - 79dacfa4f3d meson.build: Increase to libweston8 dependency - 457456edb3d main: Use bool for weston_config_section_get_bool() Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ifcc94efa9a84fb261330a43d7e22efda1bbde1ca
2020-05-13qtwayland_%.bbappend: Migrate the qt shell integration to the properMarius Vlad2-3/+9
place The proper place to choose the qtshell integration is with qtwayland so migrate it there. While at it, upgrade to xdg-shell stable instead of using the unstable v6. Bug-AGL: SPEC-3133 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I67b92cd744c4e34c9a603b9535823d9562d4bdf8
2020-05-12Update Raspberry Pi (3/4) templates to match meta-raspberrypi configurationJan-Simon Möller5-198/+29
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 Murray11-23/+63
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-12meta-agl-profile-graphical: add SMACK labelling for westonScott Murray6-103/+28
The initial patch to allow disabling memfd usage in weston has proven to be naive, as the v7 wayland seat resource changes in Weston 8.0.0 are dependent on them. To avoid needing to make more invasive changes such as forcing the seat resource version back to v6, drop the patch in favor of having Weston run under a System::Weston SMACK label and adding the rules required to have it work. As well, use-XDG_RUNTIMESHARE_DIR.patch and the associated service unit changes have been removed since they are not required now with explicit labelling in place. Bug-AGL: SPEC-3305, SPEC-3350 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I8aef287219a7f95992a82f4ec2ee8e1822ca4ce8
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
2020-05-12Widget packaging reworkScott Murray9-89/+128
aglwgt.bbclass changes: - Made the autobuild/agl/autobuild script a hard requirement, as all upstream widgets have it, and this is the first step to actually using it in the class to drive building the widgets after a subsequent round of autobuild script updates. - Reworked wgt packaging to simplify the logic and split the test, debug, and coverage widgets into separate packages to allow installing them separately. - The on target install directories for the widgets have been changed to release, test, debug, and coverage under /usr/AGL/apps, with the previous logic with respect to the AGLWGT_AUTOINSTALL variable being retained for the few widgets that need to go into the manualinstall directory. An "autoinstall" symlink has been added to point at the release directory to maintain previous behavior. This should allow a simple path to configuring installation of the debug or coverage widgets on first boot with future changes. - Added logic to only assume test widgets exist for recipes with names starting with "agl-service-". This can be over-ridden by defining AGLWGT_HAVE_TESTS as "true" in a recipe. - Added AGLWGT_EXTRA_BUILD_ARGS variable for passing extra arguments to widget builds. Currently its default value includes the previous VERBOSE=true that was passed to every autobuild invocation, and "${PARALLEL_MAKE}" which has been added to improve build speed. - Added AGLWGT_PACKAGE_WARN variable to control extra warnings around the existence of test/debug/coverage widgets when packaging. Once further build rework is done, the default for this will likely be changed to "true", currently the output is too verbose to do so. - Removed over-rides to force building of test widget when building with the agl-ptest feature set, as it is now unnecessary and will result in an undesired extra copy of the test widget in the release folder. Other changes: - Created new devel and test packagegroup variants for several of the existing packagegroups to contain the associated widgets. - Added agl-devel-wgt and agl-test-wgt IMAGE_FEATURES to control the addition of dbg/coverage and test widgets to images. Additions to the FEATURE_PACKAGES variables have been added in several places to add the corresponding widget packagegroups. - Added the agl-devel-wgt image feature to the agl-devel feature template definition to match current behavior. Bug-AGL: SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3a28615db94bbc04e30e98ac3dce8cae942a499f
2020-05-07af-main & af-binder: Fix infinite loop and C++José Bollo2-2/+2
af-main: Fix an infinite loop when starting applications * e7ac328 afm-urun: Fix infinite loop on start status af-binder: Fix a missing header when compiling C++ * 33ddfb5 Fix includes of C++ header Bug-AGL: SPEC-3323 Bug-AGL: SPEC-3358 Change-Id: I06a05427b33791a242038d278e452fd73806d2f5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2020-05-04meta-agl-bsp: extend qemux86-64 hardware supportScott Murray6-0/+152
Copy extra hardware support kernel configuration fragments used with meta-intel for intel-corei7-64 machine over to also use them with qemux86-64, and add apparently now required LPSS configuration options to x86-upsquared.cfg to fix serial console support. Bug-AGL: SPEC-3353 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iabcd7701f6967c877b295c09c1d328d69c4d0deb
2020-04-27Merge branch 'next'Jan-Simon Möller83-3663/+440
* next: Temporary workarounds for h3ulcb and bbe [RCAR] use omx-user-module as libomxil provider meta-agl-bsp: dra7xx-evm/beaglebone updates for dunfell meta-agl-bsp: remove obsolete linux-fslc-imx bbappend meta-agl-profile-graphical-qt5: remove Chromium specific bits from SDK meta-agl-profile-graphical: disable memfd usage in weston meta-agl-bsp: update raspberrypi configuration for dunfell meta-agl-{bsp,distro}: update kernel configuration for dunfell meta-agl-profile-core: update psplash for dunfell meta-agl-profile-core: update systemd for dunfell meta-app-framework: set DISTRO_FEATURES_NATIVE meta-agl-profile-core: update bluez5 for dunfell meta-agl-profile-graphical: update weston for dunfell meta-agl-profile-graphical: update wayland-ivi-extension for dunfell meta-agl-profile-graphical: update wayland for dunfell meta-agl-profile-core: update pulseaudio for dunfell meta-security: update to audit 2.8.5 Update distro_features_check usage meta-agl-bsp: remove vboxguestdrivers recipe Declare layer compatibility for dunfell Change-Id: I879ad3040ed6f2fca3f21d189ccce7f1614013b5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>