AGL/meta-agl.git
8 months agoAdding s4sk support sandbox/nguyentanloc27/S4SK-dev
Loc Nguyen [Wed, 2 Aug 2023 07:36:34 +0000 (14:36 +0700)]
Adding s4sk support

supporting agl-image-minimal and agl-telematics-demo-platform

Change-Id: Ibc0ae906de5ceb6bb2f945b1c505bd37ff3bfb1d
Signed-off-by: Loc Nguyen <loc.nguyen.wt@renesas.com>
8 months agoUpdate distro configuration for Quirky Quillback 98/29098/2
Jan-Simon Moeller [Thu, 3 Aug 2023 12:41:40 +0000 (14:41 +0200)]
Update distro configuration for Quirky Quillback

Change for the upcoming AGL release 'Quirky Quillback'.

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

9 months agoPrepare Prickly Pike Milestone 2 55/29055/2 15.92.0 pike/15.92.0 pike_15.92.0
Jan-Simon Moeller [Tue, 18 Jul 2023 18:19:25 +0000 (20:19 +0200)]
Prepare Prickly Pike Milestone 2

Change config to release mode.

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

9 months agoPrepare Prickly Pike Milestone 2 42/29042/2
Jan-Simon Moeller [Tue, 4 Jul 2023 13:51:16 +0000 (15:51 +0200)]
Prepare Prickly Pike Milestone 2

Update the distro manifest.

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

9 months ago[agl][cef][applaunchd] Make it possible to switch between chromium and cef backends 48/29048/3
Roger Zanoni [Thu, 13 Jul 2023 20:56:26 +0000 (22:56 +0200)]
[agl][cef][applaunchd] Make it possible to switch between chromium and cef backends

Bug-AGL: SPEC-3872

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I574c8c19b977f29a9d73b7d7e5261494d9d2676f
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29048
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>
9 months agometa-agl-bsp: remove now unnecessary workarounds 43/29043/3
Scott Murray [Thu, 6 Jul 2023 21:18:22 +0000 (17:18 -0400)]
meta-agl-bsp: remove now unnecessary workarounds

Remove our usrmerge workarounds since meta-rcar-gen3 now has been
fixed.  Also remove now unnecessary workarounds for the "display"
user and weston systemd unit naming.

Bug-AGL: SPEC-4854

Change-Id: Ieaebb24385f9d75eaad012043993dcfc733aa01a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29043
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
10 months agometa-agl-core: add Upstream-Status tag to patches 39/29039/2
Jan-Simon Moeller [Wed, 28 Jun 2023 20:39:37 +0000 (22:39 +0200)]
meta-agl-core: add Upstream-Status tag to patches

This fixes the build in the YP autobuilder.

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

10 months agoweston-ini-conf: Add activate-by-default=false by default 18/29018/3
Marius Vlad [Wed, 14 Jun 2023 13:14:30 +0000 (16:14 +0300)]
weston-ini-conf: Add activate-by-default=false by default

As all our platforms (flutter, qt, html5) are now capable of starting
and activating windows on their own, we can turn off the implicit
activation by default from the compositor.

We would remove it entirely from the configuration file once we won't
have any code in the compositor. Make it default for now.

Change-Id: I43df54cd2bba5f05612989b02ce99c63f93a5c2d
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29018
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
10 months agoweston-ini-config: Fix gRPC missing in other images 17/29017/3
Marius Vlad [Wed, 14 Jun 2023 12:41:09 +0000 (15:41 +0300)]
weston-ini-config: Fix gRPC missing in other images

Flutter images in particular were affected because we only added the
gRPC proxy in just the no-activate case.

Change-Id: I32ee2ef739147e6cee3063004b98611ea7fd8198
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29017
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>
10 months agometa-app-framework: update applaunchd 34/29034/3
Scott Murray [Tue, 20 Jun 2023 17:13:09 +0000 (13:13 -0400)]
meta-app-framework: update applaunchd

Update the applaunchd SRCREV to pick up:

c32fe42 Add sd_notify call

Also change the applaunchd systemd unit to use Type=notify so that
the calling of sd_notify in applaunchd will work as intended.

Bug-AGL: SPEC-4843

Change-Id: Iee326fa24de0a1a33f92dcff3bf29d2be13252a1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29034
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>
10 months agoPrepare Prickly Pike Milestone 1.1 25/29025/3 15.91.1 pike/15.91.1 pike_15.91.1
Jan-Simon Moeller [Fri, 16 Jun 2023 16:13:43 +0000 (18:13 +0200)]
Prepare Prickly Pike Milestone 1.1

Respin of Prickly Pike Milestone 1 to include
- polkit-rule-agl-app: try to prevent transaction error
- meta-agl-core: fix polkit dependencies
- polkit-rule-agl-app: add useradd class and USERADD_PARAM
- Add explicit applaunchd systemd dependencies
- meta-app-framework: make applaunchd polkit dependency explicit
- recipes-graphics/wayland/agl-compositor_git: Bump SRCREV

This fixes the flutter images and a build issue seen in CI around
packaging of polkit-rule-agl-app due to the polkit group requirement.

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

10 months agorecipes-graphics/wayland/agl-compositor_git: Bump SRCREV 13/29013/2
Marius Vlad [Tue, 13 Jun 2023 11:54:57 +0000 (14:54 +0300)]
recipes-graphics/wayland/agl-compositor_git: Bump SRCREV

The SRCREV bumps fixes for handling the activation area.

In more detail the following changes have been integrated:

ffdbb335ee72a5b layout: Give ini config precedence over agl_shell
e089e3ba1b7581a shell: Don't reset the activation area always
07c332f0b8c3297 layout: Add a fallback for reading activation-area

Change-Id: Ib6a0bf15330290a464bf61b948f7ca7f69c8968f
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29013
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
10 months agometa-app-framework: make applaunchd polkit dependency explicit 20/29020/2
Scott Murray [Thu, 15 Jun 2023 22:03:10 +0000 (18:03 -0400)]
meta-app-framework: make applaunchd polkit dependency explicit

Since there seems to be no inherent dependency in the shipped systemd
default or polkit unit files with respect to polkit availability with
respect to network.target, we do seem to need to make applaunchd's
dependency on polkit explicit to guarantee systemd DBus API access
works.  As well, it seems worthwhile to enforce the systemd and polkit
DISTRO_FEATURES being present if someone attempts to build applaunchd,
so update the recipe to do so.

Bug-AGL: SPEC-4840

Change-Id: I1cc998ac7c6234de0bb857d4c4fda00d847e00bf
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29020
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>
10 months agopolkit-rule-agl-app: add useradd class and USERADD_PARAM 23/29023/3 15.91.0 pike/15.91.0 pike_15.91.0
Jan-Simon Moeller [Fri, 16 Jun 2023 11:11:19 +0000 (13:11 +0200)]
polkit-rule-agl-app: add useradd class and USERADD_PARAM

The only diff left to e.g. polkit and systemd is the USERADD_PARAM.
Add it into the recipe.

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

10 months agometa-agl-core: fix polkit dependencies 14/29014/2
Scott Murray [Tue, 13 Jun 2023 20:21:39 +0000 (16:21 -0400)]
meta-agl-core: fix polkit dependencies

As part of the systemd user session removal, some changes were
made to attempt to fix pulling in polkit for core-image-weston,
agl-image-weston, and agl-image-compositor so that the compositors
would correctly start up in the resulting images.  Unfortunately,
just gating the dependency on polkit being in DISTRO_FEATURES breaks
the usecase of using poky and meta-agl-core with our poky-agl distro
configuration without also pulling in the meta-oe layer.  This
combination is used for testing meta-agl-core on the Yocto Project
autobuilder, so that broke and was reported by upstream.

To fix this usecase, the polkit dependency logic has been shifted to
weston-init and agl-compositor-init via bbappends that are only used
when meta-oe is present via our existing BBFILES_DYNAMIC set up.
Since the dependency on polkit stems from a combination of the
compositor PAM configuration from the -init packages and having
systemd, pam, and polkit in DISTRO_FEATURES, this seems more correct,
anyways.

Other changes:
- The explicit pam DISTRO_FEATURES checking that was added in the
  previous cleanup has been removed; it is actually redundant due to
  weston and weston-init having checks.  Using the .inc file for that
  from upstream has been added to the agl-compositor and
  agl-compositor-init recipes to match the weston recipes and make
  the dependency visible in our tree.
