aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2020-04-27Temporary workarounds for h3ulcb and bbeJan-Simon Möller8-4/+11
To allow the dunfell upgrade to be done early, these changes are necessary: - h3ulcb : disable kingfisher support layer - bbe : temporarily replace sancloud bbe machine template with plain beaglebone Both boards need updated BSPs for dunfell. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Id481b693022a2276c4d5f835e4a23d436681a2cd
2020-04-27[RCAR] use omx-user-module as libomxil providerRonan Le Martret1-0/+1
* PREFERRED_PROVIDER_virtual/libomxil is the standart way to define dependency on gstreamer1.0-omx recipes. Bug-AGL: SPEC-3328 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I061c0142f56ee4348809876c08b818944514bce3
2020-04-27meta-agl-bsp: dra7xx-evm/beaglebone updates for dunfellScott Murray4-2/+9
Changes: - Rename weston bbappend for weston 8.0.0 in dunfell. - meta-ti now requires the meta-arm layer as the upstream source of the optee recipe, so add it to bblayers.conf in the machine templates. This is dependent on a manifest update to add meta-arm. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib6b40d3aa1d2b04239b6e5343eb818f3f49af8ef
2020-04-27meta-agl-bsp: remove obsolete linux-fslc-imx bbappendScott Murray1-23/+0
meta-freescale has removed the linux-fslc-imx recipe in its master and dunfell branches, so remove the local bbappend to avoid parse errors. That kernel is currently not used by any machine template in-tree, so there should be no impact. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iea9a5ae11ef90f5ce217ac5b379b133c6d0948a8
2020-04-27meta-agl-profile-graphical-qt5: remove Chromium specific bits from SDKScott Murray1-28/+0
The gn tool recipe is not usable on dunfell due to python2 dependencies, and the current AGL solution for web applications does not require building Chromium with the SDK, so remove the packages explicitly added for Chromium to cut down on the SDK size and build time. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1cb10fa919d331b231e6c393674be5e71c00edc0
2020-04-27meta-agl-profile-graphical: disable memfd usage in westonScott Murray3-1/+84
The YP dunfell release's Weston 8.0.0 is the first version to switch to hard-coded usage of memfd's for its shared memory access if the memfd_create system call is available in libc. At the moment, this is problematic since accesses to the non-filesystem file descriptors get blocked by SMACK. For now, while a longer-term solution is worked out in SPEC-3305, patch Weston to allow disabling memfs usage at build time, and do so by using the option in our bbappend. Bug-AGL: SPEC-3302, SPEC-3305 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie217c63cd4f43e3de1e802cb026c1ee2905bc5b7
2020-04-27meta-agl-bsp: update raspberrypi configuration for dunfellScott Murray4-20/+1
Changes: - Remove Mesa version over-ride, since dunfell has newer version. - Remove bcm2835-bootfiles SRCREV updates since dunfell has newer versions of the files. - Remove kernel SRCREV update in linux-raspberrypi_4.19.bbappend since dunfell has newer version, and add include of new linux-4.19-agl.inc to keep getting CAN qdisc patch. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7f7a9b454de9eb4fae7075b30ee89b3aec4e6a43
2020-04-27meta-agl-{bsp,distro}: update kernel configuration for dunfellScott Murray6-67/+7
Changes: - Rework CAN qdisc patch application, as it is not required for 5.4 or newer kernels, this includes adding a linux-agl-4.19.inc for BSPs using 4.19. - Remove linux-agl-4.9.inc and associated patches, as no BSP uses 4.9 at this point. - Remove PREFERRED_VERSION_linux-yocto from poky-agl.conf so the default 5.4 linux-yocto kernel will be picked up. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9c0eb431661641bd17320a00cdf1ed4e717a9754
2020-04-27meta-agl-profile-core: update psplash for dunfellScott Murray4-54/+2
Remove local systemd enablement changes for psplash in favor of using upstream support added in dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I13a4b2523fe869898b2ccede793afd0cdefbab88