AGL/meta-agl.git
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>
2 years agoPost release bump after LL m2 55/26455/2
Jan-Simon Moeller [Thu, 24 Jun 2021 16:56:21 +0000 (18:56 +0200)]
Post release bump after LL m2

Update the distro configuration.

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

2 years agoaglsetup: Fix append_fragment fails with heredocs on Ubuntu 21.04. 28/26428/3
vasyl [Mon, 14 Jun 2021 17:39:50 +0000 (20:39 +0300)]
aglsetup: Fix append_fragment fails with heredocs on Ubuntu 21.04.

Looks like bash creates temporary file for heredocs and passes fd to
deleted file to command that use heredocs. Therefore, it is better not
to use '[[ -f /dev/stdin ]]' in case of heredocs.

Replaced it with more relaxed condition.

Bug-AGL: SPEC-3990
Change-Id: Ib68d1510dd6899b0f60b207071b222ef1933bf77
Signed-off-by: vasyl <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26428
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 agoUpdate license handling for pipewire recipe 49/26449/2
Jan-Simon Moeller [Wed, 23 Jun 2021 19:33:43 +0000 (21:33 +0200)]
Update license handling for pipewire recipe

We need to set LICENSE to multiple (MIT & GPL-2.0-only & LGPL-2.1-or-later) to satisfy
the current scheme required by bitbake.

But the licenses of the output packages are not all 3,
but mostly MIT and a few LGPL-2.1-or-later and one GPL-2.0-only.
To map the dynamically created output packages with the proper MIT license,
we need to call setVar after all dynamic packages are created.

Bug-AGL: SPEC-3844
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I0900902af2527254869c125ec90239c9afb26f3c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26449
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Georgios Kiagiadakis <george.kiagiadakis@collabora.com>
2 years agoRemove default inclusion of kernel-modules 31/26431/3
Scott Murray [Mon, 14 Jun 2021 22:12:31 +0000 (18:12 -0400)]
Remove default inclusion of kernel-modules

Remove the kernel-modules meta package append to IMAGE_INSTALL
from the default base-agl.inc aglsetup.sh template, as it essentially
turns a developer convenience into default behavior that may not be
desirable by all users.  Note that this does change the contents of
agl-image-(boot|minimal|weston) with respect to kernel modules on
most platforms, but if this proves problematic it is recommended that
kernel-modules be added back elsewhere in a more transparent fashion.
A corresponding change will be made in meta-agl-demo to retain the
behavior for the demo platform images.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie1098f25d69e721345d13db3681278543d594e78
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26431
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agoSPEC-3976: qemuarm: remove CONFIG_ARM_LPAE 35/26435/2
Corentin Labbe [Wed, 16 Jun 2021 08:46:28 +0000 (08:46 +0000)]
SPEC-3976: qemuarm: remove CONFIG_ARM_LPAE

CONFIG_ARM_LPAE cause sndHDA failure.
Furthermore, this permits to mimic real AGL ARM board which dont have LPAE.

Bug-AGL: SPEC-3976
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Change-Id: I0f48feadc8aa04427ffb2365cf319e2dcbe32ff3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26435
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 agorcar3: move extra kernel modules to MACHINE_EXTRA_RRECOMMENDS 30/26430/2
Scott Murray [Mon, 14 Jun 2021 22:05:47 +0000 (18:05 -0400)]
rcar3: move extra kernel modules to MACHINE_EXTRA_RRECOMMENDS

The appending of the rcar3 graphics related kernel modules to
IMAGE_INSTALL in agl_rcar.inc is problematic for users building
headless or container targetted images.  To avoid this, instead
append them to MACHINE_EXTRA_RRECOMMENDS, which will result in
them being pulled in via packagegroup-machine-base.  Users not
desiring them can then either disable package recommendations
or not pull in packagegroup-machine-base.  In practice, this
has no effect on any of the current images in meta-agl-core or
meta-agl-demo, but it is required for the IC EG guest container
build for rcar3 platforms.