- There is no further need for our bbappend to core-image-weston, so
  it has been removed.

Bug-AGL: SPEC-4836

Change-Id: Ia3052023dfb06d1c2190a03c72606ab4b27bbdd2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29014
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>
10 months agopolkit-rule-agl-app: try to prevent transaction error 16/29016/3
Jan-Simon Moeller [Wed, 14 Jun 2023 14:04:49 +0000 (16:04 +0200)]
polkit-rule-agl-app: try to prevent transaction error

While creating the final filesystem we see this error in CI:
Running transaction test
Error: Transaction test error:
  file /etc/polkit-1/rules.d conflicts between attempted installs of polkit-rule-agl-app-1.0-r0.11.corei7_64 and polkit-0.119-r0.11.corei7_64

ERROR: Logfile of failure stored in: /w/workspace/release-jjb-pike-snapshot/MACHINE/qemux86-64/label/agl-test-slave/repoclone/output/tmp/work/qemux86_64-agl-linux/agl-demo-platform-crosssdk/1.0-r0/temp/log.do_rootfs.44779
NOTE: recipe agl-demo-platform-crosssdk-1.0-r0: task do_rootfs: Failed

Try to work this around.

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

10 months agoPrepare Prickly Pike Milestone 1 86/28986/2
Jan-Simon Moeller [Mon, 5 Jun 2023 16:00:31 +0000 (18:00 +0200)]
Prepare Prickly Pike Milestone 1

Update the distro manifest.

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

10 months agoRemove systemd user session and clean up packagegroups and images 96/28996/2
Scott Murray [Mon, 5 Jun 2023 14:07:24 +0000 (10:07 -0400)]
Remove systemd user session and clean up packagegroups and images

Remove the use of a systemd user session to align with how upstream
runs Weston, and to allow using all systemd sandboxing features with
the compositor and homescreen, launcher, etc. applications.  The
changes for this touched enough packagegroups and images that further
rework was done to address some of the cleanup described in SPEC-4813,
see below for details.

Changes:
- Remove agl-session and update various recipes that were manually
  adding dependencies to the user session it created.  The compositor
  (be it weston or agl-compositor) and Wayland clients now run in the
  system session as non-root users.
- Revive agl-users recipe, this time living in meta-agl-core, with
  the purpose of creating the agl-driver user.  For simplicity,
  agl-compositor is always run as the agl-driver user, as opposed to
  trying to wrangle running it as different users depending on build
  configuration.  This can potentially be made more configurable if a
  downstream user has a usecase to be able to specify another user.
- Fully split agl-compositor's systemd unit with a tweaked fork of the
  weston-init recipe and unit which lives in meta-agl-core.  This will
  be easier to maintain than the attempt to reuse weston-init for
  builds without meta-app-framework that was done previously.
- Create packagegroup-agl-graphical-compositor, distinct from the
  weston packagegroup.  This should make it more straightforward for
  downstreams that want agl-compositor or weston.
- Rename agl-image-agl-compositor to agl-image-compositor to remove
  redundancy.
- Tweak the logic for the inclusion of a few debug packages (e.g.
  agl-shell-activator) to ensure they only show up in images when
  agl-devel is enabled.
- Split weston-terminal and the required icon resources into separate
  packages in our weston bbappend to avoid pulling in weston just to
  get the terminal for testing.
- Add a agl-core-image.bbclass to use as a base for images.
- Move our cross-SDK configuration to a agl-crosssdk.bbclass to ease
  reuse.
- Remove various empty packagegroups.
- Unify image .inc files with their .bb files as a simplification,
  and to move towards more how upstream Yocto Project does things.
- Split pipewire tools into their own -devel packagegroup.
- Remove rcar3 additions to packagegroup-agl-graphical-multimedia, as
  that packagegroup is not machine-specific.  They will be added back
  in via a change in meta-agl-demo.  If a downstream user desires a
  platform-specific packagegroup for such packages in meta-agl-core,
  this can be revisited, though a different implementation should be
  used.
- Replace some :append usage with += to avoid creating problems
  for downstream users.

Bug-AGL: SPEC-4714, SPEC-4813

Change-Id: I55b29bf749f0d5d50993a362c665bce62b785f67
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28996
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
10 months agoUse new weston-ini-conf scheme and remove old per-machine files 85/28985/3
Jan-Simon Moeller [Mon, 5 Jun 2023 11:56:35 +0000 (13:56 +0200)]
Use new weston-ini-conf scheme and remove old per-machine files

The previous commit used an old file. Use the new generated version.

Bug-AGL: SPEC-4822
Change-Id: Ic1b7018ce2840332c0e051101ce854b90f96ecae
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28985
Tested-by: Jenkins Job builder account
10 months agowayland/agl-compositor_git.bb: Bump SRCREV 80/28980/2
Marius Vlad [Fri, 2 Jun 2023 09:37:01 +0000 (12:37 +0300)]
wayland/agl-compositor_git.bb: Bump SRCREV

This SRCREV bump update formally removes SMACK and Waltham
and modifies the client screenshooter client to generate
a PNG screenshot for each output -- rather than creating an
image for all outputs.

In more detail to following changes have been added since the previous
SRCREV bump:

69bd3ddac4b23 policy-deny: Remove SMACK support
0ed8064b0de23 compositor: Remove Waltham support
e0a1dcc548087 clients/screenshooter: Add the output name to screenshot name

Change-Id: Ic951fdeddc3abff8b1f80be45896f1fdfb67bced
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28980
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>
10 months agoFix orientation for dual-hdmi setup on pi4 84/28984/2
Jan-Simon Moeller [Sun, 4 Jun 2023 20:37:40 +0000 (22:37 +0200)]
Fix orientation for dual-hdmi setup on pi4

The weston-ini-conf was not ready for dual-screen setup.
Fix it.

Bug-AGL: SPEC-4822

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

10 months agoapplaunchd: update Flutter app systemd template unit 79/28979/2
Scott Murray [Thu, 1 Jun 2023 23:01:04 +0000 (19:01 -0400)]
applaunchd: update Flutter app systemd template unit

Applications built with newer meta-flutter package their bundles in
a directory hierarchy containing the Flutter SDK version and
multiple runtime flavors (release, debug, profile).  Rework our
applaunchd systemd template unit to work with that.  FLUTTER_VERSION
and FLUTTER_RUNTIME environment variables are used in the ExecStart
command line, with working defaults defined in the unit.  The unit
also includes sourcing a global /etc/default/flutter environment
file as well as a per-application one to give us hooki for setting
the version based on the value of FLUTTER_SDK_TAG in meta-agl-flutter.

Bug-AGL: SPEC-4819

Change-Id: I4879760bfd9c01f29daf25d6cd4a3c70d07429fd
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28979
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>
10 months agoagl-session: remove agl-driver user from applaunchd group 30/28930/2
Denys Dmytriyenko [Tue, 30 May 2023 19:41:14 +0000 (19:41 +0000)]
agl-session: remove agl-driver user from applaunchd group

Previously agl-driver user was part of applaunchd group for D-Bus activation
to work woth the correct access rights. Now that D-Bus activation has been
removed from applaunchd, agl-driver user no longer needs to be in the same
group with applaunchd.

Bug-AGL: SPEC-4801

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

10 months agoapplaunchd: bump SRCREV for D-Bus removal 29/28929/2
Denys Dmytriyenko [Tue, 30 May 2023 19:38:18 +0000 (19:38 +0000)]
applaunchd: bump SRCREV for D-Bus removal

Update to the latest version of applaunchd that has D-Bus services removed.
Since D-Bus definitions are no longer installed, update FILES list accordingly.

Bug-AGL: SPEC-4801

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

10 months agoEnsure all layers do pass yocto-check-layer and run-yocto-check-layer.sh scripts 75/28875/3
Jan-Simon Moeller [Thu, 11 May 2023 11:02:46 +0000 (13:02 +0200)]
Ensure all layers do pass yocto-check-layer and run-yocto-check-layer.sh scripts

Ensure the layers do pass again and that the scripts are up-to-date.

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

10 months agoFix up i.MX8MQ EVK configuration 25/28925/2
Scott Murray [Tue, 23 May 2023 21:48:49 +0000 (17:48 -0400)]
Fix up i.MX8MQ EVK configuration

