AGL/meta-agl.git
2 years agowireplumber: Create new recipe for policy daemon 54/27254/9
Ashok Sidipotu [Thu, 17 Feb 2022 13:29:25 +0000 (18:59 +0530)]
wireplumber: Create new recipe for policy daemon

-carve out a new recipe for wireplumber policy, so that it
 can be assigned to the concerned container.
-create new packagegroup-pipewire-base capturing the set of
 packages required to use PipeWire API.
-remove the implicit dependencies between different wireplumber
 recipes, now each of those recipes will have to be included
 in the top level bb file.
-remove the wireplumber-config virtual package.

Bug-AGL: SPEC-4100
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Change-Id: I8ff6834c5dae94b75e07a0709c403b5d7f3b274b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27254
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agoagl-shell-activator_git.bb: Update agl-shell-activator 84/27384/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/+/27384
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-agl-bsp: add fix for intermittent failures in arm-trusted-firmware 31/27431/2
Scott Murray [Fri, 29 Apr 2022 16:44:27 +0000 (12:44 -0400)]
meta-agl-bsp: add fix for intermittent failures in arm-trusted-firmware

Add a work around in the arm-trusted-firmware bbappend for
meta-rcar-gen3 to fix intermittent failures due to a bug in the
upstream recipe where it is dependent on something else happening
to have run first and creating DEPLOY_DIR_IMAGE.

Bug-AGL: SPEC-4343

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibe43bdb0cf1b525e30ada758e12b687f5dda0d3f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27431
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>
2 years agometa-agl-bsp: fix building weston for rcar3 nogfx machines 30/27430/2
Scott Murray [Fri, 29 Apr 2022 16:36:26 +0000 (12:36 -0400)]
meta-agl-bsp: fix building weston for rcar3 nogfx machines

Work around use of obsolete Weston backend-fbdev in meta-rcar-gen3
when building without the proprietary driver stack.  Masking out the
weston_%.bbappend seems the simplest approach for now, as forcing
USE_GLES = "1" to disable the adding of -Dbackend-default="fbdev" to
EXTRA_OEMESON triggers adding "libgbm" to DEPENDS, which breaks due
to that being a component specific to the proprietary stack we are
explicitly disabling.  If the "libgbm" usage in the bbappend was
instead "virtual/libgbm" as is now used in poky, it might be possible
to just tweak PREFERRED_PROVIDER_virtual/libgbm = "mesa".

Bug-AGL: SPEC-4343

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I603a9c4744befb97513808714cedd3e21664525f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27430
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>
2 years agometa-agl-bsp: fix rcar3 packaging errors 29/27429/2
Scott Murray [Fri, 29 Apr 2022 16:29:11 +0000 (12:29 -0400)]
meta-agl-bsp: fix rcar3 packaging errors

Provide a default value of PACKAGE_ARCH for the packagegroup
packagegroup-multimedia-libs from meta-rcar-gen3 to avoids errors from
a new packaging QA check with respect to packagegroups depending on
versioned library packages needing to be machine-specific.

Note that this needs to be done in global configuration space as
opposed to in a bbappend because the value needs to be set before the
packagegroup bbclass is inherited.  This can be removed when upstream
is fixed to add the required PACKAGE_ARCH = "${MACHINE_ARCH}".

Bug-AGL: SPEC-4343

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I60dc1fbb976c7e08b174017268949dc43d6d17fe
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27429
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-agl-bsp: avoid meta-gnome dependency from meta-rcar-gen3 28/27428/2
Scott Murray [Fri, 29 Apr 2022 16:16:55 +0000 (12:16 -0400)]
meta-agl-bsp: avoid meta-gnome dependency from meta-rcar-gen3

