summaryrefslogtreecommitdiffstats
path: root/meta-agl-core
AgeCommit message (Collapse)AuthorFilesLines
2022-03-30meta-agl-core: remove image-mklibs usageScott Murray1-2/+2
image-mklibs.bbclass has been removed from upstream poky in honister, remove usage in the poky-agl distro configuration and the base local.conf.sample file. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I25f5edb7afd28f874f10062af56d3282ae910346
2022-03-29meta-agl-core: use next branch for weston dependent packagesScott Murray3-0/+7
Add a "aglnext" OVERRIDE in the distro configuration, and use it to select the "next" branches in the agl-compositor and waltham-transmitter-plugin recipes, and use AUTOREV for their SRCREV. The latter will allow rebasing the next branches in those repositories as next branch updates occur without requiring SRCREV updates every time. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4f2a57fface53374d9428b5af1c6ad02edfde7eb
2022-03-29meta-agl-core: update poky-agl distro configurationScott Murray1-2/+2
Replace use of DATE with METADATA_REVISION to match upsteam's change (which was to improve reproducibility) Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4dc14cdb682730af442c90e73ee3d1d205e497e3
2022-03-29meta-agl-core: update ptest-runner patchScott Murray1-23/+21
Update local ptest-runner patch for LAVA enablement to work with newer version in upstream poky master. v3: update for ptest 2.4.2 Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I818c8fc0e18510f2a9d8c888bb923772b2f2e901
2022-03-29meta-agl-core: update weston-ini-confScott Murray8-9/+14
Update weston-ini-conf recipe to handle weston 9.0 in poky master. The changes are to handle the flip of the meaning of 90 and 270 degree rotations in the transform option in weston.ini, and the rename of its values to "rotate-X" instead of just the number of degrees. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2bb316a195f7eb3733ff757a565535317db1da08
2022-03-29meta-agl-core: update westonScott Murray9-340/+11
Update weston bbappend for weston 10.0 in poky master, and remove now upstreamed patches. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5d10435ec9b7c18bb36e8a88f6853f1628e5b052
2022-03-29meta-agl-core: update systemd patchesScott Murray3-142/+0
Remove patch for now upstreamed fix. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2f4441e8936df72edea2b1256fd06bed6fd8c2b1
2022-03-29Declare layer compatibility with kirkstoneScott Murray1-1/+1
For tracking upstream, we need to update the layer compatibility. Bug-AGL: SPEC-3819 Change-Id: Ic1bc22653e59b2891d77d44cdd409a805e5cc332 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-03-23Master branch is now needlefishJan-Simon Moeller1-2/+2
With the 'marlin' release branch being cut, master is now open for changes to the upcoming 'needlefish' release. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ifdae048c4b89a6dc7acf9e26cdfc0f123e0e0230 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27273 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2022-03-18wayland/agl-compositor_git.bb: Bump SRCREVMarius Vlad1-1/+1
Another bump update for agl-compositor, addresses a small issue found while using the cursor + some left-overs which have been added with the previous update. Since the last SRCREV update, the following changes has been added: - cec4cf8fe409c layout: Address all other callsites w/ dirty+surface damage - 62e020b90b062 layout: Inflict surface damage - b06ffcc3ca1ed layout: Remove left-over comment - f24765124d3a5 Fix potential memory leak - 9cc8100eef72b meson.build: Don't set the dependency type for wayland-scanner - 26c37c4140ce5 Fix potential memory leak Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id2ba7019777da1c06fdecec5a174c8bfeae1a7f3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27252 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-03-18Fix potential memory leak of two pointers (xwayland and client)duerpei5-0/+324
This backports four patches from weston to solve a memory leak problem These four patches are: https://gitlab.freedesktop.org/wayland/weston/-/commit/5a6604a7a2e52e5cd84c1f53724b3f7c325b5dff.patch https://gitlab.freedesktop.org/wayland/weston/-/commit/f53c05d3c2c19c139c52e9bd621c2654dd3dac69.patch https://gitlab.freedesktop.org/wayland/weston/-/commit/e2583ca0844bd7a8ce4fc94da9ad67edf49ffd45.patch https://gitlab.freedesktop.org/wayland/weston/-/commit/8740037a93c7c4400cc381ecf3009d1e4014be07.patch The following is the valgrind log: 160 bytes in 1 blocks are definitely lost in loss record 39 of 66 at 0x484B64C: calloc (in /usr/lib/valgrind/vgpreload_memcheck-arm64-linux.so) by 0x4A73C87: ??? (in /usr/lib/libweston-desktop-8.so.0.0.0) by 0x4A7184F: weston_desktop_create (in /usr/lib/libweston-desktop-8.so.0.0.0) by 0x487096B: ivi_desktop_init (in /usr/lib/agl-compositor/libexec_compositor.so.0.0.0) by 0x486F5E7: wet_main (in /usr/lib/agl-compositor/libexec_compositor.so.0.0.0) by 0x48B010F: (below main) (in /lib/libc-2.31.so) In agl-compositor/src/composiotr.c "ivi->desktop->compositor->xwayland" is zalloced by wet_main()->ivi_desktop_init()->weston_desktop_create()->weston_desktop_xwayland_init() "ivi->desktop->compositor->xwayland->client" is zalloced by wet_main()->ivi_desktop_init()->weston_desktop_create()->weston_desktop_xwayland_init()->weston_desktop_client_create() "ivi->desktop->compositor->xwayland" and "ivi->desktop->compositor->xwayland->client" The memory pointed to has not been released Now, I want to free the memory pointed by the two pointers. What can do this is the function of weston_desktop_xwayland_fini() in 0003-libweston-desktop-add-weston_desktop_xwayland_fini.patch And the submission of this patch depends on the first three patches, so I submitted these four patches. Bug-AGL: SPEC-4291 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I3b1140e88eadad9e378c2bb43221026e280ecd90 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27257 Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2022-03-16Update distro configuration after releaseJan-Simon Moeller1-2/+2
Stabilization cycle open for Magic Marlin (final) 13.0.0 . Bug-AGL: SPEC-4268 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ifb3b39670535ea4014768e4bcde3d78770c660de Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27267 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-03-05Fix potential memory leakmarlin_12.93.0marlin/12.93.012.93.0duerpei2-0/+35
Bug-AGL:SPEC-4259 Signed-off-by: duerpei <duep.fnst@fujitsu.com> Change-Id: I4be57103eee67d64893baccf878d2dbebd1f9cf5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27219 Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-03-05Disable CONFIG_RELAY on BBE boardJan-Simon Moeller2-0/+2
The config option does provoke an Internal error at runtime. Disable it for the BBE. Bug-AGL: SPEC-4156 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I9c6c8a1279a3c4f40c383e036251f51bb4e9fc8e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27240 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-02-26Update distro config for Magic Marlin Milestone 3Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-4268 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1e6216aa00b907fdadff757b4d13008c1b6b6cd2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27222 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-02-17Post-release update of distro configurationJan-Simon Moeller1-2/+2
MM m2 is out. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If2b8c67600fbd4a62c03ec4bb8268b00d81962a3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27207 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-02-17Remove IMAGE_FEATURES setting from agl-image-westonJan-Simon Moeller1-2/+0
This should be set down in the final images if required. We do not need it in the core image that will be reused. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic694e5a3209336adbb6e558ceb205c7cc306b8d8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27168 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2022-02-07Prepare Magic Marlin Milestone 2marlin_12.92.0marlin/12.92.012.92.0Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-4245 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If45ab3bab534233d5eb5ee608e08b50b8769852a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27157 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-01-19meta-agl-core/recipes-graphics/wayland: Backport two fixes for libweston-8Marius Vlad3-0/+86
This backports two small fixes for some potential libweston crashes happening on the DRM backend tear down, or EGL initailization failure paths. Bug-AGL: SPEC-4197 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reported-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idc28bb7ef6d8fde8c149bb5eb35a2ba40a25706a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27068 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-19recipes-graphics/wayland/agl-compositor_git.bb: Do another SRCREV bumpMarius Vlad1-1/+1
As it seems I've broken the screenshoter for single ouputs, this bump is necessary to get it working again in CI. Specifically this bump includes the following changes: - 2ee86feebc8888d client/screenshooter: Compute the width/height for a single output - 838df78fe94e5bb agl-compositor: Add NULL check after creating surface/view Bug-AGL: SPEC-4217 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If5ad858d2e9aed9f8fc074f7240b54334267538c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27083 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-17weston_8.0_aglcore.inc: Set-up app_id for toytoolkit appsMarius Vlad2-0/+86
Necessary to allow weston-terminal to be able to set-up an app_id. Bug-AGL: SPEC-4218 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I221ed0160d33136b0fd51ce9eb1277b0ce21b815 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27085 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-12recipes-graphics/wayland/agl-compositor_git: Bump agl-compositor SRCVREVMarius Vlad1-1/+1
The most notable change is an update in the agl-shell protocol and with a version increase. A few other bug-fixes have also made it. Specifically, since the previous update the following changes have added: - 471a12ee38098aaa agl-compositor:Add NULL check after zalloc in src directory - 18918978ba5c0f91 agl-compositor:Add NULL check after zalloc in screenshooter.c - 6371b14eb0abbb23 agl-compositor: Correct several spell issues in the protocol xml files - 53046f8863e0320d agl-compositor: Correct several spell or grammar issues in the README.md file. - fd4708c898aafc58 layout: Remove explicit damage call - d456a0c59a316f8f layout: Inflict damage on all subsurfaces - c0bc469e505b91e0 meson.build: Bump compositor version - 9e9c768ad6360ef5 shell: Refactor pending surfaces for existing pending ones - 6d4038380b39f204 src/desktop: Add a compositor destroy listener - 5101851ecb304e75 src/shell: Add set_app_property_mode request - e4f4aef1a5b1feb9 layout: Fix-up the positions when placing the pop-up/dialog - 52df92d73985dba8 shell: Fix passing maximized state from the start - b25020f9a5055c4c meson.build: Add a waltham-transmitter pkg-config pc file - e5016cbc47b46b86 meson.build: Conditionally build with headless support - d6f64b665a39e0bd meson.build: Clarify out-of-tree build error - 5b8d4c56e7d793cf clients/screenshooter: Fix taking screenshot on multiple outputs Note that with this bump update, starting with `c0bc469e505b91e0 meson.build: Bump compositor version` all clients using the agl-shell protocol will have to be updated to use agl-compositor-protocols-0.0.20 version. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ica7bb61f16664fb74f051fd7bf2e61120cb1dba7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27074 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-01-12Update distro configuration after releaseJan-Simon Moeller1-2/+2
Magic Marlin M1 is out. Update the distro configuration. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I9c33f9adb9565b7aacc5db52efbd458d2e0511de Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27076
2022-01-10meta-agl-core: gstreamer: Add ↵Vasyl Vavrychuk3-0/+64
0001-waylandsink-Fix-xdg_shell-fullscreen-mode.patch. It is needed to make waylandsink work with AGL compositor. Patch included conditionally to pass: meta-agl-core/scripts/run-yocto-check-layer.sh Bug-AGL: SPEC-4148 Change-Id: Iebe5595e468404483d7e599c6c4a664474271988 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26981 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-12-24Prepare Magic Marlin Milestone 1marlin_12.91.0marlin/12.91.012.91.0Jan-Simon Moeller1-3/+3
Magic Marlin Milestone 1 is v12.91.0 . Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If0edb4ead565b0deac1dffe482dca5f137522995 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27062 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-23Refresh ptest-runner patch for latest dunfellJan-Simon Moeller1-11/+19
This fixes WARNING: ptest-runner-2.4.0+gitAUTOINC+834670317b-r0 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz] Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I47e3bbc32ad324c989b298849d3792a59ef8a606 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26978 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-22meta-app-framework: tweak agl-driver definitionScott Murray1-0/+1
Tweak agl-driver user definition in agl-session recipe to ensure it is a member of the video and display groups (the latter has been added back to the static group file). This is required to avoid agl-compositor startup failures on rcar3. The display group membership potentially could be dropped if we were to bbappend rcar3's gles-user-module recipe to tweak its udev rules. For now, take the most straightforward approach. Bug-AGL: SPEC-4161 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7237ade5d8680655f17716ac048349a476eb5f29 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27060 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-12-08weston: allow weston to be started from a systemd user sessionArnaud Ferraris2-0/+76
As part of the App FW rework, we want weston to be started from a systemd user session, which is allowed by this patch (backported from upstream). Bug-AGL: SPEC-4161 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I23961eaebb65bdbdcfd8c3d01ff1941f978385ec Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26968 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-12-07Update SDK installation path variable nameJan-Simon Möller1-2/+2
Upstream YP changed the variable for the SDK installation folder. in https://git.yoctoproject.org/poky/commit/?h=dunfell&id=67dbe8a1c2b485d0cec174d28107b0ac8ea77d5f thus adapt our distro configuration. Bug-AGL: SPEC-4172 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I4e327593fe498fb44caa74e6e361631c3767d4a7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26972 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-11-20Follow-up removal of deprecated recipes after appfw removalJan-Simon Moeller3-49/+0
A follow-up cleanup to the previous changes. - the aws+azure binders are deprecated in master, thus remove meta-iot-cloud - meta-security is no longer a dependency - rm agl-sota (due to meta-updater deprecation) - rm agl-sign-wgts feature - cleanup poky-agl.conf Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I274179ab1fb74b274e955bd9a3eeccccac615770 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26870 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2021-11-18Fix a couple of override syntax issuesScott Murray1-4/+4
Fix a couple of spots where use of the old-style override syntax has accidentally been added. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7f4d5b0ba0bf813f3e72b783e30cadc5ba0e030d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26874 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-11-16Add minimal image with agl-compositorJan-Simon Moeller1-0/+10
This image embeds the agl-compositor and can be reused to create images. Bug-AGL: SPEC-3852 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I3950fbf997a57c221a08bf89b9396171613b7999 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26863 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-11-04meta-agl-core: Update weston/agl-compositor initScott Murray12-3/+200
Changes/rework to get weston and agl-compositor starting again: - Since an upgrade to a newer Yocto release is in the near future, update weston-init and associated files to effectively backport the new weston startup behavior added in 3.3/Hardknott as our new base. The changes mean weston or agl-compositor will by default start as a "weston" user that replaces the "display" user that had been added previously in AGL. The goal is that any new work done on top of this base should hopefully work on 3.5/Kirkstone without further substantial rework. - Add new agl-compositor-init recipe that replaces the previous weston-init bbappend in meta-agl-demo. Having it as a separate recipe in core so weston or agl-compositor "just work" in simple test images seems like a better approach. - As part of the above, drop the --log option to agl-compositor in its command-line to address SPEC-4112. - Add SYSTEMD_DEFAULT_TARGET definition to agl-image-weston and in a new core-image-weston bbappend to result in agl-compositor and weston starting automatically in the corresponding images. This is required with the new weston-init behavior until we upgrade past 3.3/Hardknott, when "weston" in IMAGE_FEATURES can be used instead. Bug-AGL: SPEC-4121, SPEC-4112 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia64894416846569abf8e744006ef26637279a895 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26782 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-11-04Prepare master for new framework integrationJan-Simon Moeller5-167/+2
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - meta-agl-core: remove Smack kernel patches - meta-app-framework - meta-pipewire/dynamic-layers/meta-app-framework/ v2: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Icdaeadfb5d2193f3a4c535168c88da6073423e67 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26752
2021-11-03Update github.com git:// SRC_URIsmarlin_12.90.1marlin/12.90.112.90.1Scott Murray2-2/+2
GitHub is dropping unauthenticated git protocol access in January 2022, per: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git While a workaround in the BitBake git fetcher is forthcoming, not specifying protocol=https for github.com git:// SRC_URIs will start resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade path, go ahead and update our affected SRC_URIs. Note that this has been done by running the scripts/contrib/convert-srcuri.py script from latest poky, which also makes git branch specification explicit since the git fetcher is likely to require that in the future due to widespread switches from master to main branches. Bug-AGL: SPEC-4126 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1b5003a79de5283f88bb51f2decadbabeaff8ed5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26779 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-11-02Change DISTRO_VERSION for tagging before large reworkJan-Simon Moeller1-1/+1
We are about to merge a larger set of updates. To preserve the state we do tag the version of Marlin (pre v13) as 12.90.1 . Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I8e17e608c3a351d8fb8d98bc67b9e745d8f2f9f5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26777 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-09-27Make the mode configurable at build time for the waltham transmitterAnusha Gugale2-1/+14
- Create a TRANSMITTER_OUTPUT_MODE variable with a known default - Use this to update the transmitter-output.cfg fragment - Users can redefine this variable based on their needs - While at it do the same for HOST and PORT Bug-AGL: SPEC-4030 Signed-off-by: Anusha Gugale <external.agogale@jp.adit-jv.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I32374186bdce3171a1f7ad4026e10c6448edaec6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26609 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-09-02agl-compositor_git: Bump SRCREVMarius Vlad1-1/+1
This bumps up SRCREV to include 'compositor: Do not allow vt-switching by default' Bug-AGL: SPEC-4063 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I45c174499373ad8fe9a8aaadac34abc7ff723a38 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26605 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-08-25Fix missed override syntax conversionsScott Murray1-6/+6
The aglrelease/agldevelopment overrides used in poky-agl.conf got missed during the conversion, update them with the new syntax. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib13491d5834ab68d8b37eddce3d04b77c46968bc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26573 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-08-23Convert to new override syntaxScott Murray52-160/+160
This is mostly the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. A few minor fixups were done by hand afterwards during a review of the changes. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia3bf63b7cb1aa1d95ada373d1a3ab56def0a125d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26564 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-08-05recipes-graphics/wayland/weston-ini-conf: Add missing transmitter-outputMarius Vlad1-0/+1
Seems that re-shuffling of recipes missed out the transmitter-output file when using waltham-remoting (in AGL_FEATURES). Bug-AGL: SPEC-4047 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I589960eb13532cfaab66a6d32ca79a8628398563 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26553 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-07-30agl-compositor_git: Bump SRCREVMarius Vlad2-1/+6
This bump brings no functional change, it just re-factors some of the code in the compositor to match a bit more to what upstreaming into has in weston, and paves the way to add support for testing, and with it, to include headless backend loading. The bump would need changes in the recipe so it will have a couple of follows-up, to compile the headless back-end and install a run-time shared library. Note this change squashed headless-backend support as well to make CI happy (Bug-AGL: SPEC-3964) and Install the run-time shared library (Bug-AGL: SPEC-3964) In more detail, the following changes have been included: - de7cdb0314af949 compositor: Avoid loading systemd-notify plug-in - ae60166cd931609 meson.build: Install run-time shared library to a specific path - 0bef8700f21b9e7 main: Split of main() from wet_main() - 65361f9f7979056 main: Copy cmd line args and print them - ccda88821b5bd9a main: Teach agl-compositor to load additional modules - 61dff3ff317c4d6 main: Add support for loading the headless-backend Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I49bbb216cb723db6a104d9e2753f5ddeb9bdd9f0 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26442 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-07-13qt5: Fix timer leak in qtwayland to avoid animations being sluggishHiroyuki Ishii3-0/+49
With long-running qt applications which have fluid animations in wayland environment, the animation becomes obviously sluggish because massive amount of memcpy() is called through a constructor being placed in a loop in QTimerInfoList::timerInsert() function. This is caused by a timer-index leak bug of qtwayland, which is already reported to the qt project as following ticket. https://bugreports.qt.io/browse/QTBUG-79838 Unfortunately QTBUG-79838 is still open because maintenance of non-commercial version of qt5 is already stopped. However, we've confirmed that the patch attached to that ticket works fine except for that part of it is no longer needed due to the deletion of the code. So let's apply only effective part of it. Bug-AGL: SPEC-3991 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: Ib148b81aabb98e8df10c1414cdbfe26f7ddf09a6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26466 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-07-13agl-compositor: Move protocol files to the -dev packageMarius Vlad1-5/+9
Bug-AGL: SPEC-4015 v2 (jsmoeller): simplify protocols recipe v3 (jsmoeller): pkgconfig needs to be in the protocols package v4 (mvlad): Re-phrase the commit description v5 (mvlad): leave DEPENDS alone v6 (smurray): Untagle commit message Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I21fa9b40ad07871b956abcbb4e79c8f5d742522c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26490 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account
2021-07-02Change master to Magic Marlinmarlin_12.90.0marlin/12.90.012.90.0Jan-Simon Moeller1-2/+2
After Lucky Lamprey is branched, master will be open for Magic Marlin. Adapt the distro configuration. Bug-AGL: SPEC-4006 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If6c41d91721b267203e1f812ae4d7f77761ed61a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26478 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-06-29Refactor kernel configuration fragment handlingScott Murray25-299/+121
Refactor the kernel configuration fragment handling to shift all AGL applied configuration fragments into a new AGL_KCONFIG_FRAGMENTS variable that is used to generate SRC_URI and KERNEL_CONFIG_FRAGMENTS additions for the various BSPs. The intent is to make it simple to disable AGL provided configuration in downstream builds as the IC EG has expressed as a requirement. Additionally, the rework has allowed for some clean up of accumulated cruft. In practice, clearing AGL_KCONFIG_FRAGMENTS drops all non-BSP provided kernel configuration with the exception of some qemu BSP related additions required for AGL CI and some explicitly configurable things like netboot support. Notable changes: - Instead of always using AGL's own fragment merging logic on top of the BSP kernel recipe, an effort is now made to leverage the BSP recipes' own merging schemes, so there are now separate include files for kernel-yocto.bbclass and plain kernel.bbclass based kernel recipes, as well as a common include file that defines the AGL_KCONFIG_FRAGMENTS variable and its derivations. That file can be included directly in bbappends for BSP kernel recipes that use the KERNEL_CONFIG_FRAGMENTS scheme (e.g. meta-ti, meta-qcom). - The SMACK enabling configuration in meta-app-framework has been updated to supply different fragments for enabling SMACK by default for 4.x and 5.x kernels. This removes a warning from always supplying the old configuration, and allows providing a CONFIG_LSM definition to ensure over-riding any BSP modifications. This allows removing the previous hack to handle CONFIG_LSM being set in the defconfigs in linux-raspberrypi. - By request, the linux-yocto support from meta-agl-bsp/meta-core has been rationalized into meta-agl-core to improve the experience when using meta-agl-core standalone for testing. - All demo supporting kernel configuration has been removed, a subsequent change to meta-agl-demo will add it there by leveraging AGL_KCONFIG_FRAGMENTS. - The hardware device support has been split out of the can-bus.cfg fragment, in favor of shifting it to meta-agl-demo. A few other stray non-CAN configuration options have also been removed from can-bus.cfg, as they do not seem to be required. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If6662fd36e26cec767b1d53b1188a74d01ef9dcf Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26460 Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-06-25packagegroup-agl-core-devel: remove duplicate profiling toolsScott Murray1-2/+0
Remove perf and powertop from packagegroup-agl-core-devel since they are already in packagegroup-core-tools-profile which gets pulled in when agl-devel is used. For perf in particular, this simplifies avoiding dependencies on the kernel source being available when building container images. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I472ab2209dc89e76bb561189e711f45bad480e94 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26456 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-06-25Post release bump after LL m2Jan-Simon Moeller1-2/+2
Update the distro configuration. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I0c5be0ffc3f9b7e4b59b98d4eac6d5439900b4f5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26455 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2021-06-23Remove default inclusion of kernel-modulesScott Murray1-6/+2
Remove the kernel-modules meta package append to IMAGE_INSTALL from the default base-agl.inc aglsetup.sh template, as it essentially turns a developer convenience into default behavior that may not be desirable by all users. Note that this does change the contents of agl-image-(boot|minimal|weston) with respect to kernel modules on most platforms, but if this proves problematic it is recommended that kernel-modules be added back elsewhere in a more transparent fashion. A corresponding change will be made in meta-agl-demo to retain the behavior for the demo platform images. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie1098f25d69e721345d13db3681278543d594e78 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26431 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-06-14Prepare Lucky Lamprey M2lamprey_11.92.0lamprey/11.92.011.92.0Jan-Simon Moeller1-3/+3
Update the distro manifest. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ib87d4a6b4313fe39c7121f691a9768fd4fafa49c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26427 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account