Changes:
- Since linux-fslc-lts does not boot on the EVK at the moment,
  and both it and linux-fslc still do not have support for the
  HDMI output, switch back to using linux-fslc-imx with tweaks
  to use etnaviv as we did pre-kirkstone.
- A bbappend has been added for linux-fslc-lts since that was
  missed in a previous upgrade, and even though we are not using
  it now, it is possibly useful for other i.MX variants.
- A machine template for using the NXP BSP with the Vivante GPU
  driver, imx8mq-evk-viv, has been restored, as testing shows it
  now works with the current panel-less homescreens.  As before,
  the intent of this configuration is for testing or as an example
  of potential production use of meta-freescale where NXP support
  is available.
- Start up of Bluetooth support has been disabled, as it currently
  causes kernel oopses or panics (both have been seen in testing).
  This happens with both machine templates.  SPEC-4807 has been
  opened to track this issue.

Bug-AGL: SPEC-4799

Change-Id: I38e4e720643714541efb0fed08d5ab64545bb02d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28925
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>
10 months agorecipes-graphics/wayland/weston_10.0_aglcore.inc: Backport libweston11 buffer release... 06/28906/2
Marius Vlad [Fri, 19 May 2023 14:19:33 +0000 (17:19 +0300)]
recipes-graphics/wayland/weston_10.0_aglcore.inc: Backport libweston11 buffer release patch

This is a backport from libweston 11 to would perform a synchronous
commit that disables the output. Further more this removes our
global state hammer regarding the such that we don't disable a
CRTC that has a pending flip.

Bug-AGL: SPEC-4772
Change-Id: I2631c818fd3a3192e293436fc4898f4a3de8b85d
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28906
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>
11 months agoRemove unnecessary group change at meta-agl-bsp for R-Car 90/28890/2
Naoto Yamaguchi [Sat, 13 May 2023 15:07:13 +0000 (00:07 +0900)]
Remove unnecessary group change at meta-agl-bsp for R-Car

Current AGL run each process by agl-driver user, that user
need access permission for GPU.  The old AGL use display
group to accept access for GPU, but current agl-driver
user join to video group that is default group for GPU.

This patch remove unnecessary group change at
meta-agl-bsp for R-Car.

Bug-AGL : SPEC-4797

Change-Id: Ife20dea685035b336675304a5c6fc292ed83deb6
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28890
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>
11 months agoUse backported Rust 1.68 toolchain by default 02/28902/2
Scott Murray [Wed, 17 May 2023 18:11:42 +0000 (14:11 -0400)]
Use backported Rust 1.68 toolchain by default

Add the kirkstone/rust-1.68 mixin layer from meta-lts-mixins into
the AGL default base so that the newer Rust toolchain is available
by default to all builds.  This seems the most straightforward way
to integrate it and have it available for use in builds that may or
may not include meta-agl-demo.  It also ensures that build shared
state and any binary packagefeed work do not get impacted by having
a mix of different versions across builds.

Bug-AGL: SPEC-4762

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

11 months agometa-ti-bsp: linux-bb.org: add bbappend to apply AGL config fragments 57/28857/2
Denys Dmytriyenko [Mon, 8 May 2023 21:07:06 +0000 (21:07 +0000)]
meta-ti-bsp: linux-bb.org: add bbappend to apply AGL config fragments

Add bbappend to apply AGL kernel config fragments to the new linux-bb.org
kernel recipe used in meta-ti-bsp for Beagle platforms now.

Bug-AGL: SPEC-4785

Change-Id: I2ca57d4a70b296fd00e72520ada267d96a149a21
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28857
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>
11 months agorecipes-graphics/wayland/agl-shell-activator_git: Bump SRCREV 09/28809/4
Marius Vlad [Fri, 5 May 2023 09:27:18 +0000 (12:27 +0300)]
recipes-graphics/wayland/agl-shell-activator_git: Bump SRCREV

To include the lastest agl-compositor changes, related to set_app_output
request.

Bug-AGL: SPEC-4673
Change-Id: I4c057182d5d39904a2b1b3a464fa29c927776cab
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28809
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>
11 months agorecipes-graphics/wayland/agl-compositor_git: Bump agl-compositor SRCREV 06/28806/4
Marius Vlad [Fri, 5 May 2023 09:10:45 +0000 (12:10 +0300)]
recipes-graphics/wayland/agl-compositor_git: Bump agl-compositor SRCREV

This update includes further gRPC API support, adding the ability to
now move windows dynamically between different outputs. Further more
this includes also the ability to susbcribe to the drm-backend debug scope
(which is being created by the drm-backend module) and to also list
other possible debug scopes the AGL compositor can subscribe.

In more detail the following changes have been added since the previous
update:

01171e9abf8a13 compositor: Let the user know about the debug scopes available
cea026b06a9073 compositor: Add support for subscribing to libweston scopes
0fef26d32431e7 shell: Add the ability to dynamically move application window
998097db427c6a layout: Fix no-op check due to invalid checks
d5d2af73456fba desktop: Look for app_ids after the initial commit
b80044887e9750 src: Send out the output name for the remote role
456f3fed4ff45b layout: Split remote from desktop role
4a1684308bd6a1 grpc-proxy: Added set_app_output request

Change-Id: I99f96aa983495b1eee2034de39526893085c7c0f
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28806
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agowaltham: Drop waltham support 05/28805/4
Marius Vlad [Fri, 5 May 2023 08:44:16 +0000 (11:44 +0300)]
waltham: Drop waltham support

Given than we don't really have any users and more importantly no
maintainers it would be best to remove Waltham support entirely from
the tree. The AGL compositor will shortly follow-up to remove supporting
code.

Bug-AGL: SPEC-4669
Change-Id: I4df495bb873d70f380dcc09cb083686f11f0b2e2
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28805
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agoweston_10.0_aglcore: Add helper iterator to loop over debug scopes 04/28804/4
Marius Vlad [Fri, 5 May 2023 08:38:40 +0000 (11:38 +0300)]
weston_10.0_aglcore: Add helper iterator to loop over debug scopes

This is helpful for users to list the available scopes, that other
compoments of libweston subscribed to.

Bug-AGL: SPEC-4593
Change-Id: Idec02efe997104f6af8164281eee0f2e46f996bf
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28804
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months ago[R-CAR] meta-agl-bsp: correct vspm-if package name 82/28782/2
Harunobu Kurokawa [Tue, 2 May 2023 17:34:02 +0000 (02:34 +0900)]
[R-CAR] meta-agl-bsp: correct vspm-if package name

kernel-module-vspmif package name is no longer used. We should
correct kernel-module-vspm-if in these files.

Bug-AGL: SPEC-4780

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

11 months agometa-agl-bsp: Use pixman renderer on qemuarm/qemuarm64 66/27066/3
Hiroyuki Ishii [Thu, 23 Dec 2021 08:10:40 +0000 (17:10 +0900)]
meta-agl-bsp: Use pixman renderer on qemuarm/qemuarm64

Using GL-renderer on qemu without any acceleration support such as
kvm results pretty much higher cpu consumption. To avoid it, we'll
use pixman-renderer on qemuarm and qemuarn64.

Bug-AGL: SPEC-4165

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: Iaffe1bd624d6f1c6df9af67e33cc1fa2168293ac
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/27066
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agoagl_bbe.inc: remove old graphics preferences 44/28744/3
Denys Dmytriyenko [Mon, 1 May 2023 15:40:09 +0000 (15:40 +0000)]
agl_bbe.inc: remove old graphics preferences

Latest TI graphics completely redone its dependencies and preferences
to be aligned with upstream and use Mesa packages as proper providers
for GBM, EGL, GLES, etc. components. There's no more need for local
workarounds to adjust graphics settings.

Note: SGX is currently set in meta-ti-bsp to fall back to software
rendering and will be fixed later. Rogue in newer K3 devices is fully
functioning though.

Bug-AGL: SPEC-4723

Change-Id: I072a5e25bdbb444db8e7d4b87a1f181c349240ea
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28744
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agoagl_beaglebone.inc: remove old graphics preferences 43/28743/3
Denys Dmytriyenko [Mon, 1 May 2023 15:33:58 +0000 (15:33 +0000)]
agl_beaglebone.inc: remove old graphics preferences