Bug-AGL: SPEC-3983

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I309926b6dc31614fb7c710b0a302716942d07df8
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26430
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 agopipewire: fix alsa virtual device to work again 47/26447/2
George Kiagiadakis [Tue, 22 Jun 2021 15:08:25 +0000 (15:08 +0000)]
pipewire: fix alsa virtual device to work again

* Install symlinks to the configuration files in /etc/alsa/conf.d
* Add patch from pipewire master to support roles on the virtual
  alsa device

Bug-AGL: SPEC-3822
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: Ie411df23390754e2cdc494657eb9881771b8c401
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26447
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 agopipewire: update to pw 0.3.30 and wp 0.4.0 26/26426/5
George Kiagiadakis [Fri, 11 Jun 2021 08:33:59 +0000 (11:33 +0300)]
pipewire: update to pw 0.3.30 and wp 0.4.0

* The pipewire recipe has been synced with the upstream yocto one
* WirePlumber configuration now has volume ducking enabled for
  navigation messages. This means that music will now duck when
  a navigation message plays instead of being corked.
* PipeWire's default configuration now lives in /usr/share/pipewire,
  with the possibility to override it in /etc/pipewire. This allows
  resetting to upstream defaults by removing /etc/pipewire

v2: add licenses to the layer to match the upstream recipe,
    adapt licenses of sub-packages
v3: mark each package with the desired license instead of the mix
v4: simplify the license output of the sub-packages

Bug-AGL: SPEC-3844
Change-Id: I7a15ddb503d5b064f244c8a42a1aafb4caa1d46a
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26426
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoRemove Raspberry Pi 3 support 29/26429/2
Scott Murray [Sat, 12 Jun 2021 21:22:13 +0000 (17:22 -0400)]
Remove Raspberry Pi 3 support

The raspberrypi3 machine template had only been retained to allow
anyone interested in using one with a telematics or cluster demo
image build to do so.  At this point the Pi 4 has been out long
enough that that seems no longer necessary, so removing the
support to avoid confusion and reduce clutter seems warranted.

Bug-AGL: SPEC-3985

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib3770ba03771aff468f94d5bf6f2910fc01f7ee0
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26429
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 agoPrepare Lucky Lamprey M2 27/26427/2 11.92.0 lamprey/11.92.0 lamprey_11.92.0
Jan-Simon Moeller [Sun, 13 Jun 2021 21:24:04 +0000 (23:24 +0200)]
Prepare Lucky Lamprey M2

Update the distro manifest.

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

2 years agometa-agl-core: dynamically add qtbase bbappend 95/26395/3
Scott Murray [Mon, 7 Jun 2021 21:29:36 +0000 (17:29 -0400)]
meta-agl-core: dynamically add qtbase bbappend

Add a dynamic layer addition for meta-qt5 that contains a qtbase
bbappend with the required configuration changes for building
it with Wayland support.  The aim is to avoid duplication of these
configuration changes among meta-agl-core users.

Bug-AGL: SPEC-3972

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I642ad6e62c10da1b1c2323a13c7d5fa91ba9f028
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26395
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 agoUpdate agl-virt feature 94/26394/3
Scott Murray [Mon, 7 Jun 2021 21:21:41 +0000 (17:21 -0400)]
Update agl-virt feature

Changes:
- Add AGL_META_FILESYSTEMS hook to bblayers.conf.sample to match
  the other common meta-openembedded layer dependencies.
- Update agl-virt 50_bblayers.conf.inc to define the required
  AGL_META_* variables for the layers from meta-openembedded that
  it requires.

Bug-AGL: SPEC-3970

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iae55fa082bd25cf43bde6152abab40c836cf6279
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26394
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agoAdd agl-package-management feature 93/26393/2
Scott Murray [Mon, 7 Jun 2021 21:14:20 +0000 (17:14 -0400)]
Add agl-package-management feature

Changes:
- Move addition of package-management to IMAGE_FEATURES and
  associated package feed variables to a new agl-package-management
  feature template.  The feature is not included by default in
  the base set.