The kirkstone-dev_3.5_M3_v5.9.0 branch of meta-renesas contains a
new bbappend for cogl which requires meta-gnome.  Since nothing
in the BSP layer itself depends on cogl, and there is currently
no obvious usecase for cogl outside of GNOME desktop related
libraries, BBMASK out the bbappend so we do not need to pull in
meta-gnome.  This can be revisited if an AGL member presents a need
for cogl on rcar3 in their downstream use of AGL.  Ideally, upstream
will move the bbappend to a dynamic layer directory to remove the
issue.

Bug-AGL: SPEC-4343

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6e55c07d1ff1fd7d68d1798ecca3c9c1b35cdf14
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27428
Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Fix IMAGE_INSTALL command syntax 27/27427/2
Ronan Le Martret [Fri, 22 Apr 2022 07:32:05 +0000 (09:32 +0200)]
[RCAR] Fix IMAGE_INSTALL command syntax

Bug-AGL: SPEC-4343

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I5de57cdc2ba0fbc0692f0a4c3a8d7a1c5aa6a3ec
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27427
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Fix LICENSE name and checksum 26/27426/2
Ronan Le Martret [Fri, 8 Apr 2022 07:52:17 +0000 (09:52 +0200)]
[RCAR] Fix LICENSE name and checksum

Bug-AGL: SPEC-4343

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I867c25e7a8ee1fd43e07d0e72ab3d35d5289471e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27426
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Add some new var conf for poky kirkstone 25/27425/2
Ronan Le Martret [Fri, 25 Mar 2022 08:47:48 +0000 (09:47 +0100)]
[RCAR] Add some new var conf for poky kirkstone

Bug-AGL: SPEC-4343

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I0e7f9dfbd18f1c2ec99b96c3a9afad57a424e6c9
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27425
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years ago[RCAR] Remove useless recipes 24/27424/2
Ronan Le Martret [Fri, 25 Mar 2022 08:43:10 +0000 (09:43 +0100)]
[RCAR] Remove useless recipes

On the branch kirkstone-dev_3.5_M3_v5.9.0 of meta-renesas some recipes
are now up to date and don't need patches anymore.

Bug-AGL: SPEC-4343

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
[Restored arm-trusted-firmware patch as it is still needed for any
  potential Xen use.]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib0eac9fe65f28645ec9aab5cf987508457d92ea9
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27424
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-agl-core: switch next branch users back to master 18/27418/2
Scott Murray [Thu, 28 Apr 2022 15:11:56 +0000 (11:11 -0400)]
meta-agl-core: switch next branch users back to master

Remove the aglnext override that was added on the next branch to
switch the couple of affected libweston users (agl-compositor and
waltham-transmitter-plugin) to forked next branches for handling
Weston 9.0 and 10.0 changes.  Now that those changes have been
merged to the master branches in the respective repositories, this
is no longer required.  As well, bump the SRCREVs to pick up the
Weston update changes.

Bug-AGL: SPEC-4343

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7a4598a9e776aefa3ec7b2bf13b2e89c086c0681
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27418

2 years agoDisable hashserv and prserv settings until new servers are actually up
Jan-Simon Moeller [Tue, 26 Apr 2022 21:32:02 +0000 (23:32 +0200)]
Disable hashserv and prserv settings until new servers are actually up

The new server revisions for kirkstone need to be deployed before we can use them.

Bug-AGL: SPEC-4343

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I351d7e2a7f434bf194b03ed5cb982a1a3d93f282

2 years agometa-agl-core: update connman configuration override
Scott Murray [Mon, 11 Apr 2022 22:44:44 +0000 (18:44 -0400)]
meta-agl-core: update connman configuration override

Upstream is now supplying a connman main.conf file in the
connman-conf recipe, move installing our own modified
version in our bbappend to just supplying our alternative
file in a connman-conf bbappend.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib89a24b29fd94093ead9ca6d13d9e60bb97b8a60

2 years agometa-agl-bsp: Update J7 EVM support for Kirkstone
Scott Murray [Mon, 11 Apr 2022 19:53:32 +0000 (15:53 -0400)]
meta-agl-bsp: Update J7 EVM support for Kirkstone

