AGL/meta-agl.git
21 months agoFix typo in agl-ci fragment 92/27892/2 14.0.0 needlefish/14.0.0 needlefish_14.0.0
Jan-Simon Moeller [Wed, 10 Aug 2022 09:18:14 +0000 (11:18 +0200)]
Fix typo in agl-ci fragment

] should be } .

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

21 months agoPrepare Nifty Needlefish 14.0.0 90/27890/2
Jan-Simon Moeller [Tue, 9 Aug 2022 23:26:49 +0000 (01:26 +0200)]
Prepare Nifty Needlefish 14.0.0

Update the distro configuration.

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

21 months agoChange agl-ci to use AGL_BRANCH 89/27889/2
Jan-Simon Moeller [Tue, 9 Aug 2022 09:42:50 +0000 (11:42 +0200)]
Change agl-ci to use AGL_BRANCH

Use a dedicated sstate-mirror path.

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

21 months agoSwitch branch to needlefish for NN 83/27883/2
Jan-Simon Moeller [Mon, 8 Aug 2022 09:34:16 +0000 (11:34 +0200)]
Switch branch to needlefish for NN

We did branch with the Milestone 3 codebase. Switch the branches.

From now we need to cherry-pick to 'needlefish' branch !

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

21 months agoAdd gitreview file for Nifty Needlefish branch 13.93.0 needlefish/13.93.0 needlefish_13.93.0
Jan-Simon Moeller [Fri, 5 Aug 2022 22:37:37 +0000 (00:37 +0200)]
Add gitreview file for Nifty Needlefish branch

Update the .gitreview file.

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

21 months ago[RCAR] Update kernel-module-vspm-if recipice name 68/27868/2
Ronan Le Martret [Fri, 5 Aug 2022 14:32:48 +0000 (16:32 +0200)]
[RCAR] Update kernel-module-vspm-if recipice name

* The last update of RCAR BSP has change the recipes name of the recipes kernel-module-vspm-if.
meta-agl must be updated too.

Bug-AGL: SPEC-4517

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I02f978c2ddca7e5a2d12e25145ea1cfad1be0a25
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27868
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
21 months agoRevert "meta-rcar-gen3: workaround recipe incompatibilities with YP 4.0.2" 67/27867/2
Ronan Le Martret [Fri, 5 Aug 2022 07:22:56 +0000 (09:22 +0200)]
Revert "meta-rcar-gen3: workaround recipe incompatibilities with YP 4.0.2"

This reverts commit d60a670349027852e93d006114b82a82cff5f27a.

Bug-AGL: SPEC-4517
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I2c8cffa37a99cefa80510998aae1920231006090
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27867
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
21 months agoPrepare Nifty Needlefish Milestone 3 64/27864/2
Jan-Simon Moeller [Fri, 5 Aug 2022 12:15:29 +0000 (14:15 +0200)]
Prepare Nifty Needlefish Milestone 3

Update the distro manifest.

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

21 months agometa-app-framework: update Flutter app template 62/27862/2
Scott Murray [Thu, 4 Aug 2022 21:09:14 +0000 (17:09 -0400)]
meta-app-framework: update Flutter app template

Update systemd template unit for Flutter based applications for the
embedder binary rename (to flutter-auto) and a required rename of the
application id command-line option (to --xdg-shell-app-id).

Bug-AGL: SPEC-4485

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Icb03775f379929a852d3b270d52b3e88277aa3cc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27862
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
ci-image-boot-test: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
21 months agoAdd empty for append syntax 52/27852/2
Changhyeok Bae [Sat, 30 Jul 2022 20:47:55 +0000 (22:47 +0200)]
Add empty for append syntax

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Change-Id: I3a67f2dca0148be04d96e5261a4bef4030e93fbf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27852
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>
21 months agoPrepare Nifty Needlefish Milestone 2 49/27849/2 13.92.0 needlefish/13.92.0 needlefish_13.92.0
Jan-Simon Moeller [Fri, 29 Jul 2022 23:06:41 +0000 (01:06 +0200)]
Prepare Nifty Needlefish Milestone 2

Update the distro configuration.

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

21 months agoFix a dependency issue when building the SDK 41/27841/2
Jan-Simon Moeller [Thu, 28 Jul 2022 21:44:08 +0000 (23:44 +0200)]
Fix a dependency issue when building the SDK

