AGL/meta-agl.git
20 months agoPrepare Magic Marlin 13.0.3 release 47/27947/3 marlin 13.0.3 marlin/13.0.3 marlin_13.0.3
Jan-Simon Moeller [Tue, 23 Aug 2022 16:44:48 +0000 (18:44 +0200)]
Prepare Magic Marlin 13.0.3 release

Update the distro manifest.

This is the last point release for marlin.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I5bc4e566bbbf5bba57542ccfd3f0342097d719b1
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27947
Tested-by: Jenkins Job builder account
21 months agoPrepare Magic Marlin 13.0.2 patch release 87/27787/3 13.0.2 marlin/13.0.2 marlin_13.0.2
Jan-Simon Moeller [Thu, 21 Jul 2022 11:52:30 +0000 (13:52 +0200)]
Prepare Magic Marlin 13.0.2 patch release

Update the distro configuration.

Bug-AGL: SPEC-4482
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7183f0d396c833de8066637368f052227c17851c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27787

21 months agoRemove usage of AGL_APP_REVISION 83/27783/3
Jan-Simon Moeller [Thu, 21 Jul 2022 08:51:35 +0000 (10:51 +0200)]
Remove usage of AGL_APP_REVISION

The floating AGL_APP_REVISION leads to more rebuilds than necessary.
Replace it with a fixed SRCREV. This is recommended by upstream YP.

Bug-AGL: SPEC-4481
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Iea6a21720b920c5886c933c4ebc81856416368aa
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27783
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

22 months agoagl-compositor_git.bb: Bump SRCREV for marlin 91/27691/2
Marius Vlad [Wed, 29 Jun 2022 12:55:49 +0000 (15:55 +0300)]
agl-compositor_git.bb: Bump SRCREV for marlin

This AGL compositor bump update includes the following changes:

dd50730cefd6b9 shell: Fix a typo when adding surface to pending list
14cb1da8c484fc layout: Do perform a view update transform when unmapped
aecb2e266d3a28 layout: Make the view mapped at activation completion
00ba5b334e6c0b compositor: Rename activated_by_default to mapped
0f98b6c74c7951 shell: Do not set none role for applications w/o appid
d0f00d6241ec12 layout: Inform client to resize for fullscreen roles
26e72fa379d1b1 layout: Send dimensions when setting up property as fullscreen

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie5923378bb48114e81a56ece138c7c7348ab7ff1
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27691
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>
22 months agoweston-ini-conf: rework remote output configuration generation 19/27619/3
Scott Murray [Wed, 8 Jun 2022 19:35:37 +0000 (15:35 -0400)]
weston-ini-conf: rework remote output configuration generation

To allow for a user to change the weston-remoting configuration
fragment the same way 8c4b3948 did with the the fragment for
waltham-remoting, rename the TRANSMITTER* variables 8c4b3948
added to REMOTE* and apply the same transformations to the
remote-output.cfg fragment.  Additionally, add a new
REMOTE_OUTPUT_APP_ID variable that will add the potentially
required agl-shell-app-id option to the fragment if the variable
is set.

Bug-AGL: SPEC-4426

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib20aafe5737482814fe6c4ae0f9cd1b39230adb3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27619
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-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

22 months agoUpdate distro configuration after release 24/27624/2
Jan-Simon Moeller [Thu, 9 Jun 2022 09:25:18 +0000 (11:25 +0200)]
Update distro configuration after release

Next merge window is open.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I995b9840f70a555c0726fafa676b7c77409ef5da
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27624

23 months agometa-agl-core: add kuksa user and group 57/27557/2
Scott Murray [Thu, 26 May 2022 15:24:43 +0000 (11:24 -0400)]
meta-agl-core: add kuksa user and group

Add a kuksa user and group to the static passwd and group files to
facilitate running the KUKSA.val Vehicle Information Service (VIS)
server as non-root and control access to some of its configuration
files.

Bug-AGL: SPEC-4405

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I199d79df42a6e5ea032ccfa084a1d38625b508f0
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27557
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>
23 months agoPrepare Magic Marlin 13.0.1 release 25/27525/2 13.0.1 marlin/13.0.1 marlin_13.0.1
Jan-Simon Moeller [Wed, 25 May 2022 14:55:32 +0000 (16:55 +0200)]
Prepare Magic Marlin 13.0.1 release

Update the distro configuration.

Bug-AGL: SPEC-4403
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ia24cef52fa569d04c714802b518f50f1b580adf5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27525
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

23 months agoAdd AGL machine template for s32g274ardb2 aka goldbox 98/27498/2
Jan-Simon Moeller [Thu, 19 May 2022 15:22:34 +0000 (17:22 +0200)]
Add AGL machine template for s32g274ardb2 aka goldbox

This adds the machine template and tweaks to build an image
that matches the s32g274ardb2 aka 'goldbox' .

Bug-AGL: SPEC-4387
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I90cb5d109d4327147025fa81a70ef0c9adb0c78f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27498
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

23 months agoagl-compositor_git.bb: Bump SRCREV for marlin 97/27497/2
Marius Vlad [Wed, 18 May 2022 12:51:53 +0000 (15:51 +0300)]
agl-compositor_git.bb: Bump SRCREV for marlin

As Kurokawa-san reported, we seem to be using an incorrect SHA for the
compositor revision on Marlin release. This bumps it up to what AGL
compositor was tagged, in Marlin.

Since the last update the following changes have been added:

d4121c4f1b84e237895 Add gitreview file for Magic Marlin branch
70d8d26d8ed27f25689 Fix potential memory leak in agl-compositor
cec4cf8fe409cae5618 layout: Address all other callsites w/ dirty+surface damage
62e020b90b0627e7f24 layout: Inflict surface damage
b06ffcc3ca1ed5d6d9e layout: Remove left-over comment
f24765124d3a539c84e Fix potential memory leak
9cc8100eef72bf1235c meson.build: Don't set the dependency type for wayland-scanner
26c37c4140ce5739d64 Fix potential memory leak

