aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-26meta-app-framework: rework aglwgt.bbclass to solely use autobuildScott Murray2-62/+69
Changes include: - OE_QMAKE_STRIP definition added to re-enable strip so it will work for qmake based widgets. - AGLWGT_HAVE_TESTS and AGLWGT_PACKAGE_WARN changed to use 0/1 instead or true/false to match more typical OE flag usage. As well, their definitions are now done with ?= to make over-riding more straightforward. - The AGLWGT_AUTOINSTALL_${PN} variable has been renamed to just be AGLWGT_AUTOINSTALL, and a default definition has been added to make the behavior more explicit. There is only one in-tree user (the agl-service-can-high-viwi binding), which is currently not built and has been slated for removal, so this change is thought to have no impact. - A new AGLWGT_CMAKE_CONFIGURE_ARGS variable has been added with a definition derived from what is used in cmake.bbclass, and a combination of anonymous python and a prefunc is used to append its value to AGLWGT_EXTRA_BUILD_ARGS if cmake.bbclass has been inherited. This fixes issues with e.g. widgets that use CMake and Qt5, as the Qt5 CMake modules seem to have issues with finding module includes if the generated toolchain.cmake and OE_CMAKE* values are not passed down to CMake. - The do_aglwgt_package and do_aglwgt_deploy tasks have been converted into aglwgt_do_compile and aglwgt_do_install, and aglwgt_do_compile now calls autobuild to build and package all widgets. This fixes a lot of inconsistencies with respect to the debug/test/coverage widget build environment that were seen with the previous approach. - Logic has been added to clear out the target build directory (${B}) if it is not the same as the source directory (${S}) to match the behavior of do_configure in cmake.bbclass. - All autobuild invocations are now done with the working directory being the build directory (${B}). If a widget build for some reason needs it to be inside the source tree (i.e. ${S}), as before, it should either over-ride the value of B in its recipe, or change directories in its autobuild script. An example of widgets that this affects are the html5-* applications, their autobuild scripts have been appropriately updated. - The BUILD_DIR* output directory arguments passed to the autobuild script now point into ${B} and not ${S}, to ensure that the widget source trees are not contaminated if at all possible. It is believed that the previous rounds of autobuild script rework have addressed the need to support this in all in-tree widgets. - The do_install_bbappend in the agl-service-network binding recipe has been updated for the change to build output directory location. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I88ca33ad7a460436008442a3a8f1adf197f5a669 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24884 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-25Remove unused config include for pulseaudioJan-Simon Möller1-1/+0
Cleanup. Bug-AGL: SPEC-3452 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I0664d1374b613e126e9e4524dd377b911346890e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24870 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-25libqtappfw: update SRCREVRaquel Medina1-1/+1
Update SRCREV to pick up: 14c3bea: add checks to avoid duplicates in qtappfw-bt model Bug-AGL: SPEC-3424 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I79dd6404f4192f9672398e3b40510272f4865a02 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24869 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-25agl-compositor: Update SRCREVMarius Vlad1-1/+1
Bump SRCREV to match latest master. This update includes the following changes: - 06773d6a doc: Added arch diagram - 03755785 README: move README.md to doc/ - 51be2ca7 layout: Clip the view to the size specified by width and height - 7854caac shell: Pass the bounding box values to the pop-up surface - 40d73940 agl-shell-desktop: Add the ability to pass width and height as area of the bounding box - 9701fd67 (review/marius_vlad/24652) shell: Advertise application_id event for other surface roles - c8d025cd (review/marius_vlad/24651) layout: Do not attempt to activate the surface on the remote output - 16826129 src: Mark surfaces with the 'remote' role if configuration file says so - 81be1de5 main: Do the installment of black surfaces for remote outputs as well - ba9b65aa shell: Add some extra checks to make sure we don't trip ourselves - a04518d8 main: Enable remote outputs later than local (DRM) outputs - 7536014f main, layout: Minor clean-ups and added some further logging - 9af06129 main: Retrieve the agl-shell-app-id from the config file - bafead57 main: Retrieve the transform and scale from config file - 9f2f83ea src: Create an ivi_output for the remote output - 22514079 src: Hold a reference for remoting_api in the ivi_compositor - b3c4f205 main: Add the ability to load the remote plugin - 7af3d376 desktop: Remove commiting code for the panel - b491db31 shell: Do not remove the black surface if we don't have a background set for that output - c6941d74 desktop: Display a black surface for apps being moved using config file - 9d29ef9f layout: Remove black surface when trying to use migrate views to other outputs - 8df7681a src/: Use agl-shell-app-id to set-up views on a different output - f235042e layout: Add a wrapper to print out the surface role - 5c90f163 src: Insert a black surface/remove it when the last remote surface role is present - f88d870a layout, desktop: Treat the remote surface role like the desktop one - 226f4ca4 layout: Remove the quirks as now we have the policy hooks in place to handle that - 978c7f8c src/: Add the remote surface role - 0e4d30b4 src/: Add all surface roles to a wrapper for retrieving the output - 496b4170 (sandbox/mvlad/split-wip-take2) layout: Do not attempt to activate a split or a fs surface - a9ae8d75 layout: Resize the active surface when doing the split - 831d1b21 layout: Allow to commit the fullscreen and split surface roles - a2d066f0 layout: Remove unused ivi_compositor reference - af2b5c21 shell: Determine the role type - edbfbad7 shell: Introduce fullscreen and split role type of a surface - f73edbcf desktop: Missing assert include - a2f9566b desktop: Handle correctly panel and bg removal of agl-shell unbind - 79420056 README.md: Add documentation details about agl-shell and agl-shell-desktop Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I67971d937e0348d31c2e47c70ebffe6127f96bbe Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24865 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-06-25Merge "Merge the agl-compositor sandbox into master"Jan-Simon Moeller9-70/+38
2020-06-25gstreamer1.0-plugins-bad: Modify meson build file to install waylandMarius Vlad3-34/+29
header Removes the older patch in the process as autotools/autogen are no longer in use. Bug-AGL: SPEC-3382 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib5c99b62e5cd434bc8ebfd7c1b5460784f72e806 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24860 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: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-06-25Mask the recipe in meta-rcar-gen3-adas incompatible with YP 3.1.1Jan-Simon Möller1-0/+2
There is a bbappend in the cogent layer which is not forward-compatible with YP 'dunfell' 3.1.1 . BBMASK it until upstream did fix it. Bug-AGL: SPEC-3445 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib301bb14e53a37f445c74461982fbbc24bcdae2f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24861 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-06-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