- To somewhat maintain the previous developer experience the new
  feature has been made a dependency of the agl-devel feature.
  In practice, the only images affected by this change are
  agl-image-minimal and agl-image-weston from meta-agl-core, the
  demo platform images in meta-agl have package management enabled
  by default.

Bug-AGL: SPEC-3971

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I56665e1cd82db19a697fdae2551a9276eab08961
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26393
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 initial j7-evm machine support 79/26379/3
Scott Murray [Sun, 30 May 2021 21:01:47 +0000 (17:01 -0400)]
Add initial j7-evm machine support

Add template and inc file for requested j7-evm machine.

Notes:
- The various images have been test built, including the
  agl-demo-platform image.  No runtime testing has been done due to
  lack of hardware.
- The proprietary SGX graphics support has not been enabled.  This
  is due to both being unable to test, and it being unclear if it
  is required given the telematics usecases mentioned with respect
  to the hardware.
- The shared TMPDIR for the non-optional multiconfig for building
  the bootloader has been shifted to a split one, as failures were
  reproducibly being seen when using the rm_work bbclass, and in
  general the community recommendation is to not share them.  This
  does mean that cleaning up a build tree requires removing the
  tmp-k3r5 directory in addition to tmp.

Bug-AGL: SPEC-3928

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5c4e325b0b709b6571946475bf128bc25b171f6e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26379
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 agoRemove dra7xx-evm machine support 78/26378/3
Scott Murray [Sun, 30 May 2021 19:13:37 +0000 (15:13 -0400)]
Remove dra7xx-evm machine support

Remove dra7xx-evm machine template and related BSP configuration
tweaks.  The configuration is stale and untested, and no one has
expressed interest in it for long enough that it seems better to
just remove it to avoid confusion about support status.

Bug-AGL: SPEC-3934

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I1659eef113cf1e6fcfdddf65f712275b8fc49b6f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26378
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 agoUpdate i.MX machine configurations 77/26377/3
Scott Murray [Sun, 30 May 2021 18:58:49 +0000 (14:58 -0400)]
Update i.MX machine configurations

Changes:
- Add new i.MX and i.MX6 common inc files and shift duplicated
  configuration to them.
- Switch to using the newer IMX_BSP_DEFAULT variable mechanism for
  selecting mainline vs NXP bits, instead of adding use-mainline-bsp
  to MACHINEOVERRIDES.
- Remove the accidental addition of agl-medium-arm-compiler to
  DISTRO_FEATURES for the imx8mqevk configurations.
- Remove some other stale variable definitions.
- Update BSP layer path in i.MX6 template 50_setup.sh files, these
  were missed on a previous update.

Bug-AGL: SPEC-3933

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I0145e3c8b73b4d53706fda4237ab10f181fd16f7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26377
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-core: Rework packagegroup-agl-core-boot 76/26376/3
Scott Murray [Sun, 30 May 2021 18:47:34 +0000 (14:47 -0400)]
meta-agl-core: Rework packagegroup-agl-core-boot

To avoid the problem of it drift with respect to the upstream
packagegroup-core-boot that it was originally derived from, rework
packagegroup-agl-core-boot to just RDEPEND on it instead.  This
has the benefit of making the AGL additions more clearly visible.

Additionally:
- Define VIRTUAL-RUNTIME_base-utils-syslog for packagegroup-core-boot
  to match AGL's current default.
- Add a VIRTUAL-RUNTIME_rngd variable to allow downstream users to
  remove or replace rng-tools in their distro configuration.
- Explicitly add the packagegroup to IMAGE_INSTALL in the base
  agl-image-boot.inc to better match upstream core-image-minimal in
  definition, and make sure that any derived image that is created by
  including the inc file (instead of the bb file) is usable.

Bug-AGL: SPEC-3932

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib82d5d6b561eca4d059c56b01a0caddefcb48776
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26376
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agoRemove old cyclone5 template 80/26380/2
Jan-Simon Moeller [Mon, 31 May 2021 10:59:33 +0000 (12:59 +0200)]
Remove old cyclone5 template

This is no longer in active use and will be removed.

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