Bug-AGL: SPEC-4378
Reported-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I608b5e24dcdb7fcc93991cb6116bd07493a220c6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27497
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoweston: refresh patch 39/27439/2
Scott Murray [Tue, 3 May 2022 20:58:01 +0000 (16:58 -0400)]
weston: refresh patch

Refresh the backported weston patch that was generating fuzz
warnings, and add a link to the upstream commit on
gitlab.freedesktop.org to its Upstream-Status line to better
document the origin.

Bug-AGL: SPEC-4354

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I3f98d6021470edef0558a3222fad0a22fe58831e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27439
ci-image-build: Jenkins Job builder account
Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoagl-compositor-init_agl-app-fw: Include agl-shell-activator 11/27411/3
Marius Vlad [Thu, 14 Apr 2022 10:58:39 +0000 (13:58 +0300)]
agl-compositor-init_agl-app-fw: Include agl-shell-activator

Turns out we weren't including the agl-shell-activator activation
tool so include it by default. It remains to be seen if it makes
sense to have in the compositor, rather than outside, but for the time
being  just include it by default.

Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I5a16baca8be83715f86e02809324497a837a235a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27411
ci-image-build: Jenkins Job builder account
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoagl-shell-activator_git.bb: Update agl-shell-activator 10/27410/3
Marius Vlad [Thu, 14 Apr 2022 07:53:42 +0000 (10:53 +0300)]
agl-shell-activator_git.bb: Update agl-shell-activator

Bumps agl-shell-activator to include the following changes:

b1006c97511b6e6ed script/agl-activator: No need for the script
69bda7298f3ee3199 main: Handle agl-shell-desktop events
81f41152446b315b7 meson.build: Update compositor protocols version

Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I46b7470f7731eaa83cf0dc0ef6e722d0124a8c82
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27410
ci-image-build: Jenkins Job builder account
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agoUpdate distro configuration after release 25/27325/2
Jan-Simon Moeller [Fri, 1 Apr 2022 10:52:37 +0000 (12:52 +0200)]
Update distro configuration after release

Merge window is open for 13.0.1.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic1684db9b040d8daad4dffb295a00faab4a496e1
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27325
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Tested-by: Jenkins Job builder account
2 years agoUpdate distro configuration for Magic Marlin 13.0.0 06/27306/2 13.0.0 marlin/13.0.0 marlin_13.0.0
Jan-Simon Moeller [Fri, 25 Mar 2022 11:35:42 +0000 (12:35 +0100)]
Update distro configuration for Magic Marlin 13.0.0

Update the distro configuration.

Bug-AGL: SPEC-4311
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I6505030df6e6320f8b996a9110cb3f453ae14338
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27306
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>
2 years agopipewire: Backport crash fix 78/27278/2
Scott Murray [Wed, 23 Mar 2022 15:27:06 +0000 (11:27 -0400)]
pipewire: Backport crash fix

Backport revert done post-0.3.47 to fix crashes seen in MPD.
See upstream discussion here:

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2147

Bug-AGL: SPEC-4294

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I48bf5bc632ad50daa43a3e8125ec8885f7f3a537
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27278
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>
2 years agoAdd gitreview file for Magic Marlin branch
Jan-Simon Moeller [Tue, 15 Mar 2022 16:09:30 +0000 (17:09 +0100)]
Add gitreview file for Magic Marlin branch

Update the .gitreview file.

Bug-AGL: SPEC-4300
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Idf39697376d5fb18182bb738f85156fb6ce3bbbd

2 years agoFix potential memory leak 19/27219/3 12.93.0 marlin/12.93.0 marlin_12.93.0
duerpei [Mon, 28 Feb 2022 08:08:10 +0000 (16:08 +0800)]
Fix potential memory leak

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

2 years agoDisable CONFIG_RELAY on BBE board 40/27240/2
Jan-Simon Moeller [Wed, 2 Mar 2022 16:30:44 +0000 (17:30 +0100)]
Disable CONFIG_RELAY on BBE board

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

2 years agopipewire: Update pw to v0.3.47 and wp to v0.4.8 20/27220/11
Ashok Sidipotu [Thu, 24 Feb 2022 06:16:15 +0000 (11:46 +0530)]
pipewire: Update pw to v0.3.47 and wp to v0.4.8

Highlights of Pipewire.
- Removed check and warnings to catch leaked listeners on the proxy.
- Fix critical bug where alsa devices would not show when the kernel
  was compiled without VERBOSE_PROCFS
- Almost all limits on number of ports, clients and nodes are removed.
- Many more bug fixes and imporovements.

Highlights of Wireplumber.
- Added bluetooth profile auto-switching support between A2DP and HFP
  modes
- Better default audio sources and sinks selection
- Backported a fix for a known issue with selecting the default
  devices on top of 0.4.8 (ae6c9a5e)
- Many more bug fixes and imporovements.

Change-Id: Id5414aed065593893a237437a8c77645cbf15804
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27220
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-app-framework: depend on weston-ini 36/27236/2
Jose Dapena Paz [Tue, 1 Mar 2022 16:17:15 +0000 (17:17 +0100)]
meta-app-framework: depend on weston-ini

To allow different default layouts depending on target or kind of demo
make app framework layer depend on weston-ini instead of the default
one.

This allows HTML5 demo, that runs in landscape, to initialize
properly.

Bug-AGL: SPEC-4250
Change-Id: I199a2bf27f65094fbebf62976c33968ce3841aaa
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27236
Reviewed-by: Scott Murray <scott.murray@konsulko.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

2 years agoUpdate distro config for Magic Marlin Milestone 3 22/27222/2
Jan-Simon Moeller [Fri, 25 Feb 2022 23:57:11 +0000 (00:57 +0100)]
Update distro config for Magic Marlin Milestone 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

2 years agometa-rcar-gen3/recipes-kernel: Add v4l2 vivid module 31/27131/3
Marius Vlad [Fri, 4 Feb 2022 09:09:51 +0000 (11:09 +0200)]
meta-rcar-gen3/recipes-kernel: Add v4l2 vivid module

Testing out video streaming would be much more easier if the vivid
module was there to be used in the first place.