Latest TI graphics completely redone its dependencies and preferences
to be aligned with upstream and use Mesa packages as proper providers
for GBM, EGL, GLES, etc. components. There's no more need for local
workarounds to adjust graphics settings.

Note: SGX is currently set in meta-ti-bsp to fall back to software
rendering and will be fixed later. Rogue in newer K3 devices is fully
functioning though.

Bug-AGL: SPEC-4723

Change-Id: Ifb6f594c6203924aa1b90f421d475b716c61a796
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28743
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
11 months agometa-ti-bsp: don't apply mesa virgl patch for TI pvr graphics 42/28742/2
Denys Dmytriyenko [Mon, 1 May 2023 15:25:48 +0000 (15:25 +0000)]
meta-ti-bsp: don't apply mesa virgl patch for TI pvr graphics

Latest TI graphics now uses Mesa, but it uses a slightly newer and
patched version of Mesa for SGX and Rogue GPUs. Since generic mesa
virgl patch from meta-agl-bsp/core already exists in that version
of Mesa, need to skip applying it here.

Bug-AGL: SPEC-4723

Change-Id: I795e2bf41bea8305be25418de7cc3262aefb3b4a
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28742
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agometa-agl-bsp/core: mesa: generic patches should be y-c-l safe 41/28741/2
Denys Dmytriyenko [Mon, 1 May 2023 15:07:47 +0000 (15:07 +0000)]
meta-agl-bsp/core: mesa: generic patches should be y-c-l safe

SPEC-4724 added a generic backported patch to mesa. But instead of
adding it directly to mesa_%.bbappend, it should have been added to
mesa_agl.inc which is only active when "aglcore" feature is enabled,
making it yocto-check-layer safe.

Bug-AGL: SPEC-4723

Change-Id: I226cba14de917f6e4109d1dc1df364cb74e7ee45
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28741
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

11 months agometa-ti-bsp: ti-sgx-ddk-um: drop systemd service workaround 40/28740/2
Denys Dmytriyenko [Mon, 1 May 2023 15:01:57 +0000 (15:01 +0000)]
meta-ti-bsp: ti-sgx-ddk-um: drop systemd service workaround

Latest TI graphics package uses udev rules to initialize the driver
and does not install legacy SysVinit rc.pvr script unless udev isn't
available. No need for systemd service workaround anymore.

Bug-AGL: SPEC-4723

Change-Id: I3ce5d270357578086152d87fb2cf91512691e1a9
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28740
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>
11 months agometa-ti-bsp: mesa: drop unneeded bbappend 39/28739/2
Denys Dmytriyenko [Mon, 1 May 2023 14:55:57 +0000 (14:55 +0000)]
meta-ti-bsp: mesa: drop unneeded bbappend

Latest TI graphics libraries for SGX and Rogue GPUs no longer include
Mesa pieces, but rather build on top of proper Mesa packages (although
patched). Remove local bbappend disabling GBM.

Bug-AGL: SPEC-4723

Change-Id: I8a4ba82d0e7540d6fe2da7efdcefab7a2dc77c6b
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28739
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>
11 months agoweston-ini-conf: Add grpc-shell-server to no-activate ini 38/28738/2
Marius Vlad [Sat, 29 Apr 2023 09:15:19 +0000 (12:15 +0300)]
weston-ini-conf: Add grpc-shell-server to no-activate ini

This embeddeds the grpc-proxy configuration file into the no-activate
configuration file, rather than creating a new no-activate-grpc-proxy,
or no-activate-landscape-grpc-proxy.

The grpc-proxy.cfg file is just a rename of grpc-server.cfg from
meta-agl-demo/ tree, introduced with 1b347d8823, '[weston-ini-conf] Fix
dependency issue with grpc in meta-agl-core'.

Bug-AGL: SPEC-4776
Change-Id: Ie6183887cdb7b6e3f7cb431f01edb8da75e05946
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28738
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>
12 months agofiles/group: add sgx group with static ID for new systemd 20/28720/2
Denys Dmytriyenko [Thu, 27 Apr 2023 17:38:02 +0000 (17:38 +0000)]
files/group: add sgx group with static ID for new systemd

Yocto Project 4.0.9 now comes with systemd v250, which uses sgx group:

https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=3fd47697df858d4093d9cb4c6a378fc07aa4d064

Note: here sgx is not related to Imagination PowerVR GPU, but rather
means Intel Software Guard Extensions:

https://en.wikipedia.org/wiki/Software_Guard_Extensions

Bug-AGL: SPEC-4768

Change-Id: I3f8656b5e859f1126388f52d9f8b54bfac0734a7
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28720
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>
12 months agoAdd templates for gitlab issues and merge requests
Jan-Simon Moeller [Thu, 27 Apr 2023 11:53:26 +0000 (13:53 +0200)]
Add templates for gitlab issues and merge requests

Notify users to use jira.automotivelinux.org and
gerrit.automotivelinux.org in the default messages.

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

12 months agopackagegroup-agl-core-devel: Add zstd 07/28707/2
Scott Murray [Tue, 25 Apr 2023 21:52:11 +0000 (17:52 -0400)]
packagegroup-agl-core-devel: Add zstd

Add zstd as a development package, as it's required to decompress
coredumps on target with newer systemd.

Bug-AGL: SPEC-4736

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

12 months agoConvert AGLCI into AGL_FEATURE 81/28681/2
Jan-Simon Moeller [Thu, 20 Apr 2023 21:22:37 +0000 (23:22 +0200)]
Convert AGLCI into AGL_FEATURE

Use AGL_FEATURES instead of DISTRO_FEATURES.

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

12 months agometa-agl-bsp: Add overrides to Kingfisher BSP changes 55/28655/2
Scott Murray [Tue, 18 Apr 2023 22:15:07 +0000 (18:15 -0400)]
meta-agl-bsp: Add overrides to Kingfisher BSP changes

As was done in commit 32744858 for the plain h3ulcb/m3ulcb MACHINE
configuration, add rcar-gen3 overrides to the Kingfisher variable
tweaks to avoid unwanted side effects when building for other
MACHINEs when using multiconfigs.  This is needed to be able to
build the KVM demo image for h3ulcb-kf.

Bug-AGL: SPEC-4760

Change-Id: Ie52f0a4a586398875f88e558ef465162c9fdfec1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28655
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>
12 months agonative-shell-client: update SRCREV 54/28654/2
Scott Murray [Tue, 18 Apr 2023 22:11:51 +0000 (18:11 -0400)]
native-shell-client: update SRCREV

Update SRCREV to pick up:

c5a05b1 Bump agl-shell protocol version

Bug-AGL: SPEC-4735

Change-Id: Iaf48d6ef06d099d8193f0744b2c01428d630e927
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28654
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>
12 months agoapplaunchd: bump SRCREV for "failed" signal handling 46/28646/2
Denys Dmytriyenko [Fri, 14 Apr 2023 19:25:21 +0000 (19:25 +0000)]
applaunchd: bump SRCREV for "failed" signal handling

Bump SRCREV to include the latest fix for handling "failed" signal
when apps exit abnormally.

Bug-AGL: SPEC-4199

Change-Id: I6a4ce6755df65f43b53f61ca1873286f2218328e
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28646
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>
12 months agobluetooth.conf: open secondary access to pipewire 39/28639/3
Ashok Sidipotu [Thu, 13 Apr 2023 16:20:08 +0000 (21:50 +0530)]
bluetooth.conf: open secondary access to pipewire

with out having a secondary access to pipewire(export core), wireplumber creates
bluetooth device objects as well as access the existing pipewire objects using
the same pipewire connection, which can some times create race conditions.

Enable export core, so that wireplumber bluetooth monitor has access to both the
regular core and the export core.

Bug-AGL: SPEC-4750
Change-Id: I0db9b276ecd6972294c36722bf5a31c5ac00f186
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28639
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
12 months agopipewire: Update pw to v0.3.67 and wp to v0.4.14 90/28590/3
Ashok Sidipotu [Mon, 20 Mar 2023 12:39:30 +0000 (18:09 +0530)]
pipewire: Update pw to v0.3.67 and wp to v0.4.14