2 years agoRemove connman-plugin-session-policy-local 56/26356/4
Naoto Yamaguchi [Tue, 18 May 2021 23:04:56 +0000 (08:04 +0900)]
Remove connman-plugin-session-policy-local

A packagegroup-agl-core-connectivity require to connman-plugin-session-policy-local in all case.
On the other hand, connman-plugin-session-policy-local is enabled in case of AGL_FEATURES with aglcore.
When the meta-agl use without aglcore, building for packagegroup-agl-core-connectivity will fail.
This patch remove to connman-plugin-session-policy-local in all case.
Because connman-plugin-session-policy-local is not using.

Bug-AGL: SPEC-3924

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Icb9d3bca640a93348857e17a195ac6d1a20d30bb
Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26356
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
2 years agoPost release update to distro config 73/26373/2
Jan-Simon Möller [Tue, 25 May 2021 13:56:17 +0000 (15:56 +0200)]
Post release update to distro config

M1 is being released. Update the distro configuration

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I4d2edaed3fa311f357c42aff3c0d4b901e867911
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26373
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

3 years agoPrepare Lucky Lamprey Milestone 1 53/26353/2
Jan-Simon Moeller [Thu, 13 May 2021 22:02:28 +0000 (00:02 +0200)]
Prepare Lucky Lamprey Milestone 1

Adapt distro configuration for LL m1 .

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

3 years agoagl-shell-activator_git: Add recipe 48/26348/3 11.91.0 lamprey/11.91.0 lamprey_11.91.0
Marius Vlad [Wed, 12 May 2021 09:59:13 +0000 (12:59 +0300)]
agl-shell-activator_git: Add recipe

This adds the recipe for agl-activator/agl-shell-activator, a simple
tool that switches (already started) applications. It assumes the first
output, but can be enhanced to support use multi output if needed.

Bug-AGL: SPEC-3817

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I32f8bb246d75591cd7fc4f7d4b4047ee2b8f1b09
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26348
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>
3 years agowireplumber: update to 0.4 rc1 40/26340/2
George Kiagiadakis [Tue, 11 May 2021 08:34:16 +0000 (11:34 +0300)]
wireplumber: update to 0.4 rc1

* Update the bluetooth config to be aligned with the default upstream config
* Make a2dp streams use the Multimedia role instead of Communication
* Add wireplumber.conf in the agl config, which is now required

Bug-AGL: SPEC-3844
Change-Id: Ifdc61065593b7cbd366dd490689135f0973ebf66
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26340
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>
3 years agometa-pipewire: add meta-oe dependency 43/26343/2
Scott Murray [Thu, 6 May 2021 15:50:43 +0000 (11:50 -0400)]
meta-pipewire: add meta-oe dependency

Add LAYERDEPENDS definition to meta-pipewire's layer.conf, meta-oe is
now a dependency due to Wireplumber's use of lua.

Bug-AGL: SPEC-3909

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia57de5b43cca86a5b5260a06494ef43dec6ae675
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26343
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>
3 years agopipewire: backport pipewiresink patches to fix stuttering and other issues 38/26338/3
George Kiagiadakis [Mon, 10 May 2021 16:07:57 +0000 (19:07 +0300)]
pipewire: backport pipewiresink patches to fix stuttering and other issues

Bug-AGL: SPEC-3900
Change-Id: Ib93772c58b4177b8e72713e4d395c9244732e907
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26338
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agopipewire: update to 0.3.27 33/26333/3
George Kiagiadakis [Fri, 7 May 2021 07:59:42 +0000 (10:59 +0300)]
pipewire: update to 0.3.27

Bug-AGL: SPEC-3900
Bug-AGL: SPEC-3844

Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I36eba1a6ad1342351b668360c2c812f0a9bb3632
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26333
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>
3 years agometa-agl-core: remove IMAGE_FSTYPES override 92/26292/6
Scott Murray [Fri, 23 Apr 2021 20:32:24 +0000 (16:32 -0400)]
meta-agl-core: remove IMAGE_FSTYPES override