Bug-AGL: SPEC-4244

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I423499c1cc67fa55585af88308312883a80a9d29
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27131
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>
2 years agoPost-release update of distro configuration 07/27207/2
Jan-Simon Moeller [Thu, 17 Feb 2022 14:12:48 +0000 (15:12 +0100)]
Post-release update of distro configuration

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

2 years agoRemove IMAGE_FEATURES setting from agl-image-weston 68/27168/2
Jan-Simon Moeller [Fri, 11 Feb 2022 23:07:32 +0000 (00:07 +0100)]
Remove IMAGE_FEATURES setting from agl-image-weston

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>
2 years agometa-agl-bsp: BBMASK out rcar3 base-files and systemd modifications 00/27200/2
Scott Murray [Mon, 14 Feb 2022 23:39:44 +0000 (18:39 -0500)]
meta-agl-bsp: BBMASK out rcar3 base-files and systemd modifications

To avoid breaking changes to systemd-tmpfiles' default behavior,
disable the base-files and systemd bbappends in meta-rcar-gen3 with
BBMASK.  The changes in the BSP seem aimed at fixing an issue with
a particular NFS root configuration that does not apply to upstream
AGL, and break the documented expected behavior of systemd-tmpfiles
with respect to configuring files/directories under /var/volatile.
Additionally, this potentially improves shared state reuse across
aarch64 machine builds.

Bug-AGL: SPEC-4256

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I03807d2190a963f8cdf303d07f00fc1c099d230e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27200
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Update RCAR BSP to 5.9.0 61/27161/2
Ronan Le Martret [Wed, 26 Jan 2022 10:14:55 +0000 (11:14 +0100)]
[RCAR] Update RCAR BSP to 5.9.0

Update driver for the new RCAR BSP v5.9.0

From files:

R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20220121.zip
R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20220121.zip

From URL:
https://www.renesas.com/us/en/products/automotive-products/automotive-system-chips-socs/r-car-h3-m3-documents-software

Bug-AGL: SPEC-4234

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Ic7487f15502825747a2dd121b4aee61dc194d00c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27161
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>
2 years agoPrepare Magic Marlin Milestone 2 57/27157/2 12.92.0 marlin/12.92.0 marlin_12.92.0
Jan-Simon Moeller [Mon, 7 Feb 2022 12:46:41 +0000 (13:46 +0100)]
Prepare Magic Marlin Milestone 2

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

2 years agopipewiresink: set a default channel map if the number of channels is fixed 30/27130/4
Ashok Sidipotu [Fri, 4 Feb 2022 05:37:55 +0000 (11:07 +0530)]
pipewiresink: set a default channel map if the number of channels is fixed

-This allows remaping streams using pipewiresink to match the channel layout
of the target device

Bug-AGL: SPEC-4241
Change-Id: I4090187dc9977fc3d0ee440b601cb95f6864a9cf
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27130
Reviewed-by: Scott Murray <scott.murray@konsulko.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

2 years ago[RCAR] Fix block device performance decreased 08/27108/7
Ronan Le Martret [Fri, 28 Jan 2022 14:34:25 +0000 (15:34 +0100)]
[RCAR] Fix block device  performance decreased

* After the RCAR BSP 5.5.O, the block device performance decreased.

The root cause is a change in the default kernel configuration of the BSP
(CPU Frequency scaling) from (RCAR BSP 4.7.0):

CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
\# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set

To its new default (RCAR BSP 5.5.0)

\# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y

You can check current value at runtime using:

cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
cat /sys/devices/system/cpu/cpufreq/policy4/scaling_governor

To mediate the regression we do switch back to the PERFORMANCE governor.

Bug-AGL: SPEC-4205

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I6d19d92dae9dd8c7977e2034215fce07d8318773
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27108
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agometa-agl-bsp: meta-sancloud: Revert problematic kernel commit 20/27120/2
Paul Barker [Mon, 31 Jan 2022 10:54:55 +0000 (10:54 +0000)]
meta-agl-bsp: meta-sancloud: Revert problematic kernel commit

Linux 5.10.y commit 4b21d4e820bb causes a backtrace to be printed on
boot:

    [    3.244915] ------------[ cut here ]------------
    [    3.249608] WARNING: CPU: 0 PID: 1 at block/blk-mq.c:3045 blk_mq_release+0x78/0xe8
    [    3.257337] Modules linked in:
    [    3.260422] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.65-sc1 #1
    [    3.266670] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    3.272822] [<c010e880>] (unwind_backtrace) from [<c010b2bc>] (show_stack+0x10/0x14)
    [    3.280681] [<c010b2bc>] (show_stack) from [<c0129160>] (__warn+0xec/0x104)
    [    3.287740] [<c0129160>] (__warn) from [<c0b16b34>] (warn_slowpath_fmt+0x64/0xc8)
    [    3.295302] [<c0b16b34>] (warn_slowpath_fmt) from [<c04ef948>] (blk_mq_release+0x78/0xe8)
    [    3.303580] [<c04ef948>] (blk_mq_release) from [<c04e20f4>] (blk_release_queue+0xb0/0x120)
    [    3.311889] [<c04e20f4>] (blk_release_queue) from [<c0573b84>] (kobject_put+0x90/0xfc)
    [    3.319900] [<c0573b84>] (kobject_put) from [<c04f4eb8>] (disk_release+0xa0/0xd8)
    [    3.327441] [<c04f4eb8>] (disk_release) from [<c06f8c30>] (device_release+0x30/0xa0)
    [    3.335232] [<c06f8c30>] (device_release) from [<c0573b84>] (kobject_put+0x90/0xfc)
    [    3.342929] [<c0573b84>] (kobject_put) from [<c072c474>] (nbd_dev_add+0x20c/0x260)
    [    3.350551] [<c072c474>] (nbd_dev_add) from [<c112aa0c>] (nbd_init+0xfc/0x11c)
    [    3.357824] [<c112aa0c>] (nbd_init) from [<c0101ef0>] (do_one_initcall+0x44/0x26c)
    [    3.365445] [<c0101ef0>] (do_one_initcall) from [<c11010b8>] (kernel_init_freeable+0x1c4/0x224)
    [    3.374196] [<c11010b8>] (kernel_init_freeable) from [<c0b23ad0>] (kernel_init+0x8/0x120)
    [    3.382411] [<c0b23ad0>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
    [    3.390023] Exception stack(0xc18dffb0 to 0xc18dfff8)
    [    3.395106] ffa0:                                     00000000 00000000 00000000 00000000
    [    3.403329] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    3.411542] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [    3.418203] ---[ end trace de955d2022fa8082 ]---