Changes:
- Rename machine template and related files to use j721e-evm instead
  of j7-evm to match meta-ti change.
- Update machine template to point into new meta-ti-bsp layer in the
  meta-ti repository.
- Drop local multiconfig TMPDIR tweak as it seems unrequired now,
  and is triggering a build failure around sysroot population that
  needs further investigation.  It may be added back in the future
  if the single TMPDIR again proves to have issues.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8c2717bb749735cfe36d86b48e3c61b1cca990e4

2 years agometa-agl-bsp: Update Beaglebone support for Kirkstone
Scott Murray [Mon, 11 Apr 2022 15:07:56 +0000 (11:07 -0400)]
meta-agl-bsp: Update Beaglebone support for Kirkstone

Changes:
- Update machine template to point into new meta-ti-bsp layer in the
  meta-ti repository, and update the dynamic layer directory name to
  match.
- meta-ti currently does not have Weston 10.0.0 support, and testing
  confirms it will not build against the currently provided version
  of the SGX GPU driver, so disable using it for now.
- Even though the GPU driver is not being used ATM, the local patch
  for ti-sgx-ddk-km to handle AGL toolchain naming has been updated
  to ease testing meta-ti updates down the road.
- The Weston bbappend that had been based on meta-arago's has been
  removed for now.  A re-evaluation of what is needed locally will
  need to be done when TI have their Weston 10.0.0 support settled.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie61cef722a643791970214710835423a21696694

2 years agometa-agl-bsp: Update i.MX8MQ EVK support for kirkstone
Scott Murray [Fri, 1 Apr 2022 16:03:39 +0000 (12:03 -0400)]
meta-agl-bsp: Update i.MX8MQ EVK support for kirkstone

Changes:
- Rename machine template and related files to use imx8mq-evk instead
  of imx8mqevk to match meta-freescale change.
- Switch to purely using the default "mainline" BSP configuration in
  meta-freescale for imx8mq-evk as opposed to the tweaking of the
  "nxp" configuration previously used.  The mainline configuration now
  builds a working image, and this lowers maintenance on our part.
- Remove imx8mqevk-viv configuration to build with Vivante GPU driver.
  NXP have not yet released Weston 10 support, and at this point the
  etnaviv driver is stable.  If a demonstration of support of Vivante
  is requested in the future (e.g. for other i.MX8 variants that still
  require it), this can be revisited.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7e279268463f68978ecd2990927aab6d64e3cbd2

2 years agoAdd AGL_META_MULTIMEDIA layer hook
Scott Murray [Wed, 30 Mar 2022 18:13:41 +0000 (14:13 -0400)]
Add AGL_META_MULTIMEDIA layer hook

Add AGL_META_MULTIMEDIA hook to bblayers.conf.sample to match the
other common meta-openembedded layer dependencies.  This will be
used to pull in the MPD recipes in meta-agl-demo.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I15bbabd8b14b6fa37185d3b514b576137e88ca8a

2 years agometa-agl-bsp: Update Raspberry Pi create-combined-dtb recipe
Scott Murray [Wed, 30 Mar 2022 18:09:36 +0000 (14:09 -0400)]
meta-agl-bsp: Update Raspberry Pi create-combined-dtb recipe

Update the create-combined-dtb recipe that creates merged dtb files
for netbooting on the Pi 4 to handle the upstream kernel change to a
separate Pi 4 specific version of the vc4-kms-v3d overlay (it now
needs vc4-kms-v3d-pi4.dtbo).  Also remove the Pi 3 support, as AGL
no longer supports it.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1c331dc3a752e3cc778d40f59dae693b60d5fc96

2 years agometa-agl-bsp: update Raspberry Pi dtc bbappend
Scott Murray [Wed, 30 Mar 2022 17:58:24 +0000 (13:58 -0400)]
meta-agl-bsp: update Raspberry Pi dtc bbappend