When using -c populate_sdk, then the -dev packages are installed.
There is a hard dependency of the -dev package on the  package.
As we have multiple subtypes here and switch using ALTERNATIVES, this
collides in this corner case.
Fix it by not creating a -dev package in the first place as
it is not needed here anyway.

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I21326c9edc5cb7571ed94593eae1075cf56353db
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27841
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

21 months agometa-app-framework: add Flutter app template 38/27838/3
Scott Murray [Wed, 27 Jul 2022 22:40:45 +0000 (18:40 -0400)]
meta-app-framework: add Flutter app template

Add a systemd template unit for Flutter based applications to the
applaunchd recipe.

Bug-AGL: SPEC-4466

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia7cb24d27beebf7c7e4bcfb7a256bd45ffa432ce
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27838
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
ci-image-boot-test: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
21 months agometa-app-framework: Update app template scheme 35/27835/3
Scott Murray [Wed, 27 Jul 2022 20:50:30 +0000 (16:50 -0400)]
meta-app-framework: Update app template scheme

Changes to support the move to systemd unit based app enumeration in
applaunchd:
- Bump applaunchd SRCREV to pick up enumeration changes.
- Tweak the polkit rule to match agl-app* instead of agl-app@*
  to allow more flexibility with respect to different app templates.
- Tweak the Description field definition in the agl-app service
  template to just use the instance name, as that field is now used
  for the application display name by applaunchd.
- Add a agl-app-web service template for web apps.
- Add a agl-app.bbclass for use in application recipes to simplify
  installation of the now required systemd template instances and
  potential generation of override files to tweak application
  configuration.
- Split the agl-app and agl-app-web templates into their own packages
  in the applaunchd recipe so they can be depended on by applications
  as required.
- Move applaunchd installed systemd units and override files to
  /lib/systemd/system since that matches the upstream recommendation
  for units installed as part of the system installation.

Bug-AGL: SPEC-4466

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I32ff6c9624850662856b79a2b14b33a05e7f9a65
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27835
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jose Dapena Paz <jdapena@igalia.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
21 months agometa-agl-bsp: Pin i.MX platform kernels to 5.15 LTS 42/27842/2
Scott Murray [Fri, 29 Jul 2022 02:27:33 +0000 (22:27 -0400)]
meta-agl-bsp: Pin i.MX platform kernels to 5.15 LTS

The recent bump of meta-freescale with the kirkstone 4.0.2 upgrade
brought an upgrade to 5.18 in the linux-fslc kernel, which breaks
sllin compilation.  Tweak the i.MX6 and i.MX8 machine templates to
use the 5.15 linux-fslc-lts kernel, which matches linux-yocto in
poky and seems a better choice going forward with kirkstone.

Bug-AGL: SPEC-4501

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ib75d8c844301c5ac902e18d02ff8ac6176f614c7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27842
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>
21 months agometa-netboot: Add SELinux support 91/27791/2
Scott Murray [Mon, 25 Jul 2022 18:49:13 +0000 (14:49 -0400)]
meta-netboot: Add SELinux support

Changes:
- Add logic to init.sh to handle autorelabeling the root filesystem
  if it is tagged as requiring it.  In practice this should only be
  required when booting images built on hosts that have xattr support,
  or if relabeling is manually triggered on subsequent boots.  There
  was a stated goal of avoiding the reboot from the later userspace
  handling of autorelabeling in CI, so this hook aims to enable that
  for the non-xattr build host corner case.
- Add a resolv-conf-relabel recipe that installs a systemd unit to
  relabel /etc/resolv.conf when netbooting.  This is required because
  the file always gets modified inside init.sh, and it does not seem
  worthwhile to always do the extra policy load required to relabel it
  in the initramfs.  This may need to be revisited if it proves
  difficult to handle denials in early booting when netbooting.
- Add the required extra packages for relabeling to IMAGE_INSTALL.

Bug-AGL: SPEC-4332

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I26b27c1cea68a029264352bd206c160cac3d451e
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27791
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>
21 months agoAdd SELinux feature 90/27790/2
Scott Murray [Mon, 25 Jul 2022 18:23:13 +0000 (14:23 -0400)]
Add SELinux feature

Add agl-selinux feature to enable SELinux support.

Notes:
- SELinux is in permissive mode by default for now, and using the
  targeted policy by default.
- The linux-yocto specific bbappend in meta-selinux is masked out in
  favor of adding a more universal kernel configuration fragment with
  AGL's own scheme.