Highlights of Pipewire.
- The loopback module and other couples streams will now not randomly
  fail in some cases. (#3028).
- PipeWire can now generate a limits.d config file with our recommended
  settings for priorities and memlock.
- Add back the deprecated symbols but make sure a deprecated warning is
  emitted for them. This fixes compilation issues in bindings.
- Clear old buffer memory on ports to fix some SIGBUS errors.
- Fix a critical bug that causes audio distortion in some cases when using.
AVX2.

Highlights of Wireplumber.
- Added bluetooth SCO (HSP/HFP) hardware offload support, together with an
  example script that enables this functionality on the PinePhone.
- WirePlumber now maintains a stack of previously configured default nodes and
  prioritizes to one of those when the actively configured default node
  becomes unavailable, before calculating the next default using priorities
  (see !396).
- The libcamera monitor is now enabled by default, so if the libcamera source
  is enabled in PipeWire, cameras discovered with the libcamera API will be
  available out of the box. This is safe to use alongside V4L2, as long as
  the user does not try to use the same camera over different APIs at the same
  time.
- Added i18n support to be able to translate some user-visible strings.

Bug-AGL: SPEC-4732
Change-Id: Ie2f9cb99b4594d21e5c2acd092fe54e93d067410
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28590
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>
12 months agometa-core/recipes-graphics/mesa: Backport a fix from 22.2.5 80/28580/4
Marius Vlad [Tue, 28 Mar 2023 14:27:24 +0000 (17:27 +0300)]
meta-core/recipes-graphics/mesa: Backport a fix from 22.2.5

This adds
0001-virgl-don-t-a-use-staging-when-a-resources-created-w.patch which is
a backport from mesa 22.2.5 as a tentative fix for running on virgl on the x86
platform.

This issue seems have been fixed 22.2.4 and 22.2.5, but the original
change was initially quite a long time before in 22.0.X and we seem to
be using 22.0.3.

This also seems to affect Xen when updating it from 4.16 to 4.18.

Bug-AGL: SPEC-4724
Change-Id: I255e30d8e513b8f3bbfa720a24c1afcbd40af2c9
Reported-by: Rahul Kumar <Rahul.Kumar1@amd.com>
Tested-by: Rahul Kumar <Rahul.Kumar1@amd.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28580
Tested-by: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
13 months agometa-rcar-gen3/recipes-multimedia/gstreamer: Add gstreamer bbappends 83/28583/3
Marius Vlad [Wed, 29 Mar 2023 11:48:23 +0000 (14:48 +0300)]
meta-rcar-gen3/recipes-multimedia/gstreamer: Add gstreamer bbappends

This would fix fetch build failures with the gstreamer plugins which seems
to have been caused by a git to gitsm replacement in the original
recipes.

Bug-AGL: SPEC-4730
Change-Id: I4b1d700a6645d280b65f3f3202b76208d30061e7
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reported-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28583
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account

13 months agoagl-shell-activator_git: Bump SRCREV 67/28567/3
Marius Vlad [Wed, 8 Mar 2023 13:50:49 +0000 (15:50 +0200)]
agl-shell-activator_git: Bump SRCREV

This adds support for set_app_float, set_app_fullscreen and
set_app_normal for the gRPC interface.

In more detail this includes the following changes:

d2dcfd079aa110 AglShellGrpcClient: Add set_app_fullscreen functionality
1542448f3084e7 src: add support for set_app_normal
5695439dc3b1a4 src: Add set_app_float request support
7d66c470049050 src: Fix iteration over actions

Bug-AGL: SPEC-4673
Change-Id: Ief168f7383f691271248234f68df7644b1b1057d
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28567
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>
13 months agoagl-compositor_git: Bump SRCREV to latest 64/28564/2
Marius Vlad [Wed, 8 Mar 2023 11:50:48 +0000 (13:50 +0200)]
agl-compositor_git: Bump SRCREV to latest

This SRCREV bump updates includes some minor fixes when hot-plugging the
connector, and includes set_app_float, set_app_normal and
set_app_fullscreen together with an implementation for deactivation of
windows using the gRPC API.

With this bump we also provide a versioned so libexec_compositor library
rather than a generic unversioned one.

In detail the following changes have been added:

4e4624dee9850b4a4e5 grpc-proxy: Add set_app_fullscreen functionality
9eb8ca6ac7473107ebe shell: Reset normal state when getting back to maximized
359a0612e48d7d21d52 protocol: Add set_app_normal request
4af44df30c1784a69b9 protocol, grpc-proxy: Add support for set_app_float
65fc5191f046ad8c7ba protocol/grpc-proxy: Add deactivate_app request
28ec0cff16d62260fb1 compositor: Added layout_save/layout_restore
ee50083d93869aaa581 shell: Check for a valid ivi_surface
02fcb317161c08bcf02 shell: Check for invalid outputs passed on when activating
d98b08f1fcb6ff6ccc7 compositor: Fix memleak when disabling the output
53a039ff1c4b05aaacc ivi-compositor: Add support for multiple app_ids
ce8dd33f3762e0ec449 meson: Deprecate waltham and inform users of that
6fd11a88c4d3c82e33b meson: Bump to version 0.0.21
4003cfb04b7bae04c32 shell: Reset the area activation

Change-Id: I2a2ea18124a825e7e7709aab9c4a4285377a45b0
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28564
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agoUpdate scripts/run-yocto-check-layer 14/28514/4
Jan-Simon Moeller [Fri, 17 Feb 2023 22:09:56 +0000 (23:09 +0100)]
Update scripts/run-yocto-check-layer

The added dependency to meta-oe masked the dependency issue. Remove it.

Bug-AGL: SPEC-4707
Change-Id: Ia9740769ea99fcd3c4ddeb66e497fc91ed9816e1
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28514
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
14 months ago[agl-shell-activator] Decouple due to dependency on grpc 13/28513/4
Jan-Simon Moeller [Fri, 17 Feb 2023 22:08:04 +0000 (23:08 +0100)]
[agl-shell-activator] Decouple due to dependency on grpc

We also need to deal with DEPENDS and agl-shell-activator. The latter
is a pure grpc implementation, thus move it to a dynamic layer.

Bug-AGL: SPEC-4707

Change-Id: I308104b59333f69dfe416bd3721b11fb7e1b96c4
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28513
Reviewed-by: Denys Dmytriyenko <denys@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

14 months ago[weston-ini-conf] Fix dependency issue with grpc in meta-agl-core 10/28510/2
Jan-Simon Moeller [Thu, 16 Feb 2023 13:28:00 +0000 (14:28 +0100)]
[weston-ini-conf] Fix dependency issue with grpc in meta-agl-core

grpc is not in the core layer but in meta-oe . Guard the dependency and only enable when
prerequisites are met. This also affects weston-ini-conf. We move this into meta-agl-demo.

Bug-AGL: SPEC-4707
Change-Id: Ia07cc8e32ac0c38586765985f367dae0cf8c429c
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28510
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

14 months agoFix dependency issue with grpc in meta-agl-core 09/28509/2
Jan-Simon Moeller [Thu, 16 Feb 2023 11:34:49 +0000 (12:34 +0100)]
Fix dependency issue with grpc in meta-agl-core

grpc is not in the core layer but in meta-oe . Guard the dependency and only enable when
prerequisites are met.

Bug-AGL: SPEC-4707
Change-Id: I922a846108ca13d8e6d50e79c3003b0b32a002a7
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28509
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

14 months agometa-agl-core: Centralize qtlocation tweaks 73/28473/3
Scott Murray [Mon, 13 Feb 2023 23:33:31 +0000 (18:33 -0500)]
meta-agl-core: Centralize qtlocation tweaks

To avoid issues when combining the meta-agl-ic-container and
meta-agl-demo layers, move the meta-agl-demo qtlocation bbappend to
the pre-existing meta-qt5 dynamic-layers hierarchy in meta-agl-core.
This does have a minor side-effect of enabling more map plugins in
the QtLocation users in the meta-agl-ic-container guests, but seems
more robust overall with respect to future work on binary package
feeds.

Bug-AGL: SPEC-4703

Change-Id: I8244c7ac7a22b25d28da7b8ffbf2454b68bee591
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28473
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>
14 months agometa-agl-bsp: Fix rcar3 kernel module bbappends for linux-dummy 72/28472/2
Scott Murray [Mon, 13 Feb 2023 23:30:25 +0000 (18:30 -0500)]
meta-agl-bsp: Fix rcar3 kernel module bbappends for linux-dummy

The usrmerge fixes added to the various rcar3 kernel bbappends turn
out to cause issues when using linux-dummy as the kernel as the
IC EG system containers do, add the required extra checking to avoid
issues.

Bug-AGL: SPEC-4703

Change-Id: I7749c9f921791a7c143a7003827939af64997a5c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28472
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>
14 months agobblayers.conf.sample: Add AGL_META_QT5 hook 71/28471/2
Scott Murray [Mon, 13 Feb 2023 23:28:54 +0000 (18:28 -0500)]
bblayers.conf.sample: Add AGL_META_QT5 hook

Add AGL_META_QT5 to allow features to add meta-qt5 without duplicate
layer collisions.  This is needed for combining the agl-ic-container
and agl-demo features.

Bug-AGL: SPEC-4703

Change-Id: I8a7b0f35d4a59ffe1ba25c20d36887d3f4f1fc7e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28471
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>
14 months agoPrepare master for Prickly Pike 59/28459/2
Jan-Simon Moeller [Thu, 9 Feb 2023 22:18:20 +0000 (23:18 +0100)]
Prepare master for Prickly Pike

Update the distro manifest.

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

14 months agoweston-ini-conf/core.cfg: Bring in shell-ext-client 41/28441/2
Marius Vlad [Tue, 31 Jan 2023 14:58:58 +0000 (16:58 +0200)]
weston-ini-conf/core.cfg: Bring in shell-ext-client

Rather than messing up the ini file, bring it in from the core
configuration file. This allows to start-up the gRPC proxy server at
start-up.

This is a follow from Revert "weston-ini-conf: Add agl-shell-grpc-server"
This reverts commit 2f40613cbf42fd378feea57ccefbb3215ecc1355.

Change-Id: I40ab339fe73efb07ac1e86e6778764a553a3cabe
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28441
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agoPrepare Optimistic Octopus Milestone 4 38/28438/3 14.94.0 octopus/14.94.0 octopus_14.94.0
Jan-Simon Moeller [Sun, 29 Jan 2023 22:36:33 +0000 (23:36 +0100)]
Prepare Optimistic Octopus Milestone 4

Update the distro manifest.

Bug-AGL: SPEC-4691
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I4bb2e97dc32c3da7e9d24c843e951a99383b4229
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28438
Tested-by: Jenkins Job builder account
14 months agoqemu: add bbappend to tweak PACKAGECONFIG 20/28420/3
Scott Murray [Thu, 19 Jan 2023 00:28:32 +0000 (19:28 -0500)]
qemu: add bbappend to tweak PACKAGECONFIG

Add a bbappend for qemu to tweak PACKAGECONFIG for target use to add
libusb support.  This is required for USB device passthrough for e.g.
touchscreen support.  Also enable libaio for potential performance
benefits and selinux support for investigation into leveraging it for
security improvement.

Bug-AGL: SPEC-4618

Change-Id: If9a52bad0657a04d7fc7da3ba15cd14be611ffd4
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit cc422ba11f0a18b830422d41e47ba85481daa258)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28420
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agometa-agl-bsp: make sure weston user is in display group for rcar3 19/28419/3
Scott Murray [Tue, 17 Jan 2023 17:48:48 +0000 (12:48 -0500)]
meta-agl-bsp: make sure weston user is in display group for rcar3