This commit was reverted in Linux 5.10.66 but the Sancloud kernel tree
is based on Linux 5.10.65. For now we can simply carry the patch to
revert this change in meta-agl-bsp.

Bug-AGL: SPEC-4156
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Change-Id: I448037f3273c6ee249facb14c42fe93fbfd0c27b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27120
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>
2 years agometa-app-framework: add agl-driver to pipewire group 00/27100/2
Ashok Sidipotu [Thu, 27 Jan 2022 09:32:48 +0000 (15:02 +0530)]
meta-app-framework: add agl-driver to pipewire group

- Update agl-session recipe to add agl-driver to pipewire
  group
- Apps in the new framework can access pipewire services
  if agl-driver is a part of pipewire group.

Bug-AGL: SPEC-4210

Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Change-Id: Iba3856006b36c0182aaa0e36e8e98f85d9c49af3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27100
Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.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

2 years agoconfig: fix wireplumber config issues 99/27099/2
Ashok Sidipotu [Wed, 26 Jan 2022 14:16:38 +0000 (19:46 +0530)]
config: fix wireplumber config issues

- AGL project not to take the wireplumber project upstream config
 files which are recently moved to /usr/share/wireplumber/.
- create-items.lua to be loaded with correct arguments.

Change-Id: I57200755d749e2222e90996cc034f66baca5568a
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27099
Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agopolicy: fix record not working 92/27092/3
Ashok Sidipotu [Thu, 6 Jan 2022 01:16:45 +0000 (06:46 +0530)]
policy: fix record not working

Define a capture endpoint to get record working.

Change-Id: I3356736676bf112249b078ffeb16548cfa3daea3
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27073
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>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27092
Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agopipewire: update to pw 0.3.43 and wp 0.4.7 22/27022/4
Ashok Sidipotu [Fri, 14 Jan 2022 15:38:56 +0000 (21:08 +0530)]
pipewire: update to pw 0.3.43 and wp 0.4.7

Change-Id: I3e478f5e1215d128f0d76ffb2b18c278d90de266
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27022
Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-agl-core/recipes-graphics/wayland: Backport two fixes for libweston-8 68/27068/4
Marius Vlad [Tue, 28 Dec 2021 14:48:17 +0000 (16:48 +0200)]
meta-agl-core/recipes-graphics/wayland: Backport two fixes for libweston-8

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>
2 years agoagl-compositor.service.in: Add default EnvironmentFile 84/27084/6
Marius Vlad [Fri, 14 Jan 2022 15:42:40 +0000 (17:42 +0200)]
agl-compositor.service.in: Add default EnvironmentFile

Debugging compositor protocol requires passing environmental variable
to the compositor. This adds /etc/default/agl-compositor file which was
in the past under /etc/default/weston filename, for this same purpose.

Bug-AGL: SPEC-4219

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ia6231c6360625f0e194a246d0c392a0a05e8a5d9
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27084
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agorecipes-graphics/wayland/agl-compositor_git.bb: Do another SRCREV bump 83/27083/3
Marius Vlad [Fri, 14 Jan 2022 09:22:36 +0000 (11:22 +0200)]
recipes-graphics/wayland/agl-compositor_git.bb: Do another SRCREV bump

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>
2 years agoweston_8.0_aglcore.inc: Set-up app_id for toytoolkit apps 85/27085/2
Marius Vlad [Fri, 14 Jan 2022 16:39:10 +0000 (18:39 +0200)]
weston_8.0_aglcore.inc: Set-up app_id for toytoolkit apps

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>
2 years agorecipes-graphics/wayland/agl-compositor_git: Bump agl-compositor SRCVREV 74/27074/4
Marius Vlad [Tue, 11 Jan 2022 10:26:14 +0000 (12:26 +0200)]
recipes-graphics/wayland/agl-compositor_git: Bump agl-compositor SRCVREV

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>
2 years agoUpdate distro configuration after release 76/27076/2
Jan-Simon Moeller [Tue, 11 Jan 2022 22:34:13 +0000 (23:34 +0100)]
Update distro configuration after release

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

2 years agometa-agl-core: gstreamer: Add 0001-waylandsink-Fix-xdg_shell-fullscreen-mode.patch. 81/26981/7
Vasyl Vavrychuk [Tue, 23 Nov 2021 05:34:35 +0000 (06:34 +0100)]
meta-agl-core: gstreamer: Add 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>
2 years agoPrepare Magic Marlin Milestone 1 62/27062/2 12.91.0 marlin/12.91.0 marlin_12.91.0
Jan-Simon Moeller [Wed, 22 Dec 2021 17:40:43 +0000 (18:40 +0100)]
Prepare Magic Marlin Milestone 1

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

2 years agoRefresh ptest-runner patch for latest dunfell 78/26978/3
Jan-Simon Moeller [Tue, 7 Dec 2021 22:57:41 +0000 (23:57 +0100)]
Refresh ptest-runner patch for latest dunfell

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

2 years agopipewire: update to pw 0.3.40 and wp 0.4.5 40/27040/4
Ashok Sidipotu [Wed, 1 Dec 2021 08:17:25 +0000 (13:47 +0530)]
pipewire: update to pw 0.3.40 and wp 0.4.5

Change-Id: Ie9e3fd0a67e6a5fa38543cb9b4cc54f2e0555813
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27040
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>
2 years agometa-app-framework: tweak agl-driver definition 60/27060/2
Scott Murray [Tue, 21 Dec 2021 23:37:36 +0000 (18:37 -0500)]
meta-app-framework: tweak agl-driver definition

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