Upstream has upgrade to dtc 1.6.1, rename our local bbappend to match.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I72542846436838222e839c659cd75a27973aabed

2 years agoUpdate QEMU audio configuration
Scott Murray [Fri, 4 Mar 2022 19:18:29 +0000 (14:18 -0500)]
Update QEMU audio configuration

Replace obsoleted "-sound hda" QEMU default audio option with the
-device and -audiodev options that now yield the same result.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If3b6e33f3d1b77516950d299b98f394eff1efa72

2 years agoUpdate to SPDX license names
Scott Murray [Tue, 22 Feb 2022 16:15:42 +0000 (11:15 -0500)]
Update to SPDX license names

Apply updates from running the new convert-spdx-licenses script
from upstream.  This is not currently a hard requirement from
upstream, but futureproofs for when the license name mapping is
finally removed.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I0af2a3ef75c999d447549127ae4cd2ed5c5b910f

2 years agoUpdate for kirkstone variable renames
Scott Murray [Tue, 22 Feb 2022 15:42:30 +0000 (10:42 -0500)]
Update for kirkstone variable renames

Apply updates from running the new convert-variable-renames script
from upstream, plus a few manual tweaks to the sample BB_DISKMON_DIRS
configuration in the sample local.conf files to match the changes
made in upstream.  There are a few things outside of BitBake variables
that the script still complains about that will need to be addressed
in follow up changes.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I65e483043c1f2e48827e735cf8fdaec8d04e5fee

2 years agopipewire: remove old meson compatibility patches
Scott Murray [Thu, 3 Feb 2022 22:46:24 +0000 (17:46 -0500)]
pipewire: remove old meson compatibility patches

Remove accumulated patches to PipeWire that allowed building it with
the older meson in dunfell, as they break building it newer meson
in poky master/kirkstone.  A fix contained in one of those patches
for installing the systemd system unit has been reworked and added
as a new separate patch.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I949875339b500c9ccd8590a635f7734158617579

2 years agometa-agl-core: remove backported gstreamer patch
Scott Murray [Tue, 11 Jan 2022 18:32:18 +0000 (13:32 -0500)]
meta-agl-core: remove backported gstreamer patch

Remove backported gstreamer1.0-plugins-bad waylandsink patch as it is
no longer required with the version in poky master/Kirkstone.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I84ef92bde4ac28382321e9faf7be6ac8a4ce70e8

2 years agoUpdate various READMEs
Scott Murray [Sun, 5 Dec 2021 23:27:19 +0000 (18:27 -0500)]
Update various READMEs

The upstream Yocto compatibility checking now looks for "patch"
and "maintainer" in layer README files, add some documentation
in affected layers to avoid failures on the Yocto autobuilder.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I779546316198530888788772f9355e93ea325782

2 years agometa-agl-core: remove weston-init backport
Scott Murray [Sat, 6 Nov 2021 18:19:31 +0000 (14:19 -0400)]
meta-agl-core: remove weston-init backport

Remove backport of weston-init changes done for Marlin release,
they are not required with post-hardknott releases of Yocto.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I81e32fa082df174b3a8a705ac51085176bddb4b8

2 years agometa-agl-core: update reproducible builds configuration
Scott Murray [Sat, 16 Oct 2021 17:22:35 +0000 (13:22 -0400)]
meta-agl-core: update reproducible builds configuration

reproducible_build.bbclass and the BUILD_REPRODUCIBLE_BINARIES
variable are no longer required to enable reproducible builds in
upstream poky, remove usage from the poky-agl distro configuration.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I17a3c0cbb897c2ca08e3e778520d7071ed72a64b

2 years agometa-agl-core: remove qtwayland patch
Scott Murray [Wed, 1 Sep 2021 00:12:04 +0000 (00:12 +0000)]
meta-agl-core: remove qtwayland patch