- SELinux specific recipes and bbappends are added via a meta-selinux
  dynamic-layers addition in meta-agl-core to keep using meta-selinux
  optional.  This will avoid issues with the Yocto autobuilder testing
  of meta-agl-core.
- To avoid the effectively hard-coded autorelabel on first boot, a
  bbappend is added to the selinux-autorelabel recipe to remove the
  flag creation.  In the off chance that a build happens on a filesystem
  without xattr support, the logic in the selinux-image bbclass will
  still touch the /.autorelabel flag and trigger relabeling.
- A systemd unit and script are added with a new systemd-selinux-relabel
  recipe to handle relabeling of some systemd generated files that do
  not get handled during root filesystem construction.  Some of these
  can be addressed by some upstream tweaks, but /etc/machine-id will
  always need special handling unless there is a shift to using
  read-only or stateless root by default.  With this workaround we still
  avoid doing a full relabel and reboot on first boot, which helps
  simplify CI.

Bug-AGL: SPEC-4332

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibf469e11eb3a67709074cc6794b3d12cd5071a90
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27790
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>
21 months agoFix reproducability issue reported by YP autobuilder 81/27781/3
Jan-Simon Moeller [Tue, 19 Jul 2022 21:32:16 +0000 (23:32 +0200)]
Fix reproducability issue reported by YP autobuilder

The main issue was the rewrite of CFLAGS that resulted in missing flags,
namely the DEBUG_PREFIX_MAP.

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

21 months agoPrepare Nifty Needlefish Milestone 1 69/27769/2 13.91.0 needlefish/13.91.0 needlefish_13.91.0
Jan-Simon Moeller [Fri, 15 Jul 2022 10:03:18 +0000 (12:03 +0200)]
Prepare Nifty Needlefish Milestone 1

Update the distro configuration for Nifty Needlefish Milestone 1.

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

22 months agoAdd feature for SPDX SBOM generation 94/27694/6
Jan-Simon Moeller [Wed, 29 Jun 2022 19:17:32 +0000 (21:17 +0200)]
Add feature for SPDX SBOM generation

We enable the built-in features of YP in kirkstone
to create an spdx file that can serve as SBOM.

Bug-AGL: SPEC-4384

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I98907fc07aee8c6eefbb6f0e12d30583268832d7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27694
Tested-by: Jenkins Job builder account
22 months agometa-rcar-gen3: workaround recipe incompatibilities with YP 4.0.2 66/27766/2
Scott Murray [Wed, 13 Jul 2022 16:45:46 +0000 (12:45 -0400)]
meta-rcar-gen3: workaround recipe incompatibilities with YP 4.0.2

This adds a workaround for the strictly versioned gstreamer bbappends
until the BSP gets updated to be compatible with 4.0.2.

Bug-AGL: SPEC-4473

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie25b18779ac6fdb3efd9102317955342bd8e58af
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27766
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
22 months agoapplaunchd: update and install agl-app@ template and sandboxing configs 52/27752/7
Denys Dmytriyenko [Tue, 5 Jul 2022 19:11:37 +0000 (19:11 +0000)]
applaunchd: update and install agl-app@ template and sandboxing configs

The new applaunchd adds systemd_manager that allows launching apps as systemd
services in a sandboxed environment. And dbus_activation_manager is deprecated.

* Update SRCREV for the new code
* Bump version to indicate a major change
* Install supporting config files
* Add build dependency on systemd
* Add runtime dependency on polkit rule to manage agl-app@ services

Bug-AGL: SPEC-4466
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Change-Id: I01b0247d18be8d97b4ea2866d161cffbda8f9155
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27752
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Jenkins Job builder account
22 months agopolkit: add rule to allow agl-driver to control agl-app@ systemd services 51/27751/5
Denys Dmytriyenko [Tue, 5 Jul 2022 19:10:19 +0000 (19:10 +0000)]
polkit: add rule to allow agl-driver to control agl-app@ systemd services

Bug-AGL: SPEC-4466
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Change-Id: I8007aacc12f8b6bdfbca660c994d321ef1b5eca7
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27751
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
22 months agoagl-compositor_git: Bump SRCREV for AGL compositor 96/27696/2
Marius Vlad [Thu, 30 Jun 2022 12:43:06 +0000 (15:43 +0300)]
agl-compositor_git: Bump SRCREV for AGL compositor