2 years agometa-app-framework: agl-session: Ensure XDG_DATA_DIRS is set 48/27048/3
Scott Murray [Tue, 21 Dec 2021 00:35:16 +0000 (19:35 -0500)]
meta-app-framework: agl-session: Ensure XDG_DATA_DIRS is set

Add installation of a systemd user-environment-generator scriptlet
to the agl-session recipe to ensure that XDG_DATA_DIRS is set to a
reasonable default value.  This is required for locating D-Bus
activation .service files and icons.

Bug-AGL: SPEC-4182

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5d1a72022ca97f25a915b64205bf70ab33516ec6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27048
Reviewed-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-app-framework: recipes-core: add applaunchd recipe 15/27015/2
Arnaud Ferraris [Fri, 17 Dec 2021 09:43:20 +0000 (10:43 +0100)]
meta-app-framework: recipes-core: add applaunchd recipe

Bug-AGL: SPEC-4160
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I7b2d5e660625091d665727d48a45eb1b7958904e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27015
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>
2 years agometa-app-framework: start agl-compositor in a systemd user session 75/26975/4
Arnaud Ferraris [Tue, 7 Dec 2021 17:31:45 +0000 (18:31 +0100)]
meta-app-framework: start agl-compositor in a systemd user session

`weston-init` installs a system service for starting the compositor. As
we want it to run as a user service, this patch replaces this package
with `agl-compositor-init`. This involves:
- resetting RDEPENDS from `weston-ini-conf` so it doesn't pull in
  `weston-init` anymore
- making `agl-compositor-init` RCONFLICT with `weston-init` as it's
  still a RRECOMMENDS to `weston`

`agl-compositor-init` installs a systemd user service and socket, and
ensures agl-compositor is automatically started with the user session,
so the compositor is automatically started on boot. It also adds a
config fragment for the `agl-session@agl-driver` service (instance of
`agl-session` for user `agl-driver`) for properly configuring the TTY to
use for display.

Bug-AGL: SPEC-4161
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: Ifb10a206cfa97c147283bc78c46f7f09209a9591
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26975
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
ci-image-boot-test: Jenkins Job builder account

2 years agometa-app-framework: add new agl-session recipe 74/26974/3
Arnaud Ferraris [Tue, 7 Dec 2021 17:31:37 +0000 (18:31 +0100)]
meta-app-framework: add new agl-session recipe

For the new App FW, we want to create a systemd user session, to be
started on boot, which will be used to start the compositor and all user
background services.

This commit adds the corresponding target and service file (enabled by
default) so the session is started on boot.

Bug-AGL: SPEC-4161
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I51ca7e0c1a994c6798b20b2592bec56a07f41c98
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26974
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>
2 years agoAdd placeholder variable for meta-clang addition 84/26984/2
Jan-Simon Moeller [Wed, 8 Dec 2021 22:11:44 +0000 (23:11 +0100)]
Add placeholder variable for meta-clang addition

meta-clang is a dependency of multiple layers. Thus to avoid double inclusions,
add this placeholder and indirection.
To add the clang layer, you have to define AGL_META_CLANG instead of changing
BBLAYERS directly.

Bug-AGL: SPEC-3852
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I32ae8b5027531c3fc7a38c15ff3c0269c85ed9b8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26984
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agometa-app-framework: add new AGL feature and fix build 73/26973/2
Arnaud Ferraris [Tue, 7 Dec 2021 17:31:11 +0000 (18:31 +0100)]
meta-app-framework: add new AGL feature and fix build

This layer uses a new `agl-app-fw` feature to guard bbappends, so this
commit declares it in the conf include and makes sure it's used when the
feature is enabled.

Moreover, the `layer.conf` files referenced a non-existent `licenses`
folder, causing build issues. This commit fixes this by not adding this
folder to LICENSE_PATH.

Bug-AGL: SPEC-4161
Change-Id: I3360b0f3b36413e741de2d2d3e4a98fff1e1e8db
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26973
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

2 years agoweston: allow weston to be started from a systemd user session 68/26968/2
Arnaud Ferraris [Mon, 6 Dec 2021 18:15:55 +0000 (19:15 +0100)]
weston: allow weston to be started from a systemd user session

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>
2 years agometa-agl-bsp: ti: Refresh ti-sgx-ddk-km patch 70/26970/2
Paul Barker [Mon, 6 Dec 2021 18:25:28 +0000 (18:25 +0000)]
meta-agl-bsp: ti: Refresh ti-sgx-ddk-km patch

After updating the meta-ti layer to the TI CoreSDK 08.00.00.004 release,
the patch to the ti-sgx-ddk-km recipe (aka PowerVR drivers) needs
refreshing.

Bug-AGL: SPEC-4156
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Change-Id: I18034ea967c96f867e30399e8f3045b066ffd2b7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26970
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agoUpdate SDK installation path variable name 72/26972/2
Jan-Simon Möller [Tue, 7 Dec 2021 17:21:27 +0000 (18:21 +0100)]
Update SDK installation path variable name

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

2 years agoAdd templates for new application framework components 46/26946/3
Jan-Simon Moeller [Wed, 1 Dec 2021 14:23:42 +0000 (15:23 +0100)]
Add templates for new application framework components

Setup the templates.

Bug-AGL: SPEC-4161
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I4ea66291413dac8ddfc98f0536afd8f823b38391
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26946

2 years agoAdd sublayer for new application framework components 45/26945/3
Jan-Simon Moeller [Wed, 1 Dec 2021 14:16:36 +0000 (15:16 +0100)]
Add sublayer for new application framework components

Setup the layer and a scripts/run-yocto-check-layer.sh .

Bug-AGL: SPEC-4161
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I762773107ada7263b854b2f9ea54d1f11adf1487
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26945
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoFollow-up removal of deprecated recipes after appfw removal 70/26870/4
Jan-Simon Moeller [Wed, 17 Nov 2021 13:25:13 +0000 (14:25 +0100)]
Follow-up removal of deprecated recipes after appfw removal

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>
2 years agoFix a couple of override syntax issues 74/26874/2
Scott Murray [Wed, 17 Nov 2021 21:05:20 +0000 (16:05 -0500)]
Fix a couple of override syntax issues

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>
2 years agoAdd minimal image with agl-compositor 63/26863/2
Jan-Simon Moeller [Fri, 12 Nov 2021 14:47:03 +0000 (15:47 +0100)]
Add minimal image with agl-compositor

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