The qtwayland patch being applied for Qt issue:

https://bugreports.qt.io/browse/QTBUG-79838

does not apply against 5.15, and the issue has been determined to
have been fixed by upstream qtwayland rework, so remove it.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I21eaec04a1d07080936ae8cd22de82d0d4df54ec

2 years agometa-agl-core: Update x86 kernel configuration
Scott Murray [Thu, 19 Aug 2021 02:53:03 +0000 (22:53 -0400)]
meta-agl-core: Update x86 kernel configuration

Update x86 kernel configuration fragment that enables extra graphics
drivers for removal of GMA600 and GMA3600 options in 5.13.  Support
for them is now enabled by default when GMA500 is enabled.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If5bc8d36c4473a0adea71d9456e2938f20143a3d

2 years agoUpdate configuration versions
Scott Murray [Mon, 2 Aug 2021 21:10:51 +0000 (17:10 -0400)]
Update configuration versions

Update the configuration versions to "2" in the local.conf templates.
This is now required to work work with Yocto honister or newer.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie02e1b56656da563d2a9f4b16602b9ebe970042a

2 years agometa-agl-core: update qemu x86-64 configuration
Scott Murray [Mon, 12 Jul 2021 20:35:41 +0000 (16:35 -0400)]
meta-agl-core: update qemu x86-64 configuration

The "-show-cursor" option has been removed in QEMU 6.0, replace
usage with the newer "-display default,show-cursor=on".

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic7a9610d77e641faa624435488cc371a51c7c92d

2 years agometa-agl-core: remove image-mklibs usage
Scott Murray [Mon, 12 Jul 2021 20:33:33 +0000 (16:33 -0400)]
meta-agl-core: remove image-mklibs usage

image-mklibs.bbclass has been removed from upstream poky in honister,
remove usage in the poky-agl distro configuration and the base
local.conf.sample file.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I25f5edb7afd28f874f10062af56d3282ae910346

2 years agometa-agl-bsp: update Raspberry Pi weston.ini fragments
Scott Murray [Tue, 9 Mar 2021 19:42:21 +0000 (14:42 -0500)]
meta-agl-bsp: update Raspberry Pi weston.ini fragments

Remove the unused hdmi-a-1-270-720p.cfg and update the transform
in dsi.cfg for weston 9.0 just in case someone needs to use it.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id4ada1bbb3c4ff4c9f9f49dad11226f23fbdfe7b

2 years agometa-agl-bsp: remove linux-raspberrypi_5.4.bbappend
Scott Murray [Tue, 9 Mar 2021 19:34:34 +0000 (14:34 -0500)]
meta-agl-bsp: remove linux-raspberrypi_5.4.bbappend

Remove the Xen-specific linux-raspberry kernel bbappend and associated
patch as they are no longer applicable to the default 5.10 kernel.
Based on Xen project announcements, it is believed that Xen should
work out of the box with 5.10 on Raspberry Pi 4, but that has not been
tested as part of this upgrade.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I879f9ddb63f1ad83051df56f167d63c901a7b5e8

2 years agometa-agl-bsp: remove Raspberry Pi U-Boot backport
Scott Murray [Tue, 9 Mar 2021 19:31:02 +0000 (14:31 -0500)]
meta-agl-bsp: remove Raspberry Pi U-Boot backport

The backport of the U-Boot 2021.07 recipe is no longer required
with the upgrade to meta-raspberrypi master.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id00d6aaad805b7c4aff386b4e9d04dda2f1e241c

2 years agometa-agl-bsp: remove Raspberry Pi bootfiles.bbappend
Scott Murray [Mon, 8 Mar 2021 21:37:22 +0000 (16:37 -0500)]
meta-agl-bsp: remove Raspberry Pi bootfiles.bbappend

Upstream have renamed their bootfiles recipe to rpi-bootfiles,
but since AGL has dropped meta-updater support just remove the
bbappend, and also remove a related sota override in the bbappend
for rpi-config.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id03780ecf10c4f9e6de6d9b71d0d5cf3e0144eed