Add a meta-rcar-gen3 specific weston-init bbappend to add the
weston user to the display group.  This is preferable to unmasking
the bbappend in upstream meta-rcar-gen3, as we do not want any of
the other changes it contains (or may contain).  This change is a
bit of a stopgap required for running weston or agl-compositor as
the weston user without the agl-driver user session unit in e.g.
the agl-image-weston image or the KVM or IC host images.
Future work will try to align the required groups with upstream
systemd-udevd expectations.

Bug-AGL: SPEC-4618

Change-Id: I22e8aaa095114802242fb1ed150dec2a5055fda9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit c1b436f4882737ce0b9a95853954d0f4daab2d86)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28419
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agometa-agl-bsp: make meta-rcar-gen3 BBMASKs more specific 18/28418/3
Scott Murray [Tue, 17 Jan 2023 17:47:59 +0000 (12:47 -0500)]
meta-agl-bsp: make meta-rcar-gen3 BBMASKs more specific

Update the BBMASK definitions for the rcar3 platforms in meta-agl-bsp
to include the meta-renesas/ component of the path so that they will
not mask out any of our files under meta-agl-bsp/meta-rcar-gen3.

Bug-AGL: SPEC-4618

Change-Id: I6434f54bb50784c0673b54648165e0c5118f0c7e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit b5001a4a5abbe8e7944446025dd63be725c491e4)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28418
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agosystemd: enable iptc PACKAGECONFIG 17/28417/3
Scott Murray [Mon, 16 Jan 2023 22:14:19 +0000 (17:14 -0500)]
systemd: enable iptc PACKAGECONFIG

Add iptc to our systemd PACKAGECONFIG tweak so that bridging support
will be available in systemd-networkd.

Bug-AGL: SPEC-4618

Change-Id: I15d003ad69d6ca59613391beb2e78e3c5fe804cc
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 69e119b969baa88594b3264709e21037aa783bb7)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28417
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agoconnman-conf: ignore tap interfaces 16/28416/3
Scott Murray [Mon, 16 Jan 2023 22:08:19 +0000 (17:08 -0500)]
connman-conf: ignore tap interfaces

Add tap* interfaces to the list of interface names that connman
should ignore so that it will not conflict with the tap interfaces
qemu may set up.  This seems safe in general, as a usecase where it
makes sense for connman to assign an address to a tap interface is
not immediately obvious.

Bug-AGL: SPEC-4618

Change-Id: Ic9185e4f93a44c2d9e4265513afc04a2ec4c3d4a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 29afa2ad9f9d04477c7a80d3a35e83fb6e5227dc)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28416
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agoweston-ini-conf: make remote output configuration dynamic 15/28415/3
Scott Murray [Mon, 16 Jan 2023 22:04:08 +0000 (17:04 -0500)]
weston-ini-conf: make remote output configuration dynamic

Rework things to also update the remote output configuration
fragment based on the value of TRANSMITTER_OUTPUT_HOST.  This
helps when using different IP addresses for e.g. the KVM demo
configuration.

Bug-AGL: SPEC-4618

Change-Id: I198ff3e6a30b3968b4749998354a39325c088933
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 39def8ebd98c98e67304517ab118f9bde4cdf8e7)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28415
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
15 months agoRevert "weston-ini-conf: Add agl-shell-grpc-server" 54/28354/2 14.93.0 octopus/14.93.0 octopus_14.93.0
Jan-Simon Moeller [Thu, 26 Jan 2023 12:35:34 +0000 (12:35 +0000)]
Revert "weston-ini-conf: Add agl-shell-grpc-server"

This reverts commit 2f40613cbf42fd378feea57ccefbb3215ecc1355.

Reason for revert: This breaks the runtime with:
Jan 25 04:07:51 qemuarm agl-compositor[456]: malformed section header: [shell-client-ext]\ncommand=/usr/lib/agl-compositor/agl-shell-grpc-server\n
Jan 25 04:07:51 qemuarm agl-compositor[456]: [04:07:51.432] fatal: error opening or reading config file '/etc/xdg/weston/weston.ini'.

Change-Id: I09f74614a9d7ec55550d46224ec1c1b96528eb0b
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28354
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
15 months agoweston-ini-conf: Add weston-ini-landscape-no-activate 71/28371/4
Roger Zanoni [Sun, 25 Dec 2022 22:51:17 +0000 (23:51 +0100)]
weston-ini-conf: Add weston-ini-landscape-no-activate

This change adds an option to use a weston.ini config in landscape mode
with automatic activation disabled by default, to be used by wam.

Bug-AGL: SPEC-4647, SPEC-4528

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: Ibaeefc4cae07b3f4cb4bbc619bb068fd259d81fc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28371
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
15 months agoPrepare Optimistic Octopus Milestone 3 13/28413/2
Jan-Simon Moeller [Mon, 23 Jan 2023 15:28:59 +0000 (16:28 +0100)]
Prepare Optimistic Octopus Milestone 3

Update the distro configuration.

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