Most notable in this this bump update, is the ability to receive focus
(xdg-shell and input) even though there isn't any keyboard attached in the
system. More than that, this update also includes a few fixes related to
remote apps placement to different outputs and a fix on how we activate by
default applications, in various circumstances.

Specifically, this AGL compositor bump includes the following changes:

2cc479fd8f3e53265 layout: Add a wrapper for adding the view to the hidden layer
baf8a28e6329fdb6c shell: Fix a typo when adding surface to pending list
1797ef75adcb4c586 compositor: Allow passing continue-without-input
c859ca5a97d53a00c shell: Make sure that app_id is valid before checking it
89440e0ffdfea2568 layout: Keep track of popup state to handle activation
89f67c5cf793bc69c compositor: Perform activation from keybindings
8cc1032b2f5542028 compositor: Pass flags when adding keybindgs
9cccfe829aab45fd2 layout: Add a way common way activate views
394b5da7676612600 shell: Extract some common functions
cac00851d454fcfe6 input: Migrate ivi_seat to ivi_compositor header
2844fde1df83707f3 input: Remove keyboard listener keyboard focus activation
b4a52c732dbf3863b compositor: Properly dispose of fullscreen views at shutdown

Bug-AGL: SPEC-2982
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I83fd9513114a6ffd4cb98a8506063544ccce377a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27696
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
22 months agobsp: Delete the patch not used any longer 47/27747/3
Zhou Mingying [Fri, 8 Jul 2022 09:46:34 +0000 (17:46 +0800)]
bsp: Delete the patch not used any longer

The patch 0004-ADSP-enable-and-add-sound-hardware-abstraction_kf.patch
is no longer used in AGL.
So delete this unused patch.

Bug-AGL: SPEC-4434

Signed-off-by: Zhou Mingying <zhoumy@fujitsu.com>
Change-Id: I8489e24b9430a2769a10b90135add316042a2584
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27747
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
22 months agoMachine cleanup for Nifty Needlefish 01/27701/2
Scott Murray [Tue, 5 Jul 2022 15:09:41 +0000 (11:09 -0400)]
Machine cleanup for Nifty Needlefish

Remove machine templates and associated files for:

- hsdk
- dragonboard-410c
- dragonboard-820c
- nitrogen6x

Bug-AGL: SPEC-4402

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I7ff2665fe5ceef55454905d57e7793d5fcf0ef8a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27701
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
22 months ago[RCAR] Fixed the unrecomennd operator usage 02/27702/2
Harunobu Kurokawa [Wed, 6 Jul 2022 14:59:51 +0000 (23:59 +0900)]
[RCAR] Fixed the unrecomennd operator usage

This commit would remove WANING for kernel-module-vspmif

RPROVIDES:${PN}:remove += is not a recommended operator combination, please replace it.

Bug-AGL: SPEC-4436

Change-Id: I1e2d736fc9450766ddff9a0abb0ba87c15d8fd3d
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27702
Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp>
Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh>
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

22 months agox86-extra-graphic-devices: Build vmwgfx driver as built-in 95/27695/2
Marius Vlad [Thu, 30 Jun 2022 11:18:17 +0000 (14:18 +0300)]
x86-extra-graphic-devices: Build vmwgfx driver as built-in

Rather than building the vmwgfx driver as a module, build it as
a built-in in module to avoid a possible probe failure when the driver
loads up.

This is a temporary work-around which seems to work just fine on VBox
but also on qemu.

Bug-AGL: SPEC-4449
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I4f342854df1a0ed2d14ed0ca2bbe754618c61689
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27695
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
22 months agoRe-enable PRServ and Hashserv 99/27699/2
Jan-Simon Moeller [Mon, 4 Jul 2022 20:03:23 +0000 (22:03 +0200)]
Re-enable PRServ and Hashserv

With the new improved PRServ and HashServ we can run this.
Also we can expose the readonly ports to the public.

Bug-AGL: SPEC-4381

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

22 months agoRemove use of AGL_APP_REVISION 93/27693/2
Jan-Simon Moeller [Wed, 29 Jun 2022 18:21:59 +0000 (20:21 +0200)]
Remove use of AGL_APP_REVISION

We did use the variable AGL_APP_REVISION to change between the HEAD of the branch
via  to the fixed tag at release time (regs/tags/xyz) .

While this worked well previously, it turns out that bitbake will query git every time
it runs for either  or tags likewise. For tags it cannot trust whatever is known locally
is actually the latest tags as there can be force pushed tags.