2 years agoRemove agl-cloudproxy from feature template 28/26828/2
Jan-Simon Möller [Thu, 4 Nov 2021 14:45:03 +0000 (15:45 +0100)]
Remove agl-cloudproxy from feature template

The agl-cloudproxy feature was removed during the rework. Also remove it from the template.

Bug-AGL: SPEC-4121
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I6f681985338dfdba0f1af95dd7acec9695a99dc6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26828

2 years agometa-agl-core: Update weston/agl-compositor init 82/26782/3
Scott Murray [Tue, 2 Nov 2021 23:29:39 +0000 (19:29 -0400)]
meta-agl-core: Update weston/agl-compositor init

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>
2 years agoPrepare master for new framework integration 52/26752/5
Jan-Simon Moeller [Mon, 18 Oct 2021 12:07:53 +0000 (14:07 +0200)]
Prepare master for new framework integration

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

2 years agoUpdate github.com git:// SRC_URIs 79/26779/2 12.90.1 marlin/12.90.1 marlin_12.90.1
Scott Murray [Tue, 2 Nov 2021 23:15:07 +0000 (19:15 -0400)]
Update github.com git:// SRC_URIs

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>
2 years agometa-agl-bsp: remove old Raspberry Pi U-Boot recipe 78/26778/2
Scott Murray [Tue, 2 Nov 2021 23:13:20 +0000 (19:13 -0400)]
meta-agl-bsp: remove old Raspberry Pi U-Boot recipe

Newer U-Boot recipes were added to pick up the 4B support, remove
the older ones since they are no longer used.

Bug-AGL: SPEC-4072

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iedc9b7ec189316319296d2a23c0293559e83566c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26778
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>
2 years agoChange DISTRO_VERSION for tagging before large rework 77/26777/2
Jan-Simon Moeller [Mon, 1 Nov 2021 20:20:17 +0000 (21:20 +0100)]
Change DISTRO_VERSION for tagging before large rework

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

2 years ago[RCAR] Add missing dependency for board M3+KF 63/26763/3
Ronan Le Martret [Fri, 29 Oct 2021 14:12:01 +0000 (16:12 +0200)]
[RCAR] Add missing dependency for board M3+KF

* For the RCAR BSP v5.5.0 we need a yocto layer:
   - poky/meta-yocto-bsp

Bug-AGL: SPEC-4081

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I7c9a49c7850bf4f5c71cd9c4a9459321fa2360a3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26763
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Fix HDMI display connector exchanging 76/26776/2
Harunobu Kurokawa [Fri, 29 Oct 2021 09:55:26 +0000 (18:55 +0900)]
[RCAR] Fix HDMI display connector exchanging

This patch always keeps SK's HDMI to HDMI-A-1 when using KF.

Normally, when using KF, HDMI-A-2 is assigned to SK's HDMI.
It is a patch that avoids SK's HDMI becoming 2nd HDMI,
and it is a commit that corrects the code for BSP v5.5.0.

Bug-AGL: SPEC-4123

Change-Id: Ie39769ce0d3bf2119b11c3c23408f42407357766
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26776
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-agl-bsp: reference hardware updates for BSP v5.5.0 25/26725/3
Scott Murray [Tue, 5 Oct 2021 16:51:16 +0000 (12:51 -0400)]
meta-agl-bsp: reference hardware updates for BSP v5.5.0

Update the AGL reference hardware devicetree and U-Boot configuration
names to work with the Renesas BSP v5.5.0 update and related
meta-agl-refhw changes.

Bug-AGL: SPEC-4103

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I94b8fc1b4e0d3b1b12e3b550af6d618464d91ac7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26725
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Add missing dependency on wayland 05/26705/5
Ronan Le Martret [Tue, 21 Sep 2021 07:34:09 +0000 (09:34 +0200)]
[RCAR] Add missing dependency on wayland

* Previous RCAR BSP provides lib /usr/lib/libpvrWAYLAND_WSEGL.so inside
  package gles-user-module. Now libpvrWAYLAND_WSEGL.so is in an independent
  package name wayland-wsegl.

Bug-AGL: SPEC-4081

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I8d7a41332bd6f15394002e3da4d9fdc5f5d3c1f5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26705
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Add missing build dependency for wayland-wsegl 04/26704/4
Ronan Le Martret [Tue, 21 Sep 2021 07:30:13 +0000 (09:30 +0200)]
[RCAR] Add missing build dependency for wayland-wsegl

Bug-AGL: SPEC-4081

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I220384fb2112b5eaf15fdc7a69f39fa138079f50
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26704
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Update RCAR BSP recipes to 5.5.0 version 03/26703/4
Ronan Le Martret [Tue, 22 Jun 2021 13:34:18 +0000 (15:34 +0200)]
[RCAR] Update RCAR BSP recipes to 5.5.0 version

* rename the dts/dtsi file, the new BSP 5.5.0 change the file name of
  the dts file.
* update the driver files hash
* Add "meta-yocto-bsp" to BBLAYERS, it's new dependency of meta-renesas.

Bug-AGL: SPEC-4081

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I53b71906e7174d7b1153a6912f7181171730147c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26703
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: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2 years ago[RCAR] Fix kernel-module-gles build 02/26702/2
Ronan Le Martret [Wed, 15 Sep 2021 16:30:10 +0000 (18:30 +0200)]
[RCAR] Fix kernel-module-gles build

* In the new RCAR BSP 5.5 one file missing from prevous BSP,
  this file was only a kind of a link. This patch just fix this missing
  file.

Bug-AGL: SPEC-4081

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I588dbe6f221e31246d164f78b04d7437f879a755
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26702
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-agl: split wireplumber to run in multiple instances 62/26662/2
George Kiagiadakis [Mon, 20 Sep 2021 11:29:45 +0000 (14:29 +0300)]
meta-agl: split wireplumber to run in multiple instances