Remove the anonymous python logic added to override any changes
to IMAGE_FSTYPES via _append/_remove by BSPs to fix SPEC-3741.
The updated Renesas BSP no longer does so, and removing this
logic avoids issues when using meta-agl-core with distribution
configurations other than poky-agl.

Additionally:
- Change the IMAGE_FSTYPES and INITRAMFS_FSTYPES assignments in
  poky-agl.conf back to regular ("=") instead of immediate
  (":=") so that things like the _appends being done to
  AGL_DEFAULT_IMAGE_FSTYPES for netboot and CI usecases will
  take affect. They were only currently working because of the
  later evaluation in the anonymous python logic that is being
  removed.
- Rationalize agl-image-minimal.inc to just include
  agl-image-boot.inc, and remove the unnecessary use of the
  AGL_EXTRA_IMAGE_FSTYPES variable in agl-image-boot.inc.

Bug-AGL: SPEC-3897

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id655683c705678dd3ab1caff8980dba06f46a1bc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26292
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
3 years agometa-agl-core/recipes-graphics/wayland: Do not export seat related functions 44/26244/4
Marius Vlad [Thu, 8 Apr 2021 13:22:05 +0000 (16:22 +0300)]
meta-agl-core/recipes-graphics/wayland: Do not export seat related functions

We're only using the seat initialization parts for
waltham-transmitter-plugin so add them only there. So far there's only a
user for it (the transmitter-plugin) so it is easier to just build it
conditionally for now.

Bug-AGL: SPEC-3879

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3af5578c319c361babf3fc5497517f2b075a4271
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26244
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>
3 years agovirtio: Backport virtio sound driver. 91/26291/3
Vasyl Vavrychuk [Thu, 15 Apr 2021 17:21:22 +0000 (20:21 +0300)]
virtio: Backport virtio sound driver.

Added patch series is the latest implementation [1] of virtio sound
device [2] driver. It was accepted [3] by sound maintainer for the next
kernel version.

virtio-snd.cfg snippet has been generated using menuconfig/diffconfig
tasks by selecting SND_VIRTIO, other configs have been selected
automatically.

[1]: https://lore.kernel.org/alsa-devel/20210302164709.3142702-1-anton.yakovlev@opensynergy.com/
[2]: https://github.com/oasis-tcs/virtio-spec/blob/master/virtio-sound.tex
[3]: https://lore.kernel.org/alsa-devel/s5hsg575q5z.wl-tiwai@suse.de/

Bug-AGL: SPEC-3894
Change-Id: Ide484b4a70e5d2aef0726f701f87d783e128c4d3
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26291
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>
3 years agovirtio: Bump virtio-aarch64 kernel to version v5.10. 90/26290/3
Vasyl Vavrychuk [Thu, 15 Apr 2021 17:18:59 +0000 (20:18 +0300)]
virtio: Bump virtio-aarch64 kernel to version v5.10.

There are a number of virtio drivers [1,2] developed on top of newer
kernel version. To simplify their backporting it is better to have
newest possible kernel version. Use v5.10 since at the moment it is
latest available Linux Yocto kernel. As a sacrifice, some external
kernel modules have to be disabled since they fail to compile with newer
kernel.

Recipe imported from

repo: https://git.yoctoproject.org/cgit/cgit.cgi/poky/
branch: master
commit: a870101
path: meta/recipes-kernel/linux/linux-yocto_5.10.bb

[1]: https://lore.kernel.org/alsa-devel/20210302164709.3142702-1-anton.yakovlev@opensynergy.com/
[2]: https://lore.kernel.org/linux-arm-kernel/20201105212116.411422-1-peter.hilber@opensynergy.com/

Bug-AGL: SPEC-3894
Change-Id: I8ac793c1075bdeaa96d03252b97abcf983bb7ee0
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26290
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agovirtualization/linux-yocto: Fix multitouch with virtio-input. 89/26289/3
Vasyl Vavrychuk [Wed, 16 Dec 2020 18:03:37 +0000 (20:03 +0200)]
virtualization/linux-yocto: Fix multitouch with virtio-input.