15 months agoweston-ini-conf: Add agl-shell-grpc-server 64/28364/6
Marius Vlad [Thu, 5 Jan 2023 17:38:39 +0000 (19:38 +0200)]
weston-ini-conf: Add agl-shell-grpc-server

Now that we have gRPC server implementation start the agl-shell-grpc
server by default.

Change-Id: I1d00b29306f90ababc5277ecb71a101eea1a46ca
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28364
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
15 months agoagl-shell-activator_git: Bump SRCREV 63/28363/6
Marius Vlad [Thu, 5 Jan 2023 16:26:40 +0000 (18:26 +0200)]
agl-shell-activator_git: Bump SRCREV

This SRCREV bump adds gRPC support and removes agl-shell-desktop
support.

Change-Id: I946a9563321a6d9b5c756a364726fd3037ba5b63
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28363
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
15 months agoagl-compositor_git: Bump agl-compositor SRCREV 18/28318/7
Marius Vlad [Wed, 28 Dec 2022 16:29:55 +0000 (18:29 +0200)]
agl-compositor_git: Bump agl-compositor SRCREV

This SRCREV bump includes the addition of agl-shell-grpc-server, an
interface to agl-shell-desktop protocol, but instead of using wayland
connection it uses Google's RPC. For the time being there's only a
client using it, and that is agl-shell-activator.

The plan is to phase out agl-shell-desktop entirely and use this
interface as a way to perform additional window management.

Further more this bump also includes a couple of connector hot-plug
fixes and renames hide-cursor to disable-cursor entry section to better
reflect its name.

In more detail the following changes have been added:

7ef34e0c465a7596 shell: Verify agl-shell version for bound_ok/bound_fail
c01b90ece22cc587 shell: Add fallback agl-shell version 1
0907e87f1576f8ad input: Fix minor issue while reporting disable cursor
c9d3edb4ee23a563 input: Rename hide-cursor to disable-cursor
76fa1b83638310c2 src: Verify if the output is present
79eac214d4866d84 src: Further hotplug connector fixes
59375972f5642b7e grpc-proxy: Init gRPC
0b766cf978b8b100 shell: Not not override the agl_shell interface resources
c42f50b567a0d5ad shell: Add a wrappers for sending events with agl-shell
05bb0384732480a9 compositor: Allow to start other clients
14a1292a39377472 agl-shell.xml: Introduce a new interface
33997a7c96838795 compositor: Handle output destruction deferral

Change-Id: I6df1d7fcf6d5d3abcc3c1c2b8a0cf820368a26de
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28318
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
15 months agoExempt nfsroot and nbdroot from systemd-networkd 06/28406/2
Jan-Simon Moeller [Thu, 19 Jan 2023 22:47:09 +0000 (23:47 +0100)]
Exempt nfsroot and nbdroot from systemd-networkd

We need to exempt these in our wired configuration is using nbdroot or nfsroot.

Likewise we can relax the connman settings again.

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

15 months agoweston/0001-simple-touch-Add-maximized-fullscreen: Add maximized/fullscreen for simpl... 14/28314/4
Marius Vlad [Tue, 27 Dec 2022 16:38:02 +0000 (18:38 +0200)]
weston/0001-simple-touch-Add-maximized-fullscreen: Add maximized/fullscreen for simple-touch

simple-touch wasn't able to resize itself to max/fullscreen to this
patch adds support for that. It is quite useful to have this client
test out touch support, so we can re-use it whenever, for instance in
the virtio aarch64 machine to test if we have indeed or not a
touchscreen device.

Upstream-Status: Submitted
See: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1095

Bug-AGL: SPEC-4656
Change-Id: I974b4c5ea8a85f1b3efe4a114f345de948441300
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28314
Tested-by: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
15 months agofiles/group: add render group with static ID for new systemd 69/28369/2
Denys Dmytriyenko [Fri, 6 Jan 2023 19:13:12 +0000 (19:13 +0000)]
files/group: add render group with static ID for new systemd

Yocto Project 4.0.6 now comes with systemd v236, which uses render group:

https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=f902338f312cf5c55b2857e5c7e980cb11a26a9c
https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=ba1db7f9189526b02e3d75d375ece53953c2e942

Bug-AGL: SPEC-4668

Change-Id: I473644f4b9e57663f036b43a48a8319e4d664d65
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28369
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
15 months agovirtualization-layer/recipes-graphics/mesa: Workaround for virgl 00/28300/4
Marius Vlad [Mon, 19 Dec 2022 09:54:40 +0000 (11:54 +0200)]
virtualization-layer/recipes-graphics/mesa: Workaround for virgl

This is a just a workaround for the time being, to avoid some graphical
artefacts seen only when booting up for the first time the image.

Introduced with https://gitlab.freedesktop.org/mesa/mesa/-/commit/6f68cacf619f7f13bc870355709224c1f3e9bbd8.

Bug-AGL: SPEC-4651
Change-Id: Ie2ac5d170790293dc5860d5f27f26ee811f4a4b5
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28300
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Jenkins Job builder account
15 months agosystemd-conf-canbus: Add link configuration 91/28291/2
Scott Murray [Tue, 20 Dec 2022 19:20:33 +0000 (14:20 -0500)]
systemd-conf-canbus: Add link configuration

Add a .link file to set the transmit queue length to 1000 for physical
CAN devices.  This matches the default used for vcan devices, and in
testing fixes the transmit buffer overflows when running the simulator
script against an interface.

Bug-AGL: SPEC-4652

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

16 months agoPrepare Optimistic Octopus Milestone 2 98/28298/2 14.92.0 octopus/14.92.0 octopus_14.92.0
Jan-Simon Moeller [Fri, 16 Dec 2022 13:06:02 +0000 (14:06 +0100)]
Prepare Optimistic Octopus Milestone 2

Update the distro configuration.

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

16 months agolinux: config: add systemd sandboxing fragment 97/28297/2
Denys Dmytriyenko [Wed, 14 Dec 2022 22:05:29 +0000 (22:05 +0000)]
linux: config: add systemd sandboxing fragment

Add a kernel config fragment that enables additional features needed for
systemd sandboxing support, using Classic BPF (Berkeley Packet Filter)
kernel framework. Eventually this will be extended with more advanced
features using eBPF (extended BPF), BTF (BPF Type Format) and LSM (Lunux
Security Module) frameworks.

Bug-AGL: SPEC-4627
Change-Id: I9ed21c654b2e0298be66073750dab6920e49b0c9
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28297
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
16 months agolinux: config: move CONFIG_AUDIT* into own fragment 76/28276/2
Denys Dmytriyenko [Wed, 14 Dec 2022 21:23:20 +0000 (21:23 +0000)]
linux: config: move CONFIG_AUDIT* into own fragment

Enabling CONFIG_AUDIT* is needed by auditd and should be safe whether systemd
is used or not and is not specific to SELinux.

Note that systemd README has this old caveat mentioned

| Note that kernel auditing is broken when used with systemd's
| container code. When using systemd in conjunction with
| containers, please make sure to either turn off auditing at
| runtime using the kernel command line option "audit=0", or
| turn it off at kernel compile time using:
|   CONFIG_AUDIT=n
| If systemd is compiled with libseccomp support on
| architectures which do not use socketcall() and where seccomp
| is supported (this effectively means x86-64 and ARM, but
| excludes 32-bit x86!), then nspawn will now install a
| work-around seccomp filter that makes containers boot even
| with audit being enabled. This works correctly only on kernels
| 3.14 and newer though. TL;DR: turn audit off, still.

But that seems to only apply to nspawn usage in some specific cases and on
older kernels, plus there are even runtime workarounds available when needed,
so let's enable it by default.

Bug-AGL: SPEC-4627
Change-Id: I5fcd58ba41929d2966fadea27b6751e4fa6589c9
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28276
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
16 months agolinux: config: enable kernel settings that systemd requires 75/28275/2
Denys Dmytriyenko [Mon, 28 Nov 2022 22:46:52 +0000 (22:46 +0000)]
linux: config: enable kernel settings that systemd requires

Add kernel config fragment with all settings required by systemd.

Some more generic settings need to be explicitly set here as well to satisfy
necessary dependencies from systemd settings down the tree, otherwise some
BSPs would break.