2 years agometa-agl-core-test: Fix freetype-demos build
Scott Murray [Mon, 1 Mar 2021 21:51:26 +0000 (16:51 -0500)]
meta-agl-core-test: Fix freetype-demos build

Update freetype bbappend and patches for building freetype-demos
with freetype 2.11 in poky master.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I393cec758934786cfa1d9d261b7e069b4d7514b5

2 years agometa-agl-core: use next branch for weston dependent packages
Scott Murray [Wed, 24 Feb 2021 23:21:49 +0000 (18:21 -0500)]
meta-agl-core: use next branch for weston dependent packages

Add a "aglnext" OVERRIDE in the distro configuration, and use it
to select the "next" branches in the agl-compositor and
waltham-transmitter-plugin recipes, and use AUTOREV for their
SRCREV.  The latter will allow rebasing the next branches in
those repositories as next branch updates occur without requiring
SRCREV updates every time.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4f2a57fface53374d9428b5af1c6ad02edfde7eb

2 years agometa-agl-core: update poky-agl distro configuration
Scott Murray [Wed, 24 Feb 2021 20:35:44 +0000 (15:35 -0500)]
meta-agl-core: update poky-agl distro configuration

Replace use of DATE with METADATA_REVISION to match upsteam's
change (which was to improve reproducibility)

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4dc14cdb682730af442c90e73ee3d1d205e497e3

2 years agometa-agl-core: update ptest-runner patch
Scott Murray [Wed, 24 Feb 2021 20:14:19 +0000 (15:14 -0500)]
meta-agl-core: update ptest-runner patch

Update local ptest-runner patch for LAVA enablement to work with
newer version in upstream poky master.

v3: update for ptest 2.4.2

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I818c8fc0e18510f2a9d8c888bb923772b2f2e901

2 years agometa-agl-core: update weston-ini-conf
Scott Murray [Tue, 23 Feb 2021 21:28:01 +0000 (16:28 -0500)]
meta-agl-core: update weston-ini-conf

Update weston-ini-conf recipe to handle weston 9.0 in poky master.
The changes are to handle the flip of the meaning of 90 and 270
degree rotations in the transform option in weston.ini, and the
rename of its values to "rotate-X" instead of just the number of
degrees.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2bb316a195f7eb3733ff757a565535317db1da08

2 years agometa-agl-core: update weston
Scott Murray [Tue, 23 Feb 2021 21:26:14 +0000 (16:26 -0500)]
meta-agl-core: update weston

Update weston bbappend for weston 10.0 in poky master, and remove
now upstreamed patches.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5d10435ec9b7c18bb36e8a88f6853f1628e5b052

2 years agometa-agl-core: update systemd patches
Scott Murray [Tue, 23 Feb 2021 18:39:10 +0000 (13:39 -0500)]
meta-agl-core: update systemd patches

Remove patch for now upstreamed fix.

Bug-AGL: SPEC-3819

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I2f4441e8936df72edea2b1256fd06bed6fd8c2b1

2 years agoDeclare layer compatibility with kirkstone
Scott Murray [Mon, 22 Feb 2021 23:01:41 +0000 (18:01 -0500)]
Declare layer compatibility with kirkstone

For tracking upstream, we need to update the layer compatibility.

Bug-AGL: SPEC-3819

Change-Id: Ic1bc22653e59b2891d77d44cdd409a805e5cc332
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agopipewire: Backport crash fix 97/27297/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/+/27297
Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-by: Marius Vlad <marius.vlad@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 agoMaster branch is now needlefish 73/27273/3
Jan-Simon Moeller [Tue, 22 Mar 2022 14:45:31 +0000 (15:45 +0100)]
Master branch is now needlefish