Multitouch support with virtio-input was broken which can be observed:

* by running weston-simple-touch with weston compositor (
weston-simple-touch does not work with AGL compositor due to XDG shell
issues)
* by doing pinch to zoom in/out on navigation app map

Change-Id: I3ec2a989a4217ebe22cee9cf1640190ca8e2bb81
Bug-AGL: SPEC-3893
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26289
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agovirtualization/linux-yocto: Add virtio-aarch64-standard.scc to SRC_URI. 88/26288/3
Vasyl Vavrychuk [Wed, 16 Dec 2020 16:47:15 +0000 (18:47 +0200)]
virtualization/linux-yocto: Add virtio-aarch64-standard.scc to SRC_URI.

It allows to use patch command to apply patches via scc file.

As explained in [1,2], Yocto kernel metadata is commonly used for two
purposes:

1. To construct Yocto kernel git by committing patches listed in scc
files.
2. To configure Yocto kernel during Yocto build.

When scc file is not explicitly added to SRC_URI, then patch commands
will be ignored during Yocto build because it is assumed that patches
are already pre-applied during Yocto kernel git tree construction.

On the other hand, nopatch should be added to standard.scc because
patches from it are actually pre-applied.

[1]: https://www.yoctoproject.org/pipermail/yocto/2019-October/046986.html
[2]: https://docs.yoctoproject.org/kernel-dev/maint-appx.html

Change-Id: Id238e79e1b354daaa23e83bef45fc93a216fbf92
Bug-AGL: SPEC-3893
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26288
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agovirtualization/linux-yocto: Reorganize layout of linux-yocto kernel virtio metadata. 87/26287/3
Vasyl Vavrychuk [Fri, 16 Apr 2021 13:01:41 +0000 (13:01 +0000)]
virtualization/linux-yocto: Reorganize layout of linux-yocto kernel virtio metadata.

Follow layout of yocto-kernel-cache, this makes code a little bit more
understandable and familiar for one who worked with yocto-kernel-cache.

Change-Id: I1ad65039a1738b928069d035d485e2728e8a55b2
Bug-AGL: SPEC-3893
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26287
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agometa-pipewire: update to pipewire 0.3.25 and wireplumber master 94/26094/6
George Kiagiadakis [Thu, 11 Feb 2021 12:13:55 +0000 (14:13 +0200)]
meta-pipewire: update to pipewire 0.3.25 and wireplumber master

Bug-AGL: SPEC-3844
Change-Id: Ie32bfa43bf078c7d218d3150dc616501b8848bd0
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26094
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agorecipes-graphics/wayland/weston_8.0_aglcore: Remove unneeded patch 79/26279/3
Marius Vlad [Tue, 20 Apr 2021 16:33:25 +0000 (19:33 +0300)]
recipes-graphics/wayland/weston_8.0_aglcore: Remove unneeded patch

With the last SRCREV bump for agl-compositor we no longer need the patch
that made a private function, public.

Bug-AGL: SPEC-3641
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3f58f88b8b33fad5eff1812112acef00306f1cb5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26279
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>
3 years agorecipes-graphics/wayland/agl-compositor: SRCREV bump 78/26278/2
Marius Vlad [Tue, 20 Apr 2021 13:57:53 +0000 (16:57 +0300)]
recipes-graphics/wayland/agl-compositor: SRCREV bump

The major change in this bump, besides some smaller fixes, is that the
compositor would send to the client (before attaching a buffer to a surface)
the initial surface dimensions, thus not needing any resizing code for the
client to handle, making this a nice optimization to have to in.
Obviously, this happens only for regular clients, w/ the client shell,
still required to handle the resizing of its buffers.

With this bump we also remove an external dependency patch (which should
come as a follow-up to this) and increase the compositor version.

In detail the following changes have been added:

68d184f9d541a47 meson.build: Do a release update before libweston9 integration
483d363b9e724a0 layout: Remove weston_output_damage dependecy
e35c7858a788b46 layout: Fix split role sending invalid dimensions
80febb3fbcebe88 desktop: Tell clients to use current geometry area from start
46e2d5e441dfb9f desktop: Send remove event only if output and app_id is set
d85915199c8a321 Notify about application destruction
fd860492da6fb07 Allow unregistered applications in rba

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iaed23aae27695db51260b7b04e3d9e0a5a053aa2
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26278
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>
3 years agoaglsetup: Override templateconf.cfg in case of -f, --force. 08/26208/3
Vasyl Vavrychuk [Sat, 27 Mar 2021 20:29:52 +0000 (21:29 +0100)]
aglsetup: Override templateconf.cfg in case of -f, --force.

Overriding this config file was missing for some reason.

Bug-AGL: SPEC-3861
Change-Id: Iddf195615291b166a05bedb5ef0ddf645265e546
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26208
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>
3 years ago[RCAR] Fix sound on ulcb board 89/26189/3
Ronan Le Martret [Fri, 19 Mar 2021 15:38:19 +0000 (16:38 +0100)]
[RCAR] Fix sound on ulcb board

After RCAR BSP 4.7.0, m3ulcb and h3ulcb (without kingfisher layer) does not have audio after BSP Update.
The sound car is named ak4613 now for booth ulcb card and ulcb +kf
card.(no rcarsound name anymore)

Bug-AGL: SPEC-3849

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: Id759de2a0df90cd216106da54870f663ca7adb64
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26189
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years agoMask patch causing crash in lua 83/26183/3
Jan-Simon Moeller [Thu, 18 Mar 2021 03:05:06 +0000 (04:05 +0100)]
Mask patch causing crash in lua

The patch  CVE-2020-15945.patch applied by meta-oe does
crash the lua ptest in  db.lua  (segfault).
Mask the patch until a solution is found upstream.

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

3 years agometa-agl-bsp: add pseudo abort workaround for rcar3 builds 47/26147/2
Scott Murray [Mon, 8 Mar 2021 17:59:15 +0000 (12:59 -0500)]
meta-agl-bsp: add pseudo abort workaround for rcar3 builds

Add workaround to avoid pseudo aborts triggered by the rcar3 kernel
module recipes writing to KERNELSRC in do_install, errors are of the
form (from pseudo.log):

path mismatch [27 links]: ino 19366408 db 'NAMELESS FILE' req 'build/tmp/work-shared/h3ulcb/kernel-source/include'.

See the commit messages in poky commits 4e7c211 and 3b7f2c6 and the
wiki page at:

https://wiki.yoctoproject.org/wiki/Pseudo_Abort

for details on the pseudo behavior change.  These can potentially be
moved to the recipes in the BSP, or removed if the recipes are changed
to shift the module headers and symbols to their dev packages.

Bug-AGL: SPEC-3840

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic872e1cec1ccbd37a5a53d146119fa5053b85482
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26147
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>
3 years agometa-agl-core: remove rng-tools bbappend 46/26146/2
Scott Murray [Mon, 8 Mar 2021 17:50:34 +0000 (12:50 -0500)]
meta-agl-core: remove rng-tools bbappend

The rng-tools patches are now being applied in the upstream recipe in
dunfell 3.1.6, so the local bbappend and patches can now be dropped.

Bug-AGL: SPEC-3840

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Id431d9e5259fd78d6f36934ed4839ef4aa35ba2b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26146
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Julien Massot <julien.massot@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
3 years ago[RCAR] u-boot: move redundant-yyloc-global patch to u-boot-common.inc 52/26052/8
Ronan Le Martret [Mon, 15 Feb 2021 08:46:36 +0000 (09:46 +0100)]
[RCAR] u-boot: move redundant-yyloc-global patch to u-boot-common.inc

gcc10 build issue occurs in both u-boot and u-boot-tools
(From OE-Core rev: 2e128a775a3d51dc1856a35e2f5135d3c156d10e)

Bug-AGL: SPEC-3804

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I7be66b06e99415fa7b6c3a7a2c397d00ee44b4cc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26052
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>