The "IC SoundManager" design specifies that there needs to be
a session manager running in the host to manage devices and permissions,
but all the domain-specific policy and app management needs to run in
the IVI container, together with the apps. With this split, we are able
to achieve that.

In addition to the "host" and "policy" instances, we are also adding
a "bluetooth" one, which loads the bluetooth plugin and manages the
bluetooth device. This can be moved to the IVI container as well,
or elsewhere... it only depends on bluez (so it must run in the same
container as bluez).

For now, given the absence of an IVI container in the lxc-demo image,
all instances are running in the host, but it is trivial to move all
the non-host ones to another container later.

To compliment pipewire-ic-ipc, this change also adds an "alsa-suspend"
lua script that runs in the context of the "host" wireplumber instance
and its purpose is to mute pipewire-managed alsa devices when there is
a sound playing in the IC container (on another alsa device).

Finally, this change also adds V4L2 configuration in the "host" wireplumber
instance, which is still disabled (and untested), but you can easily enable
it for experimentation by uncommenting the relevant line in
host.lua.d/90-enable-all.lua

Bug-AGL: SPEC-4027
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I9febc4f3919e7c559a5d7d32bfe7bc95c75934f2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26662
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-app-framework: bump version for dbus bbappend 29/26729/2
Scott Murray [Thu, 7 Oct 2021 18:43:58 +0000 (14:43 -0400)]
meta-app-framework: bump version for dbus bbappend

Rename the dbus bbappend to handle the upgrade to 1.12.20 in the
poky 3.1.11 update.

Bug-AGL: SPEC-4104

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2876920f0ac949f4dee0835af03c096c4e186973
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26729
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agoMake the mode configurable at build time for the waltham transmitter 09/26609/4
Anusha Gugale [Thu, 2 Sep 2021 05:49:06 +0000 (11:19 +0530)]
Make the mode configurable at build time for the waltham transmitter

- 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

2 years agoraspberrypi: Upgrade to u-boot v2021.07 for latest 4B boards 24/26624/4
Hiroyuki Ishii [Thu, 9 Sep 2021 01:43:22 +0000 (10:43 +0900)]
raspberrypi: Upgrade to u-boot v2021.07 for latest 4B boards

The latest revision (1.4) of raspberry pi 4B board can't be boot
by using current version of u-boot with showing "No partition
table" message. This can be related to the change of DMA hardware
on the new SoC (2711ZPKFSB06C0T) and we've confirmed upgrading
u-boot to newer version than 2021.04 which has several fixes
around Broadcom's DMA solves the issue. Also, we'd like to choice
2021.07 rather than 2021.04 since it's going to be supported for
longer in yocto project.

Bug-AGL: SPEC-4072

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I7cbca889a93909e15ab04263c6d7d635a839bd56
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26624
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>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2 years agometa-agl-bsp: Add reference hardware WLAN card support 36/26636/2
Scott Murray [Wed, 15 Sep 2021 13:51:22 +0000 (09:51 -0400)]
meta-agl-bsp: Add reference hardware WLAN card support

Add the required firmware for the reference hardware WLAN card to
MACHINE_EXTRA_RRECOMMENDS in the agl-refhw-h3 feature include file.

Bug-AGL: SPEC-4071

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iabcff16e56bd676bb3dd237b15c6cb2fa40ba97a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26636
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>
2 years agometa-agl-bsp: fix a couple of override syntax misconversions 58/26658/2
Scott Murray [Mon, 13 Sep 2021 23:42:07 +0000 (19:42 -0400)]
meta-agl-bsp: fix a couple of override syntax misconversions

There were a couple of misconversions from the override syntax
conversion script still lurking in the i.MX8MQ EVK machine include
files, fix them.

Bug-AGL: SPEC-4052

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia441bb46cc29530d3909faf7385adca633fc3db2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26658
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>
2 years agoInject multimedia package specific to rcar platform 34/26634/3
Jan-Simon Möller [Tue, 14 Sep 2021 19:32:34 +0000 (21:32 +0200)]
Inject multimedia package specific to rcar platform

The packagegroup agl-graphical-multimedia needs to be extended
to pull in the BSP specific packagegroups.

Bug-AGL: SPEC-4029
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ieed3263884304a7d00d9f468583f3db9370e3741
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26634
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2 years agoxmlsec1: remove backported patch 29/26629/2
Scott Murray [Fri, 10 Sep 2021 20:33:45 +0000 (16:33 -0400)]
xmlsec1: remove backported patch

The backported host contamination fix for xmlsec1 can now be
removed since meta-oe now includes it.

Bug-AGL: SPEC-4051

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iba5d2f35a36cd1a99825e165013c9f849cbd054c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26629
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

2 years agoagl-compositor_git: Bump SRCREV 05/26605/2
Marius Vlad [Wed, 1 Sep 2021 14:37:24 +0000 (16:37 +0200)]
agl-compositor_git: Bump SRCREV

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>
2 years agoFix missed override syntax conversions 73/26573/2
Scott Murray [Wed, 25 Aug 2021 00:59:09 +0000 (20:59 -0400)]
Fix missed override syntax conversions

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>
2 years agoConvert to new override syntax 64/26564/4
Scott Murray [Mon, 2 Aug 2021 21:10:51 +0000 (17:10 -0400)]
Convert to new override syntax

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>
2 years agoAdd backported patch to overcome host contamination issue 58/26558/2
Jan-Simon Moeller [Thu, 12 Aug 2021 13:30:38 +0000 (15:30 +0200)]
Add backported patch to overcome host contamination issue

This patch is required to fix a cross-compilation issue due to host contamination.
It is a backport from meta-openembedded master branch and submitted to dunfell.