With the 'marlin' release branch being cut, master is now open for changes
to the upcoming 'needlefish' release.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ifdae048c4b89a6dc7acf9e26cdfc0f123e0e0230
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27273
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2 years agowayland/agl-compositor_git.bb: Bump SRCREV 52/27252/3
Marius Vlad [Tue, 8 Mar 2022 14:28:58 +0000 (16:28 +0200)]
wayland/agl-compositor_git.bb: Bump SRCREV

Another bump update for agl-compositor, addresses a small issue found
while using the cursor + some left-overs which have been added with the
previous update.

Since the last SRCREV update, the following changes has been added:

cec4cf8fe409c layout: Address all other callsites w/ dirty+surface damage
62e020b90b062 layout: Inflict surface damage
b06ffcc3ca1ed layout: Remove left-over comment
f24765124d3a5 Fix potential memory leak
9cc8100eef72b meson.build: Don't set the dependency type for wayland-scanner
26c37c4140ce5 Fix potential memory leak

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id2ba7019777da1c06fdecec5a174c8bfeae1a7f3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27252
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agoFix potential memory leak of two pointers (xwayland and client) 57/27257/6
duerpei [Mon, 14 Mar 2022 05:27:43 +0000 (13:27 +0800)]
Fix potential memory leak of two pointers (xwayland and client)

This backports four patches from weston to solve a memory leak problem
These four patches are:
https://gitlab.freedesktop.org/wayland/weston/-/commit/5a6604a7a2e52e5cd84c1f53724b3f7c325b5dff.patch
https://gitlab.freedesktop.org/wayland/weston/-/commit/f53c05d3c2c19c139c52e9bd621c2654dd3dac69.patch
https://gitlab.freedesktop.org/wayland/weston/-/commit/e2583ca0844bd7a8ce4fc94da9ad67edf49ffd45.patch
https://gitlab.freedesktop.org/wayland/weston/-/commit/8740037a93c7c4400cc381ecf3009d1e4014be07.patch

The following is the valgrind log:
 160  bytes in 1 blocks are definitely lost in loss record 39 of 66
     at 0x484B64C: calloc (in /usr/lib/valgrind/vgpreload_memcheck-arm64-linux.so)
     by 0x4A73C87: ??? (in /usr/lib/libweston-desktop-8.so.0.0.0)
     by 0x4A7184F: weston_desktop_create (in /usr/lib/libweston-desktop-8.so.0.0.0)
     by 0x487096B: ivi_desktop_init (in /usr/lib/agl-compositor/libexec_compositor.so.0.0.0)
     by 0x486F5E7: wet_main (in /usr/lib/agl-compositor/libexec_compositor.so.0.0.0)
     by 0x48B010F: (below main) (in /lib/libc-2.31.so)

In agl-compositor/src/composiotr.c
"ivi->desktop->compositor->xwayland" is zalloced by
wet_main()->ivi_desktop_init()->weston_desktop_create()->weston_desktop_xwayland_init()
"ivi->desktop->compositor->xwayland->client" is zalloced by
wet_main()->ivi_desktop_init()->weston_desktop_create()->weston_desktop_xwayland_init()->weston_desktop_client_create()

"ivi->desktop->compositor->xwayland" and
"ivi->desktop->compositor->xwayland->client"
The memory pointed to has not been released
Now, I want to free the memory pointed by the two pointers.
What can do this is the function of weston_desktop_xwayland_fini() in
0003-libweston-desktop-add-weston_desktop_xwayland_fini.patch
And the submission of this patch depends on the first three patches,
so I submitted these four patches.

Bug-AGL: SPEC-4291

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I3b1140e88eadad9e378c2bb43221026e280ecd90
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27257
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agoUpdate distro configuration after release 67/27267/2
Jan-Simon Moeller [Tue, 15 Mar 2022 12:57:22 +0000 (13:57 +0100)]
Update distro configuration after release

Stabilization cycle open for Magic Marlin (final) 13.0.0 .

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

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>