To fix this we use a well-defined SRCREV for apps/* in the same way
as we do it for src/* .

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

22 months agofreetype: Delete a patch that is no longer used 85/27685/2
duerpei [Mon, 17 May 2021 10:04:29 +0000 (18:04 +0800)]
freetype: Delete a patch that is no longer used

The patch /meta-agl/meta-agl-core-test/recipes-test/freetype/files/0001-ft2demos-Makefile-Do-not-hardcode-libtool-path.patch
is already deleted from the file freetype_2.%.bbappend by
https://git.automotivelinux.org/AGL/meta-agl/commit/meta-agl-core-test/recipes-test/freetype/freetype_2.%25.bbappend?id=f8e4906de8e21b9affb9f901527d587eb31b68ff
and it was no longer used

Bug-AGL: SPEC-4451

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I0787bf9bba8b2140da2ebc0c912e321a51b48f46
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27685
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
22 months agometa-agl-core: add connman-conf dependency 83/27683/3
Jose Dapena Paz [Tue, 21 Jun 2022 07:48:36 +0000 (09:48 +0200)]
meta-agl-core: add connman-conf dependency

After kirkstone, connman has an independent package for its
configuration. This package is not added as a dependency.

As a consequence, we do not ship /etc/connman/main.conf, that, in
AGL builds, is expected to provide a fallback for NTP. This means
Raspberry PI4 does not synchronize the clock on boot if connection
is available. As a side effect, all SSL connections fail.

Bug-AGL: SPEC-4447
Change-Id: Iaa34c0a41cd161b0a0edea7602c39f724831412a
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27683
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

22 months ago[RCAR] Fix video stream for user "agl-driver" 35/27635/2
Ronan Le Martret [Tue, 14 Jun 2022 10:15:29 +0000 (12:15 +0200)]
[RCAR] Fix video stream for user "agl-driver"

* Remove RPROVIDES:${PN} "kernel-module-vspm-if" in kernel-module-vspmif
  recipes. kernel-module-vspmif should not provide "kernel-module-vspm-if". "kernel-module-vspm-if" is a separate package with module rules.
* Add udev rules for /dev files: uvcs_drv, vspm_if, mmngr, mmngrbuf

Bug-AGL: SPEC-4436

Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I44a0665d6576cdcc9dbbfe5401de3dc9bc281473
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27635
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
22 months agoweston: Delete four patches that are no longer used 65/27665/3
duerpei [Thu, 16 Jun 2022 07:56:53 +0000 (15:56 +0800)]
weston: Delete four patches that are no longer used

The following four patches are submitted in
https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27257
to fix a potential memory leak problem.

Now that Weston has been updated to 10.0,
the original memory leak problem has been solved,
and the following four patches are no longer required

Bug-AGL: SPEC-4438

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: Ibe4191a2a902ddac9f9a32d4f6239ae5761894a4
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27665
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
22 months agoFeature cleanup for Nifty Needlefish 58/27658/3
Jan-Simon Moeller [Tue, 14 Jun 2022 16:09:34 +0000 (16:09 +0000)]
Feature cleanup for Nifty Needlefish

Remove features with upstream deprecated or unmaintained:
- meta-gplv2

Bug-AGL: SPEC-4407
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I39a08b3ebd26a0187a8fd31e6f154dd53471bb9c
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27658
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>
23 months agopipewire: Fix recipe style error 62/27562/2
duerpei [Fri, 27 May 2022 02:51:24 +0000 (10:51 +0800)]
pipewire: Fix recipe style error

The bitbake recipe has style guide at
https://www.openembedded.org/wiki/Styleguide

In do_install
Don't use mkdir to create destination directories,
use install -d instead.

Bug-AGL: SPEC-4401

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: Iaf33b842321e0199aee7227077520a12a9a53d74
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27562
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agometa-agl-core: add kuksa user and group 38/27538/2
Scott Murray [Thu, 26 May 2022 15:24:43 +0000 (11:24 -0400)]
meta-agl-core: add kuksa user and group

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

Bug-AGL: SPEC-4405

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I199d79df42a6e5ea032ccfa084a1d38625b508f0
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27557
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
(cherry picked from commit 9363f1c67fe97a0c47cf44985ce0fb7f879bf7ac)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27538

23 months agometa-agl-core: move polkit addition to dynamic-layers 68/27568/2
Scott Murray [Fri, 27 May 2022 13:22:18 +0000 (09:22 -0400)]
meta-agl-core: move polkit addition to dynamic-layers

Since polkit comes from meta-oe and not poky, move adding it to
packagegroup-agl-graphical-weston to a bbappend that is in a meta-oe
dynamic-layers hierarchy.  This is required to avoid breaking the
meta-agl-core testing on the Yocto autobuilder, which does not pull
in meta-oe currently.  This may need to be revisited down the road
when providing a binary packagefeed is attempted, as it may be the
case that explicitly adding meta-oe as a meta-agl-core dependency
ends up the better solution for packagefeed stability.

Bug-AGL: SPEC-4359, SPEC-4375

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

23 months agopackagegroup-agl-graphical-weston: Add polkit to RDEPENDS 82/27482/3
Marius Vlad [Fri, 13 May 2022 15:15:07 +0000 (18:15 +0300)]
packagegroup-agl-graphical-weston: Add polkit to RDEPENDS

Images that require/inherit packagegroup-agl-graphical-weston would pull
in polkit which is needed by weston/AGL compositor in order to be able
to switch VTs as a regular user without needing CAP_SYS_ADMIN
privileges.

Added initially a workaround, by incorrectly assuming that this was due
to missing psplash. Upon further investigation noticed that polkit
wasn't really installed which ultimately failed to activate the
session.

With this change, I'm able to boot-up and display the gallery app for
agl-image-flutter and cluster-dashboard application for the
agl-cluster-demo-platform image.

Bug-AGL: SPEC-4359, SPEC-4375

Suggested-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ifd01fb61fc4d0f797519b54bf22395970e2a9fec
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27482
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoagl_m3-salvator-x-nogfx.inc: 02/27502/2
duerpei [Fri, 20 May 2022 10:23:46 +0000 (18:23 +0800)]
agl_m3-salvator-x-nogfx.inc:

Masking out the weston_%.bbappend
In patch 27430, may have forgotten to modify this file.

Bug-AGL: SPEC-4389

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I9b451f236613c7e9efba158713723051b10b489b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27502
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoapplaunchd: Correct "HOMEPAGE" in applaunchd_git.bb 00/27500/2
duerpei [Fri, 20 May 2022 01:11:54 +0000 (09:11 +0800)]
applaunchd: Correct "HOMEPAGE" in applaunchd_git.bb

The originally link in homepage cannot be opened
when copied to the browser.
Replace it with link that can be opened

Bug-AGL: SPEC-4368

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I33fccf7711527a657b6b4a0170c85a6f4b6d3767
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27500
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agovirtio: Enable virtio-scmi and IIO SCMI drivers. 73/27473/2
Vasyl Vavrychuk [Tue, 10 May 2022 15:33:56 +0000 (17:33 +0200)]
virtio: Enable virtio-scmi and IIO SCMI drivers.

VIRTIO-SCMI device implements the Arm System Control and Management
Interface (SCMI) [1]. This VIRTIO device is part of "Virtual I/O Device
(VIRTIO) Version 1.2" specification [2].

The SCMI can be used for sensors, power state management, clock
management and performance management among other things.

Enable IIO-SCMI driver that works on top of VIRTIO-SCMI and supports
SCMI sensors.

[1]: https://developer.arm.com/Architectures/System%20Control%20and%20Management%20Interface
[2]: https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html

Bug-AGL: SPEC-3865, SPEC-4365
Change-Id: Iaf2092d869d938d0b45029038d8eea36110d7e3e
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27473
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoagl-compositor-init_agl-app-fw: Include agl-shell-activator 85/27385/6
Marius Vlad [Thu, 14 Apr 2022 10:58:39 +0000 (13:58 +0300)]
agl-compositor-init_agl-app-fw: Include agl-shell-activator

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

Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I5a16baca8be83715f86e02809324497a837a235a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27385
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoagl-shell-activator: Bump SRCREV 84/27484/2
Marius Vlad [Mon, 16 May 2022 12:37:23 +0000 (15:37 +0300)]
agl-shell-activator: Bump SRCREV

A bug-fixing update, includes the following changes:

0b21156c3b4f0493 Fix compilation error due to missing wl_output_listener fields initializers.
22f8d43e58594012 Fix no reaction to 'Ctrl+C'.
6ebbb41822da663b Remove unneeded wl_display_flush.

Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ieb68a256f891af5507e261a46e2e645ea5bf0608
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27484
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoagl-compositor_git: Bump up SRCREV 50/27450/5
Marius Vlad [Wed, 4 May 2022 11:35:15 +0000 (14:35 +0300)]
agl-compositor_git: Bump up SRCREV

This SRCREV bump is a bug-fixing update: includes some fixes with
fullscreen surface roles, uses libweston's _fini calls to verify and
check-up and if cleaned up correctly when shutting down the compositor,
and finally, does some minor clean-ups.

Specifically, the following changes have been added since the last
update:

1304d412eb2bcefd4 shell: Do not set none role for applications w/o appid
43bdf9a42bac33df1 shell: Let the output destroy handler handle layer fini
a89fbd6702dd82c4b desktop: Document the repaint schedule
5274f6ea9da2f119f Revert "desktop: No need to schedule a compositor repaint"
71deafe03f41738bf shell: Added missing layer fini calls
41791c9fa1839e93a compositor: Proper indentation
40f5e3bbfac73375b desktop: Remove dead code
8f85581e96bc71512 desktop: No need to schedule a compositor repaint
c40f46aa4d2644b18 meson.build: Bump up meson version
7a7b46bd7040b2814 layout: Inform client to resize for fullscreen roles
13ac8bab43fffd002 layout: Send dimensions when setting up property as fullscreen
2cd345013ccaaccd7 layout: Do perform a view update transform when unmapped
b13e185e7214218ca layout: Make the view mapped at activation completion
7ecc8c2ee8a776bb1 compositor: Rename activated_by_default to mapped

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3f5735fad1ea99fa6ce388fbb73796436f956bf6
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27450
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
23 months agoReplace "/etc" with "${sysconfidir}" 79/27479/3
duerpei [Mon, 16 May 2022 03:10:07 +0000 (11:10 +0800)]
Replace "/etc" with "${sysconfidir}"

make them more standardized

Bug-AGL: SPEC-4374

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: Ie11168254ab76acd11382b33501fb4881710a5bf
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27479
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 template for generic-arm64 machine 56/27456/4
Scott Murray [Wed, 4 May 2022 20:04:40 +0000 (16:04 -0400)]
Add template for generic-arm64 machine

This is a standard aarch64 (ARM 64bit) machine for use with
'SystemReady' (aka UEFI) systems.  It had been added to the next
branch in meta-agl-devel for some testing on AWS Graviton instances,
but now that the upgrade to kirkstone has landed, it seems sensible
to move it to meta-agl to ease maintenance.

Bug-AGL: SPEC-4353

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I51e223ee80ea62bce99b725c4daef1a010cb0835
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27456
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-bsp: update virtio-aarch64 65/27465/2
Scott Murray [Mon, 9 May 2022 21:53:46 +0000 (17:53 -0400)]
meta-agl-bsp: update virtio-aarch64

Updates to get the virtio-aarch64 machine building after the
upgrade to Yocto Project 4.0 / kirkstone:
- Switch to the 5.15 linux-yocto kernel and drop the local backport
  of the 5.10 recipe.
- Fix override syntax in the machine-specific linux-yocto bbappend.
- Remove all the patches applied for the virtio and virtio-snd
  configuration fragments, they seem to have all been applied
  upstream.

Bug-AGL: SPEC-4356

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I96d4bb9b04d74280d1a3767fe17284fe6049fcba
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27465
Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

2 years agoEnable usrmerge 37/27437/4
Scott Murray [Tue, 3 May 2022 18:22:51 +0000 (14:22 -0400)]
Enable usrmerge

An increasing number of advanced systemd features with respect to
immutable systems and sandboxing are effectively dependent on the
usrmerge distro feature, so it seems reasonable to enable it since
upstream AGL currently requires systemd usage.  See SPEC-4352 for
more detailed discussion of rationale.

Changes:
- Add usrmerge to AGL_DEFAULT_DISTRO_FEATURES in poky-agl.conf.
- Add workarounds via bbappends in meta-agl-bsp for the assumption
  of using /lib instead of ${nonarch_base_libdir} in various
  meta-rcar-gen3 kernel module recipes.  This will be followed up
  with upstream to hopefully fix the recipes.
- Replaced some explicit /sbin usage with ${sbindir} in the
  initramfs-netboot recipe used by the agl-netboot feature to avoid
  packaging errors.

Bug-AGL: SPEC-4352

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ibc0ae1e2628aca6474401e0852bbb97085f4ecfa
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27437
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

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