Bug-AGL: SPEC-4051
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I22aa1777d1e8606c54c873f53e380263f8f8a05b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26558
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agorecipes-graphics/wayland/weston-ini-conf: Add missing transmitter-output 53/26553/2
Marius Vlad [Wed, 4 Aug 2021 19:44:02 +0000 (21:44 +0200)]
recipes-graphics/wayland/weston-ini-conf: Add missing transmitter-output

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>
2 years agoagl-compositor_git: Bump SRCREV 42/26442/8
Marius Vlad [Tue, 22 Jun 2021 10:19:45 +0000 (12:19 +0200)]
agl-compositor_git: Bump SRCREV

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>
2 years agometa-agl-bsp: add "kingfisher" to AGL_FEATURES for -kf builds 44/26544/2
Scott Murray [Tue, 27 Jul 2021 19:46:51 +0000 (15:46 -0400)]
meta-agl-bsp: add "kingfisher" to AGL_FEATURES for -kf builds

To be able to detect when building with Kingfisher support in
recipes, add a "kingfisher" feature to AGL_FEATURES.  This should be
lower impact on builds than an override wrt sharing sstate between
builds, and matches what has been done for the refhw support with
h3ulcb.

Bug-AGL: SPEC-4023

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8f8eb148b94cdc8e80b0600b3112e45d1e709948
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26544
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>
2 years agolibafb-helpers: update SRCREV 40/26540/2
Scott Murray [Mon, 26 Jul 2021 20:12:12 +0000 (16:12 -0400)]
libafb-helpers: update SRCREV

Update SRCREV to pick up:

16b77f6 gcc 11.x fixes
6fb187b Update .gitreview file

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia148a09bc01c4a7188bc29fa339075d5ec1ee963
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26540
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>
2 years agoaf-binder: update SRCREV 39/26539/2
Scott Murray [Mon, 26 Jul 2021 20:09:37 +0000 (16:09 -0400)]
af-binder: update SRCREV

Update SRCREV to pick up:

c5c15f8 gcc 11.x fixes
9a8aea1 CMake: Link with -latomic

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I41a1aa7c38eceb1ca10904a060d52deba6dac6ff
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26539
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>
2 years agoSPEC-4003: add curl to agl-ci 05/26505/2
Corentin Labbe [Tue, 20 Jul 2021 11:01:16 +0000 (11:01 +0000)]
SPEC-4003: add curl to agl-ci

curl is necessary to upload LAVA CI artifacts.
Bug-AGL: SPEC-4003
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Change-Id: I53ee4d24f4b3500c11c4189824cb35284ca104bf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26505
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>
2 years agoqt5: Fix timer leak in qtwayland to avoid animations being sluggish 66/26466/3
Hiroyuki Ishii [Tue, 29 Jun 2021 08:13:03 +0000 (17:13 +0900)]
qt5: Fix timer leak in qtwayland to avoid animations being sluggish

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>
2 years agoHybrid configuration support for agl-lxc and agl-virt 86/26486/3
Naoto Yamaguchi [Wed, 7 Jul 2021 05:57:06 +0000 (05:57 +0000)]
Hybrid configuration support for agl-lxc and agl-virt

In previous implementation for agl-lxc, meta-virtualization is import
using agl-virt feature. It' controlled by included.dep.
The patch of
https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/26482
change import method from using agl-virt  to directly.

When that patch apply only, we can't use hybrid configuration for
agl-lxc and agl-virt.  This patch fix this issue.

Bug-AGL: SPEC-4014

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I9455c9eca44a01793bfc8d95ac1f8cdefd24de77
Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26486
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agometa-agl-bsp: Enable building agl-refhw-h3 firmware 76/26476/2
Scott Murray [Thu, 1 Jul 2021 17:11:46 +0000 (13:11 -0400)]
meta-agl-bsp: Enable building agl-refhw-h3 firmware

Changes:
- Replace the agl-refhw-h3 addition to MACHINEOVERRIDES with just
  using AGL_FEATURES.  With the rework of the arm-trusted-firmware
  bbappend in meta-agl-refhw, the override is no longer necessary,
  and a feature in AGL_FEATURES makes more sense in the context of
  this not being a separate machine in the AGL build, but just a
  feature.
- Remove BBMASK so the arm-trusted-firmware bbappend from
  meta-agl-refhw-gen3 will now be picked up.
- Hook up building the U-Boot variant for the refhw by extending
  UBOOT_CONFIG.
- Remove the compatible machine declaration from gpsd-conf-refhw,
  as we're using the package in h3ulcb images anyways.

Bug-AGL: SPEC-3916

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibe3ecdbe74811793c0e030df28a64b3052d64f47
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26476
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agoagl-compositor: Move protocol files to the -dev package 90/26490/8
Marius Vlad [Thu, 8 Jul 2021 15:18:22 +0000 (17:18 +0200)]
agl-compositor: Move protocol files to the -dev package

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
2 years agoAdd curl as a hard dependency for agl-netboot 87/26487/2
Jan-Simon Moeller [Wed, 7 Jul 2021 13:32:44 +0000 (15:32 +0200)]
Add curl as a hard dependency for agl-netboot

agl-netboot provides the environment for booting in CI. There we do rely on curl to
be present on the target. Thus make this a requirement for agl-netboot.

Bug-AGL: SPEC-4013
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I547481c9c2042a49d3a3ad4fd0200a264a6770fe
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26487

2 years agoChange master to Magic Marlin 78/26478/2 12.90.0 marlin/12.90.0 marlin_12.90.0
Jan-Simon Moeller [Fri, 2 Jul 2021 10:09:50 +0000 (12:09 +0200)]
Change master to Magic Marlin

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

2 years agopipewire: fix timerfd deadlock issue 70/26470/3
George Kiagiadakis [Thu, 1 Jul 2021 09:44:58 +0000 (12:44 +0300)]
pipewire: fix timerfd deadlock issue

Bug-AGL: SPEC-3957
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I5f41e4161b281473cebc3cb3d8e27c2c93b457be
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26470
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>
2 years agoRefactor kernel configuration fragment handling 60/26460/2
Scott Murray [Sun, 27 Jun 2021 18:36:00 +0000 (14:36 -0400)]
Refactor kernel configuration fragment handling

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

2 years agopackagegroup-agl-core-devel: remove duplicate profiling tools 56/26456/2
Scott Murray [Thu, 24 Jun 2021 18:33:08 +0000 (14:33 -0400)]
packagegroup-agl-core-devel: remove duplicate profiling tools

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>