summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-04-20recipes-graphics/wayland/agl-compositor_git.bb: Bump SRCREVMarius Vlad1-2/+2
Sync up with the latest octopus changes. Specifcally the following changes have been added since the previous update: - 6d41be723042cbbb6 compositor: Added layout_save/layout_restore - 6678f58648dd18216 shell: Check for a valid ivi_surface - b0dfbd7b26974a925 shell: Check for invalid outputs passed on when activating - 39ad965461050db22 compositor: Fix memleak when disabling the output - 77475e34bf7a1619b Add gitreview file for Optimistic Octopus branch - 53a039ff1c4b05aaa ivi-compositor: Add support for multiple app_ids - ce8dd33f3762e0ec4 meson: Deprecate waltham and inform users of that - 6fd11a88c4d3c82e3 meson: Bump to version 0.0.21 - 4003cfb04b7bae04c shell: Reset the area activation Change-Id: I87b404486b05e4b33903476ec9e2bd0ccbae194d Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28645 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-04-18pipewire: Update pw to v0.3.67 and wp to v0.4.14Ashok Sidipotu10-596/+13
Highlights of Pipewire. - The loopback module and other couples streams will now not randomly fail in some cases. (#3028). - PipeWire can now generate a limits.d config file with our recommended settings for priorities and memlock. - Add back the deprecated symbols but make sure a deprecated warning is emitted for them. This fixes compilation issues in bindings. - Clear old buffer memory on ports to fix some SIGBUS errors. - Fix a critical bug that causes audio distortion in some cases when using. AVX2. Highlights of Wireplumber. - Added bluetooth SCO (HSP/HFP) hardware offload support, together with an example script that enables this functionality on the PinePhone. - WirePlumber now maintains a stack of previously configured default nodes and prioritizes to one of those when the actively configured default node becomes unavailable, before calculating the next default using priorities (see !396). - The libcamera monitor is now enabled by default, so if the libcamera source is enabled in PipeWire, cameras discovered with the libcamera API will be available out of the box. This is safe to use alongside V4L2, as long as the user does not try to use the same camera over different APIs at the same time. - Added i18n support to be able to translate some user-visible strings. Bug-AGL: SPEC-4732 Change-Id: Ie394e57df6483f9dc8f7b85e441b5f56ddca7189 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28582 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>
2023-04-18bluetooth.conf: open secondary access to pipewireAshok Sidipotu1-1/+1
with out having a secondary access to pipewire(export core), wireplumber creates bluetooth device objects as well as access the existing pipewire objects using the same pipewire connection, which can some times create race conditions. Enable export core, so that wireplumber bluetooth monitor has access to both the regular core and the export core. Bug-AGL: SPEC-4750 Change-Id: I0db9b276ecd6972294c36722bf5a31c5ac00f186 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28639 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit 3cbffb8739219f6e3c5311ada08b6b6c76eafa77) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28613 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-04-04Prepare Optimistic Octopus 15.0.1octopus_15.0.1octopus/15.0.115.0.1Jan-Simon Moeller1-4/+4
Update the distro configuration. Bug-AGL: SPEC-4737 Change-Id: Ide698c4972dbd51b42a2d477b0524a5bd03f8db5 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28621 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-04-03meta-core/recipes-graphics/mesa: Backport a fix from 22.2.5Marius Vlad2-0/+52
This adds 0001-virgl-don-t-a-use-staging-when-a-resources-created-w.patch which is a backport from mesa 22.2.5 as a tentative fix for running on virgl on the x86 platform. This issue seems have been fixed 22.2.4 and 22.2.5, but the original change was initially quite a long time before in 22.0.X and we seem to be using 22.0.3. Bug-AGL: SPEC-4724 Change-Id: I255e30d8e513b8f3bbfa720a24c1afcbd40af2c9 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28604 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>
2023-03-31meta-rcar-gen3/recipes-multimedia/gstreamer: Add gstreamer bbappendsMarius Vlad3-0/+3
This would fix fetch build failures with the gstreamer plugins which seems to have been caused by a git to gitsm replacement in the original recipes. Bug-AGL: SPEC-4730 Change-Id: I4b1d700a6645d280b65f3f3202b76208d30061e7 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reported-by: Marius Vlad <marius.vlad@collabora.com> Suggested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28583 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 (cherry picked from commit ae6ecba1b6239de0b075cb1d42a62604ae7523f0) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28601
2023-03-19Update Mirror setup for octopusJan-Simon Moeller1-8/+4
Change-Id: Ib0b8bf6feaee6b7c5231c0577861f41773e8cd75 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28570 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-02-14Prepare Optimistic Octopus 15.0.0octopus_15.0.0octopus/15.0.015.0.0Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-4702 Change-Id: Ic6ade8d70be61f4ce9667782c2e2e92a086dbb91 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28468 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-02-13weston-ini-conf/core.cfg: Bring in shell-ext-clientMarius Vlad1-0/+3
Rather than messing up the ini file, bring it in from the core configuration file. This allows to start-up the gRPC proxy server at start-up. This is a follow from Revert "weston-ini-conf: Add agl-shell-grpc-server" This reverts commit 2f40613cbf42fd378feea57ccefbb3215ecc1355. Change-Id: I40ab339fe73efb07ac1e86e6778764a553a3cabe Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28441 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> (cherry picked from commit db9539b90921538b2ad3e61d74124b0c8d8e2e4e) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28477
2023-02-09Change distro configuration to use the octopus branchJan-Simon Moeller1-1/+1
This prepares the release of Optimistic Octopus. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7cb5418de8d31711dbe5d556f980c48ac23198f1 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28443 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-02-01Add gitreview file for Optimistic Octopus branchJan-Simon Moeller1-1/+1
Update the .gitreview file. Bug-AGL: SPEC-4695 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1ef5e455e3d1e935ce9fc65fa97ae74847b01177
2023-01-30Prepare Optimistic Octopus Milestone 4octopus_14.94.0octopus/14.94.014.94.0Jan-Simon Moeller1-3/+3
Update the distro manifest. Bug-AGL: SPEC-4691 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4bb2e97dc32c3da7e9d24c843e951a99383b4229 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28438 Tested-by: Jenkins Job builder account
2023-01-29qemu: add bbappend to tweak PACKAGECONFIGScott Murray2-0/+6
Add a bbappend for qemu to tweak PACKAGECONFIG for target use to add libusb support. This is required for USB device passthrough for e.g. touchscreen support. Also enable libaio for potential performance benefits and selinux support for investigation into leveraging it for security improvement. Bug-AGL: SPEC-4618 Change-Id: If9a52bad0657a04d7fc7da3ba15cd14be611ffd4 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit cc422ba11f0a18b830422d41e47ba85481daa258) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28420 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>
2023-01-29meta-agl-bsp: make sure weston user is in display group for rcar3Scott Murray1-0/+4
Add a meta-rcar-gen3 specific weston-init bbappend to add the weston user to the display group. This is preferable to unmasking the bbappend in upstream meta-rcar-gen3, as we do not want any of the other changes it contains (or may contain). This change is a bit of a stopgap required for running weston or agl-compositor as the weston user without the agl-driver user session unit in e.g. the agl-image-weston image or the KVM or IC host images. Future work will try to align the required groups with upstream systemd-udevd expectations. Bug-AGL: SPEC-4618 Change-Id: I22e8aaa095114802242fb1ed150dec2a5055fda9 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit c1b436f4882737ce0b9a95853954d0f4daab2d86) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28419 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-29meta-agl-bsp: make meta-rcar-gen3 BBMASKs more specificScott Murray2-3/+3
Update the BBMASK definitions for the rcar3 platforms in meta-agl-bsp to include the meta-renesas/ component of the path so that they will not mask out any of our files under meta-agl-bsp/meta-rcar-gen3. Bug-AGL: SPEC-4618 Change-Id: I6434f54bb50784c0673b54648165e0c5118f0c7e Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit b5001a4a5abbe8e7944446025dd63be725c491e4) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28418 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-29systemd: enable iptc PACKAGECONFIGScott Murray1-1/+2
Add iptc to our systemd PACKAGECONFIG tweak so that bridging support will be available in systemd-networkd. Bug-AGL: SPEC-4618 Change-Id: I15d003ad69d6ca59613391beb2e78e3c5fe804cc Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 69e119b969baa88594b3264709e21037aa783bb7) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28417 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-29connman-conf: ignore tap interfacesScott Murray1-1/+1
Add tap* interfaces to the list of interface names that connman should ignore so that it will not conflict with the tap interfaces qemu may set up. This seems safe in general, as a usecase where it makes sense for connman to assign an address to a tap interface is not immediately obvious. Bug-AGL: SPEC-4618 Change-Id: Ic9185e4f93a44c2d9e4265513afc04a2ec4c3d4a Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 29afa2ad9f9d04477c7a80d3a35e83fb6e5227dc) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28416 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-29weston-ini-conf: make remote output configuration dynamicScott Murray2-1/+5
Rework things to also update the remote output configuration fragment based on the value of TRANSMITTER_OUTPUT_HOST. This helps when using different IP addresses for e.g. the KVM demo configuration. Bug-AGL: SPEC-4618 Change-Id: I198ff3e6a30b3968b4749998354a39325c088933 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 39def8ebd98c98e67304517ab118f9bde4cdf8e7) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28415 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-26Revert "weston-ini-conf: Add agl-shell-grpc-server"octopus_14.93.0octopus/14.93.014.93.0Jan-Simon Moeller1-2/+0
This reverts commit 2f40613cbf42fd378feea57ccefbb3215ecc1355. Reason for revert: This breaks the runtime with: Jan 25 04:07:51 qemuarm agl-compositor[456]: malformed section header: [shell-client-ext]\ncommand=/usr/lib/agl-compositor/agl-shell-grpc-server\n Jan 25 04:07:51 qemuarm agl-compositor[456]: [04:07:51.432] fatal: error opening or reading config file '/etc/xdg/weston/weston.ini'. Change-Id: I09f74614a9d7ec55550d46224ec1c1b96528eb0b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28354 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>
2023-01-26weston-ini-conf: Add weston-ini-landscape-no-activateRoger Zanoni2-0/+17
This change adds an option to use a weston.ini config in landscape mode with automatic activation disabled by default, to be used by wam. Bug-AGL: SPEC-4647, SPEC-4528 Signed-off-by: Roger Zanoni <rzanoni@igalia.com> Change-Id: Ibaeefc4cae07b3f4cb4bbc619bb068fd259d81fc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28371 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>
2023-01-23Prepare Optimistic Octopus Milestone 3Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-4677 Change-Id: If68d70f93ec35f9f921083f04779216ea33ca6e0 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28413 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-01-23weston-ini-conf: Add agl-shell-grpc-serverMarius Vlad1-0/+2
Now that we have gRPC server implementation start the agl-shell-grpc server by default. Change-Id: I1d00b29306f90ababc5277ecb71a101eea1a46ca Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28364 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>
2023-01-23agl-shell-activator_git: Bump SRCREVMarius Vlad1-2/+2
This SRCREV bump adds gRPC support and removes agl-shell-desktop support. Change-Id: I946a9563321a6d9b5c756a364726fd3037ba5b63 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28363 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>
2023-01-23agl-compositor_git: Bump agl-compositor SRCREVMarius Vlad1-2/+3
This SRCREV bump includes the addition of agl-shell-grpc-server, an interface to agl-shell-desktop protocol, but instead of using wayland connection it uses Google's RPC. For the time being there's only a client using it, and that is agl-shell-activator. The plan is to phase out agl-shell-desktop entirely and use this interface as a way to perform additional window management. Further more this bump also includes a couple of connector hot-plug fixes and renames hide-cursor to disable-cursor entry section to better reflect its name. In more detail the following changes have been added: - 7ef34e0c465a7596 shell: Verify agl-shell version for bound_ok/bound_fail - c01b90ece22cc587 shell: Add fallback agl-shell version 1 - 0907e87f1576f8ad input: Fix minor issue while reporting disable cursor - c9d3edb4ee23a563 input: Rename hide-cursor to disable-cursor - 76fa1b83638310c2 src: Verify if the output is present - 79eac214d4866d84 src: Further hotplug connector fixes - 59375972f5642b7e grpc-proxy: Init gRPC - 0b766cf978b8b100 shell: Not not override the agl_shell interface resources - c42f50b567a0d5ad shell: Add a wrappers for sending events with agl-shell - 05bb0384732480a9 compositor: Allow to start other clients - 14a1292a39377472 agl-shell.xml: Introduce a new interface - 33997a7c96838795 compositor: Handle output destruction deferral Change-Id: I6df1d7fcf6d5d3abcc3c1c2b8a0cf820368a26de Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28318 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>
2023-01-22Exempt nfsroot and nbdroot from systemd-networkdJan-Simon Moeller2-2/+4
We need to exempt these in our wired configuration is using nbdroot or nfsroot. Likewise we can relax the connman settings again. Change-Id: I10fb9c97db1aba04941bf33f3e9d8a06a963cfac Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28406 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2023-01-20weston/0001-simple-touch-Add-maximized-fullscreen: Add maximized/fullscreen ↵Marius Vlad2-1/+138
for simple-touch simple-touch wasn't able to resize itself to max/fullscreen to this patch adds support for that. It is quite useful to have this client test out touch support, so we can re-use it whenever, for instance in the virtio aarch64 machine to test if we have indeed or not a touchscreen device. Upstream-Status: Submitted See: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1095 Bug-AGL: SPEC-4656 Change-Id: I974b4c5ea8a85f1b3efe4a114f345de948441300 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28314 Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-07files/group: add render group with static ID for new systemdDenys Dmytriyenko1-0/+1
Yocto Project 4.0.6 now comes with systemd v236, which uses render group: https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=f902338f312cf5c55b2857e5c7e980cb11a26a9c https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=ba1db7f9189526b02e3d75d375ece53953c2e942 Bug-AGL: SPEC-4668 Change-Id: I473644f4b9e57663f036b43a48a8319e4d664d65 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28369 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-12-30virtualization-layer/recipes-graphics/mesa: Workaround for virglMarius Vlad2-0/+37
This is a just a workaround for the time being, to avoid some graphical artefacts seen only when booting up for the first time the image. Introduced with https://gitlab.freedesktop.org/mesa/mesa/-/commit/6f68cacf619f7f13bc870355709224c1f3e9bbd8. Bug-AGL: SPEC-4651 Change-Id: Ie2ac5d170790293dc5860d5f27f26ee811f4a4b5 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28300 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Tested-by: Jenkins Job builder account
2022-12-30systemd-conf-canbus: Add link configurationScott Murray2-2/+17
Add a .link file to set the transmit queue length to 1000 for physical CAN devices. This matches the default used for vcan devices, and in testing fixes the transmit buffer overflows when running the simulator script against an interface. Bug-AGL: SPEC-4652 Change-Id: Icb190cdcbda9b09e337789d3a88e39f7288f34eb Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28291 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-12-18Prepare Optimistic Octopus Milestone 2octopus_14.92.0octopus/14.92.014.92.0Jan-Simon Moeller1-3/+3
Update the distro configuration. Bug-AGL: SPEC-4650 Change-Id: Ibf5234fb83798df32e4b0f9eccb19419a0740f82 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28298 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-12-16linux: config: add systemd sandboxing fragmentDenys Dmytriyenko2-0/+10
Add a kernel config fragment that enables additional features needed for systemd sandboxing support, using Classic BPF (Berkeley Packet Filter) kernel framework. Eventually this will be extended with more advanced features using eBPF (extended BPF), BTF (BPF Type Format) and LSM (Lunux Security Module) frameworks. Bug-AGL: SPEC-4627 Change-Id: I9ed21c654b2e0298be66073750dab6920e49b0c9 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28297 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-12-16linux: config: move CONFIG_AUDIT* into own fragmentDenys Dmytriyenko3-2/+3
Enabling CONFIG_AUDIT* is needed by auditd and should be safe whether systemd is used or not and is not specific to SELinux. Note that systemd README has this old caveat mentioned | Note that kernel auditing is broken when used with systemd's | container code. When using systemd in conjunction with | containers, please make sure to either turn off auditing at | runtime using the kernel command line option "audit=0", or | turn it off at kernel compile time using: | CONFIG_AUDIT=n | If systemd is compiled with libseccomp support on | architectures which do not use socketcall() and where seccomp | is supported (this effectively means x86-64 and ARM, but | excludes 32-bit x86!), then nspawn will now install a | work-around seccomp filter that makes containers boot even | with audit being enabled. This works correctly only on kernels | 3.14 and newer though. TL;DR: turn audit off, still. But that seems to only apply to nspawn usage in some specific cases and on older kernels, plus there are even runtime workarounds available when needed, so let's enable it by default. Bug-AGL: SPEC-4627 Change-Id: I5fcd58ba41929d2966fadea27b6751e4fa6589c9 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28276 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-12-16linux: config: enable kernel settings that systemd requiresDenys Dmytriyenko2-0/+44
Add kernel config fragment with all settings required by systemd. Some more generic settings need to be explicitly set here as well to satisfy necessary dependencies from systemd settings down the tree, otherwise some BSPs would break. Bug-AGL: SPEC-4627 Change-Id: I7a2796ea65da58a4f1fa0556cd94df67e7df7db9 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28275 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-12-10meta-app-framework: Add Flutter app icon installationScott Murray1-0/+8
Add logic to agl-app.bbclass to install an icon for Flutter apps if there is one present as ${AGL_APP_ID}.svg in a "package" directory in their source repository. Bug-AGL: SPEC-4634 Change-Id: If48cb5b085f74a713e293d6554c45d265f69f686 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28155 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-12-10Update cluster network configurationScott Murray3-3/+3
Update configuration files as appropriate with the IVI board as 192.168.10.2 and the cluster as 192.168.10.3. Bug-AGL: SPEC-4632 Change-Id: Idd41daa75fc6258d07d8f654848e78ced85dff35 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28154 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-12-10systemd-conf-canbus: Add FD configurationScott Murray2-0/+13
Add canbus-can-fd.network configuration that can be selected via CANBUS_NETWORK_CONFIG. Bug-AGL: SPEC-4633 Change-Id: Ic662be3e991910a4b35e114f144fe399a88ce477 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28153 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-12-08libsdl2: PACKAGECONFIG tweaksScott Murray2-0/+4
Add a couple of bbappends for libsdl2 to tweak its PACKAGECONFIG, based on Panasonic QEMU+KVM documentation. Bug-AGL: SPEC-4618 Change-Id: I7ceb4e46faa88f09311ad359a3b0b13a462f6cb2 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28192 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
2022-12-08linux-yocto: Rework virtio-aarch64 kernel configurationScott Murray4-1/+18
Changes: - Appending the virtio kernel metadata to SRC_URI in the linux-yocto bbappend was having the side-effect of overriding a lot of the changes from the other AGL configuration fragments. To avoid this, prepend the addition to AGL_KCONFIG_FRAGMENTS instead. - Add the HDA sound driver config fragment for virtio machines to allow using the QEMU emulation. - Add config fragment for the virtio kernel to ensure that CONFIG_DRM and the fbdev emulation are on. - Add config fragment for the virtio kernel to turn on CONFIG_PCI, as there are some peripherals that we may need to expose to guests with it. This and the DRM changes will be rationalized in the metadata repo once it's clear we do need them. Bug-AGL: SPEC-4618 Change-Id: I453b84d9840498772afd01404dd374f5c1d245da Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28191 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2022-12-08linux: config: move BBE-specific fragment from meta-agl-core to meta-agl-bspDenys Dmytriyenko3-1/+1
Commit d009fa0c42042a0b7d069779852953621e46469b as part of SPEC-4156 added a kernel config fragment to disable CONFIG_RELAY. Since this fragment is only applied to BBE, there's no need for it to reside in meta-agl-core and can be moved to meta-agl-bsp/meta-sancloud. Bug-AGL: SPEC-4156 Change-Id: I5da2632d6eb00bbf99ddb48cef861564d2ce868d Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28203 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-12-08linux-agl-config: correct override syntax for virtualmachineDenys Dmytriyenko1-1/+1
Commit dd6fc5dcaa0a027b7651bb365d5dd0f623498f8f as part of SPEC-4052 converted all overrides to the new syntax, but missed the one used for "virtualmachine" Bug-AGL: SPEC-4052 Change-Id: I1905c7e3b70b05c4ef06d8b4f240d0e144587fab Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28204 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-11-23Prepare Optimistic Octopus Milestone 1octopus_14.91.0octopus/14.91.014.91.0Jan-Simon Moeller1-2/+2
Update the distro configuration. Bug-AGL: SPEC-4616 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iba55e4e0e51bfec2a1949a0fc9775760a6a8732b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28177 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-11-23meta-agl-core: systemd: Disable `BitRate` setting for `can*` network for VIRTIO.Vasyl Vavrychuk5-4/+33
VIRTIO CAN [1] does not support bitrate configuration, it assumes bitrate configuration is done on backend. Fixes systemd-networkd failure: can0: Failed to set CAN interface configurations: Operation not supported File `canbus-virtio-can.network` is copied from `canbus-can.network` with `BitRate=` setting removed. v2: rework patchset to use own systemd-conf-canbus package to avoid changes in main systemd package. [1]: https://lists.oasis-open.org/archives/virtio-dev/202208/msg00159.html Bug-AGL: SPEC-4597 Change-Id: Idb132203501bb99103e76098eea3bb6394b645da Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28104 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-11-23weston-ini-conf: add virtio-aarch64 configurationScott Murray1-0/+1
Add a WESTON_DISPLAYS tweak for the virtio-aarch64 machine so the demo platform image gets the required weston configuration when built for it. Bug-AGL: SPEC-4618 Change-Id: I90974a25d51fc3b4ad3d8e9450d98f8ae82f759a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28187 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-11-23native-shell-client: Add recipeScott Murray1-0/+16
Add recipe for native-shell-client simple agl-shell protocol client. It can be used for testing agl-compositor and also enables using it in simple usecases such as displaying the output from guest VMs with QEMU+KVM. Bug-AGL: SPEC-4618 Change-Id: I16b7c8b703b2aa3c875b7ffd78b24021eafd3a7f Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28186 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-11-23meta-agl-bsp: Add overrides to rcar3 BSP changesScott Murray3-26/+24
The various configuration changes done by the include files for the rcar3 machines in meta-agl-bsp prove problematic when using a rcar3 machine in a multiconfig configuration with different machines in other configs. This can potentially be avoided in the future with a significant rework of the local.conf generation in aglsetup.sh, but for now, too avoid issues, add rcar-gen3 or h3ulcb overrides to the variable changes in those files. That ensures that the changes will only apply to the specific machine being targeted. So far this has only been tested with the h3ulcb, it is likely that more fixes are required for other rcar3 machines, as well as the machines from other BSPs. Bug-AGL: SPEC-4618 Change-Id: Ifa6735337e673a92c56d5457b97d09a5b86cc0e1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28185 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-11-23agl-compositor: RDEPENDS fixesScott Murray3-2/+2
Changes: - Add the required xkeyboard-config RDEPENDS to the agl-compositor recipe to avoid surprises if nothing else that pulls that in is in an image. - Move the agl-compositor RDEPENDS on polkit directly into the recipe instead of getting indirectly via a meta-oe presence driven addition to packagegroup-agl-graphical-weston. This is more correct, avoids surprises if that packagegroup happens to not be used, and will work better with a binary packagefeed. The RDEPENDS is still conditional on the presence of "polkit" in DISTRO_FEATURES, which seems a reasonable alternative to using dynamic-layers. Bug-AGL: SPEC-4619 Change-Id: I595f55a9d598b4a15fe345f50d1a7a203616dd15 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28184 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-11-21agl-compositor: Bump SRCREVScott Murray1-1/+1
Bump agl-compositor SRCREV to pick up: adf173e layout: Allow background surface roles (to) be activated 77d94d8 agl-shell: Add support for defining an activation area Bug-AGL: SPEC-4594 Change-Id: I4d003c4ce26fe3e6b3e3fe07b845538a5a9e508c Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28181 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2022-11-21Enable qemu and kvm user and groupJan-Simon Moeller2-0/+3
This supports the meta-virtualization layer. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I919f9669c0c9aff83d6f0b961d892eb6077902a6 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28055 Tested-by: Jenkins Job builder account
2022-11-21Exempt also nbd.server in connman serviceJan-Simon Moeller1-1/+2
This adds a check for the nbd.server kernel commandline and prevents connman service from being started. If nbdroot is set and the networkinterface is resetup, then the rootfs will fail. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic15fade35fd2c47b828e51692609d438225ef739 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28054 Tested-by: Jenkins Job builder account
2022-11-13meta-agl-bsp: Fix rc.pvr.service dependency for meta-rcar-gen3Scott Murray1-0/+7
Undo the out of date tweak of rc.pvr.service to make it a dependency of weston@.service done in meta-rcar-gen3's gles-user-module recipe. For now, just tweak the dependency back to weston.service in our bbappend in meta-agl-bsp, this can be removed when meta-rcar-gen3 includes a fix. Bug-AGL: SPEC-4607 Change-Id: I16ef13d2af9b2ed485ce8b98501f39bf96aba3e2 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28133 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>