Bug-AGL: SPEC-4627
Change-Id: I7a2796ea65da58a4f1fa0556cd94df67e7df7db9
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28275
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
16 months agometa-app-framework: Add Flutter app icon installation 55/28155/2
Scott Murray [Wed, 7 Dec 2022 08:53:51 +0000 (17:53 +0900)]
meta-app-framework: Add Flutter app icon installation

Add logic to agl-app.bbclass to install an icon for Flutter apps if
there is one present as ${AGL_APP_ID}.svg in a "package" directory
in their source repository.

Bug-AGL: SPEC-4634

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

16 months agoUpdate cluster network configuration 54/28154/2
Scott Murray [Wed, 7 Dec 2022 08:52:16 +0000 (17:52 +0900)]
Update cluster network configuration

Update configuration files as appropriate with the IVI board as
192.168.10.2 and the cluster as 192.168.10.3.

Bug-AGL: SPEC-4632

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

16 months agosystemd-conf-canbus: Add FD configuration 53/28153/2
Scott Murray [Wed, 7 Dec 2022 08:48:51 +0000 (17:48 +0900)]
systemd-conf-canbus: Add FD configuration

Add canbus-can-fd.network configuration that can be selected via
CANBUS_NETWORK_CONFIG.

Bug-AGL: SPEC-4633

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

16 months agolibsdl2: PACKAGECONFIG tweaks 92/28192/3
Scott Murray [Wed, 23 Nov 2022 21:33:29 +0000 (16:33 -0500)]
libsdl2: PACKAGECONFIG tweaks

Add a couple of bbappends for libsdl2 to tweak its PACKAGECONFIG,
based on Panasonic QEMU+KVM documentation.

Bug-AGL: SPEC-4618

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

16 months agolinux-yocto: Rework virtio-aarch64 kernel configuration 91/28191/2
Scott Murray [Wed, 23 Nov 2022 18:39:08 +0000 (13:39 -0500)]
linux-yocto: Rework virtio-aarch64 kernel configuration

Changes:
- Appending the virtio kernel metadata to SRC_URI in the linux-yocto
  bbappend was having the side-effect of overriding a lot of the
  changes from the other AGL configuration fragments.  To avoid this,
  prepend the addition to AGL_KCONFIG_FRAGMENTS instead.
- Add the HDA sound driver config fragment for virtio machines to
  allow using the QEMU emulation.
- Add config fragment for the virtio kernel to ensure that
  CONFIG_DRM and the fbdev emulation are on.
- Add config fragment for the virtio kernel to turn on CONFIG_PCI,
  as there are some peripherals that we may need to expose to guests
  with it.  This and the DRM changes will be rationalized in the
  metadata repo once it's clear we do need them.

Bug-AGL: SPEC-4618

Change-Id: I453b84d9840498772afd01404dd374f5c1d245da
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28191
ci-image-build: Jenkins Job builder account
Tested-by: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
16 months agolinux: config: move BBE-specific fragment from meta-agl-core to meta-agl-bsp 03/28203/2
Denys Dmytriyenko [Mon, 28 Nov 2022 20:44:17 +0000 (20:44 +0000)]
linux: config: move BBE-specific fragment from meta-agl-core to meta-agl-bsp

Commit d009fa0c42042a0b7d069779852953621e46469b as part of SPEC-4156 added a
kernel config fragment to disable CONFIG_RELAY. Since this fragment is only
applied to BBE, there's no need for it to reside in meta-agl-core and can be
moved to meta-agl-bsp/meta-sancloud.

Bug-AGL: SPEC-4156
Change-Id: I5da2632d6eb00bbf99ddb48cef861564d2ce868d
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28203
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
16 months agolinux-agl-config: correct override syntax for virtualmachine 04/28204/2
Denys Dmytriyenko [Mon, 28 Nov 2022 20:59:47 +0000 (20:59 +0000)]
linux-agl-config: correct override syntax for virtualmachine

Commit dd6fc5dcaa0a027b7651bb365d5dd0f623498f8f as part of SPEC-4052 converted
all overrides to the new syntax, but missed the one used for "virtualmachine"

Bug-AGL: SPEC-4052
Change-Id: I1905c7e3b70b05c4ef06d8b4f240d0e144587fab
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28204
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
17 months agoPrepare Optimistic Octopus Milestone 1 77/28177/2 14.91.0 octopus/14.91.0 octopus_14.91.0
Jan-Simon Moeller [Mon, 21 Nov 2022 13:54:01 +0000 (14:54 +0100)]
Prepare Optimistic Octopus Milestone 1

Update the distro configuration.

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

17 months agometa-agl-core: systemd: Disable `BitRate` setting for `can*` network for VIRTIO. 04/28104/5
Vasyl Vavrychuk [Wed, 2 Nov 2022 08:42:45 +0000 (09:42 +0100)]
meta-agl-core: systemd: Disable `BitRate` setting for `can*` network for VIRTIO.

VIRTIO CAN [1] does not support bitrate configuration, it assumes
bitrate configuration is done on backend.

Fixes systemd-networkd failure:

    can0: Failed to set CAN interface configurations: Operation not supported

File `canbus-virtio-can.network` is copied from `canbus-can.network`
with `BitRate=` setting removed.

v2: rework patchset to use own systemd-conf-canbus package to
    avoid changes in main systemd package.

[1]: https://lists.oasis-open.org/archives/virtio-dev/202208/msg00159.html

Bug-AGL: SPEC-4597

Change-Id: Idb132203501bb99103e76098eea3bb6394b645da
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28104
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
17 months agoweston-ini-conf: add virtio-aarch64 configuration 87/28187/2
Scott Murray [Tue, 22 Nov 2022 08:32:05 +0000 (03:32 -0500)]
weston-ini-conf: add virtio-aarch64 configuration

Add a WESTON_DISPLAYS tweak for the virtio-aarch64 machine so the
demo platform image gets the required weston configuration when
built for it.

Bug-AGL: SPEC-4618

Change-Id: I90974a25d51fc3b4ad3d8e9450d98f8ae82f759a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28187
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
17 months agonative-shell-client: Add recipe 86/28186/2
Scott Murray [Tue, 22 Nov 2022 08:27:32 +0000 (03:27 -0500)]
native-shell-client: Add recipe

Add recipe for native-shell-client simple agl-shell protocol client.
It can be used for testing agl-compositor and also enables using it
in simple usecases such as displaying the output from guest VMs with
QEMU+KVM.

Bug-AGL: SPEC-4618

Change-Id: I16b7c8b703b2aa3c875b7ffd78b24021eafd3a7f
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28186
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
17 months agometa-agl-bsp: Add overrides to rcar3 BSP changes 85/28185/2
Scott Murray [Tue, 22 Nov 2022 05:49:00 +0000 (00:49 -0500)]
meta-agl-bsp: Add overrides to rcar3 BSP changes

The various configuration changes done by the include files for the
rcar3 machines in meta-agl-bsp prove problematic when using a rcar3
machine in a multiconfig configuration with different machines in
other configs.  This can potentially be avoided in the future with
a significant rework of the local.conf generation in aglsetup.sh,
but for now, too avoid issues, add rcar-gen3 or h3ulcb overrides to
the variable changes in those files.  That ensures that the changes
will only apply to the specific machine being targeted.

So far this has only been tested with the h3ulcb, it is likely that
more fixes are required for other rcar3 machines, as well as the
machines from other BSPs.

Bug-AGL: SPEC-4618

Change-Id: Ifa6735337e673a92c56d5457b97d09a5b86cc0e1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28185
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
17 months agoagl-compositor: RDEPENDS fixes 84/28184/2
Scott Murray [Tue, 22 Nov 2022 03:38:11 +0000 (22:38 -0500)]
agl-compositor: RDEPENDS fixes

Changes:
- Add the required xkeyboard-config RDEPENDS to the agl-compositor
  recipe to avoid surprises if nothing else that pulls that in is
  in an image.
- Move the agl-compositor RDEPENDS on polkit directly into the
  recipe instead of getting indirectly via a meta-oe presence
  driven addition to packagegroup-agl-graphical-weston.  This is
  more correct, avoids surprises if that packagegroup happens to
  not be used, and will work better with a binary packagefeed.
  The RDEPENDS is still conditional on the presence of "polkit" in
  DISTRO_FEATURES, which seems a reasonable alternative to using
  dynamic-layers.

Bug-AGL: SPEC-4619

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