AGL/meta-agl-demo.git
8 months ago[cef] Use bundled libwayland instead of the system lib 13/29113/2
Roger Zanoni [Wed, 9 Aug 2023 13:26:18 +0000 (15:26 +0200)]
[cef] Use bundled libwayland instead of the system lib

For the M108 chromium milestone it would be possible to use the
use_system_libwayland and system_wayland_scanner_path gn args to make
the cef recipe use system wayland and wayland-native dependencies, but
those option got deprecated[1] in newer milestones and chormium defaults
to use the bundled wayland. The more maintainable approach is to use the
third party dependency instead of patching chromium build system.

[1]: https://chromium-review.googlesource.com/c/chromium/src/+/4030440

Bug-AGL: SPEC-4871

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I7cb22fcfb1943d6765599544069a379088053a2c

8 months agoqtwayland: Clean-up and adapt inputContext() patch 66/29066/2
Marius Vlad [Wed, 26 Jul 2023 11:23:54 +0000 (14:23 +0300)]
qtwayland: Clean-up and adapt inputContext() patch

This cleans up all qtwayland patches that haven't been used in quite
some time and adapts a slightly recent patch that provided a
work-around to enable Qt debugging (using QT_LOGGING_RULES), which a
qtwayland update made it so the patch wouldn't apply anymore.

Bug-AGL: SPEC-4770
Change-Id: Ie24b4dff51500a9ab85635768045b2ee0c29bd0a
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
8 months agoUpdate certificates to include localhost and 127.0.0.1 57/29057/3
Jan-Simon Moeller [Thu, 20 Jul 2023 20:42:38 +0000 (22:42 +0200)]
Update certificates to include localhost and 127.0.0.1

This updates the certificates to have subjectAltName defined as

subjectAltName=DNS:$1,DNS:localhost,IP:127.0.0.1

It allows clients from the localhost to connect.
We're debating if we need the IP:127.0.0.1 going forward,
so this might change in the future.

Bug-AGL: SPEC-4868

Change-Id: Ic6bbf5fd55b9f6a14a84512ae8748b3f48dbc3c1
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
8 months ago[wam][cef] Fix wam user and working directory 67/29067/2
Roger Zanoni [Mon, 31 Jul 2023 08:40:07 +0000 (10:40 +0200)]
[wam][cef] Fix wam user and working directory

The WAM service needs to run with the correct user and proper working
directory set to be able to find the nssdb containing the kuksa.val
certificates.

Bug-AGL: SPEC-4868

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I22fb5281b4f331d671fba79645435e5357bbca3e

9 months ago[wam][cef] Start unsing the WebAppMgrCli wrapper 50/29050/3 15.92.0 pike/15.92.0 pike_15.92.0
Roger Zanoni [Thu, 13 Jul 2023 20:58:28 +0000 (22:58 +0200)]
[wam][cef] Start unsing the WebAppMgrCli wrapper

This enables the homescreen service to run using the regular or
the CEF backend.

Bug-AGL: SPEC-3872

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I0fe710775626aabd3823b8c316f535ac9c966b51

9 months ago[wam][cef] Make it possible to use cef as a backend 49/29049/3
Roger Zanoni [Fri, 23 Jun 2023 12:06:20 +0000 (14:06 +0200)]
[wam][cef] Make it possible to use cef as a backend

This changes enables switching between the chromium and cef backends on
wam by passing the agl-cef feature to the agl-setup script.

Bug-AGL: SPEC-3872

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: Ib5b4b139789ec8303fef0a210a7e8f2f724d0c00

9 months ago[wam][cef] Add the CEF recipe 36/29036/5
Roger Zanoni [Thu, 22 Jun 2023 07:15:24 +0000 (09:15 +0200)]
[wam][cef] Add the CEF recipe

This change makes it possible to build applications that depend on
libcef, and also adds a few changes picked from our previous
implementation that enables the applications to communicate with the
agl-compositor.

Bug-AGL: SPEC-3872

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I215138b8f5d63da84ada2f8c006f4025f0b3fafb

9 months ago[wam][cef] Add the depot-tools-wam-native recipe 35/29035/3
Roger Zanoni [Thu, 22 Jun 2023 07:10:16 +0000 (09:10 +0200)]
[wam][cef] Add the depot-tools-wam-native recipe

This is needed by the CEF recipe in order to retrieve chromium
dependencies.

Bug-AGL: SPEC-3872

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I4aa73859e3578db92cbc72945ca86c812a12376f

10 months agohomescreen: bump SRCREV for meson changes 30/29030/3
Denys Dmytriyenko [Tue, 13 Jun 2023 23:17:29 +0000 (23:17 +0000)]
homescreen: bump SRCREV for meson changes

Updated meson build script for latest changes related to pkgconfig API
changes, plus looking for wayland-scanner tool.

Bug-AGL: SPEC-4578

Change-Id: I6b3a886f1bc6dc5fbedfcb0e9492bffa71433348
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
10 months agoagl-service-audiomixer: bump SRCREV for boost>1.81 compatibility 29/29029/1
Denys Dmytriyenko [Fri, 16 Jun 2023 21:58:56 +0000 (21:58 +0000)]
agl-service-audiomixer: bump SRCREV for boost>1.81 compatibility

Bump SRCREV to pull in the fix for deprecation of string_file helper
functions in boost 1.81

Bug-AGL: SPEC-4578

Change-Id: I30c3ad4f74f1e5e86070850c1c4272be17a41043
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
10 months agoagl-service-hvac: bump SRCREV for boost>1.81 and gcc13 compatibility 28/29028/1
Denys Dmytriyenko [Fri, 16 Jun 2023 21:55:23 +0000 (21:55 +0000)]
agl-service-hvac: bump SRCREV for boost>1.81 and gcc13 compatibility

Bump SRCREV to pull in 2 latest fixes:

1. Deprecation of string_file helper functions in boost 1.81
2. Explicit inclusion of cstdint header to avoid error from gcc13

Bug-AGL: SPEC-4578

Change-Id: I9467a42e32abc633f9380414dfb25b501b88d513
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
10 months agoAdd explicit applaunchd systemd dependencies 21/29021/1 15.91.1 pike/15.91.1 pike_15.91.1
Scott Murray [Thu, 15 Jun 2023 22:08:14 +0000 (18:08 -0400)]
Add explicit applaunchd systemd dependencies

While the change to ensure polkit starts before applaunchd in
meta-app-framework should resolve the observed failures, it is also
the case that the applications here that call into the applaunchd
API did not have dependencies on it in their systemd units, so also
fix that to improve overall robustness.

Bug-AGL: SPEC-4840

Change-Id: I884b7b326309a0dbdc374a93929aa33f421c680c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
10 months agoRemove systemd user session and clean up packagegroups and images 99/28999/1 15.91.0 pike/15.91.0 pike_15.91.0
Scott Murray [Mon, 5 Jun 2023 14:08:59 +0000 (10:08 -0400)]
Remove systemd user session and clean up packagegroups and images

Remove the use of 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:
- Rework systemd units and recipes of affected applications.
- Rework images to pull in image .bb files instead of .inc files.
- Pull in the new agl-image-compositor as a base image where
  appropriate.
- Update weston-terminal-conf recipe to use new split out
  weston-terminal package.
- Use new agl-crosssdk bbclass where appropriate.
- Pull some local common cross-SDK additions into a new
  agl-ivi-crosssdk.inc include file and use as appropriate.  Note
  that this does have a side effect of likely correcting the contents
  of agl-image-ivi-crosssdk for some recent additions.
- Remove flutter-gallery bbappend that turned it into an app, as we
  are not using it in images, have other examples now, and it seems
  better to not affect the contents of agl-image-flutter.
- Remove unused agl-image-graphical-html5. If a downstream user does
  desire an image with Chromium+WAM without applications, restoring it
  can be considered.
- Remove unused agl-image-graphical-qt5-crosssdk.
- Remove all packagegroup-agl-profile-* packagegroups, as they were
  either empty or not providing value at this point.  Any future plans
  for defining profiles can start from a clean sheet.
- Added new packagegroup-agl-ivi-multimedia-hardware to hold some
  rcar3 specific additions (via override) that were previously being
  appended onto packagegroup-agl-graphical-multimedia even though
  they are machine-specific and that packagegroup is not.  This may
  be a stopgap solution if the agl-ivi-* packagegroups are reworked
  further.
- Replace some :append usage with += to avoid creating problems
  for downstream users.

Bug-AGL: SPEC-4714, SPEC-4813

Change-Id: I544b1495bed1e2e2412a8e46b7d20d7622ec28c9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
10 months agoDo not hard-code Flutter version and runtime type 83/28983/2
Scott Murray [Fri, 2 Jun 2023 14:52:32 +0000 (10:52 -0400)]
Do not hard-code Flutter version and runtime type

Rework the flutter-homescreen and flutter-cluster-dashboard systemd
units to get the Flutter version and runtime type from the environment
file installed by the new agl-flutter-env recipe, and update their
JSON configuration files to remove the hardcoding of their bundle
paths.

Bug-AGL: SPEC-4819

Change-Id: I841db2cbb3acfe4aad173e9b8aa25ff2e201c2e2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
10 months agoFlutter bbclass refactor 73/28973/3
Joel Winarske [Thu, 1 Jun 2023 01:37:12 +0000 (18:37 -0700)]
Flutter bbclass refactor

-Removes use of flutter bbclass runtime modes
 Installed modes are determined by flutter-engine package config flags.
 Default modes are debug, profile, and release.
-Single json file based on runtime=release. If additional
 parameters are needed this happens as part of workspace
 automation.

Scott Murray:
- update packagegroup-agl-demo-platform-flutter

Bug-AGL: SPEC-4819

Change-Id: I58fc1b30ea3367ec5f47f52b60951cf0be31dcbc
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
10 months agolauncher: bump SRCREV for D-Bus removal 31/28931/2
Denys Dmytriyenko [Tue, 30 May 2023 19:54:41 +0000 (19:54 +0000)]
launcher: bump SRCREV for D-Bus removal

Update to the latest version of launcher that has D-Bus references removed.

Bug-AGL: SPEC-4801

Change-Id: Ic3f8e2b705f028390102f1b89dd7cafe38ca25d0
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
10 months agoAdd KUKSA.val databroker 34/28934/3
Scott Murray [Tue, 30 May 2023 20:52:16 +0000 (16:52 -0400)]
Add KUKSA.val databroker

Add a recipe for the KUKSA.val databroker, a Rust implementation of
a VSS server with gRPC APIs, and add it to the images that currently
have the C++ kuksa-val server to ease further integration development.
Since the databroker listens for gRPC API requests on a different port
than the C++ server, there is no conflict during this period.  Users
wanting to drive CAN data into the databroker for testing will have to
manually update the kuksa-dbc-feeder configuration during this interim
period.

Changes:
- Bump common KUKSA.val SRCREV to pick up some improvements.
- Add kuksa-databroker recipe to build the databroker.
- Add kuksa-databroker-agl recipe to install AGL-specific configuration
  for the databroker, similar to what has previously been done with
  kuksa-val-agl for the C++ server.
- Add missing branch node declarations in the AGL VSS overlay, as the
  databroker VSS parser is stricter and treats their absence as an
  error.
- Add the kuksa-databroker, kuksa-databroker-agl, and the
  kuksa-databroker-cli packages to the appropriate packagegroups and
  images.  Some follow up work will factor out a packagegroup for the
  KUKSA.val packages to make future changes easier.

Bug-AGL: SPEC-4762

Change-Id: Ie7837b7e42a2283914adc913b75639fcb83029a6
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
10 months agoagl-cluster-demo-platform-flutter: always install receiver configuration 33/28933/2
Scott Murray [Tue, 30 May 2023 20:32:39 +0000 (16:32 -0400)]
agl-cluster-demo-platform-flutter: always install receiver configuration

Always install cluster-demo-config-flutter instead of tying it to the
agl-demo-preload feature, so that the receiver gets the desired display
geometry all the time.

Bug-AGL: SPEC-4815

Change-Id: I9bcdaced479781a018c0d7155aef6a06ac26b9dd
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
10 months agokuksa-val: fix vss-agl dependency for cluster images 32/28932/2
Scott Murray [Tue, 30 May 2023 19:57:12 +0000 (15:57 -0400)]
kuksa-val: fix vss-agl dependency for cluster images

Make vss-agl a runtime dependency of the kuksa-val-agl package as the
configuration in that package is what actually requires it, and remove
the previous addition to packagegroup-agl-ivi-services as it will no
longer be necessary.  This fixes the desired KUKSA.val configuration
for e.g. the Flutter cluster image.

Bug-AGL: SPEC-4761

Change-Id: I9ec93acf8e7a542acdb3e50a9cbace50e4928344
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
10 months agoEnsure all layers do pass yocto-check-layer and run-yocto-check-layer.sh scripts 76/28876/3
Jan-Simon Moeller [Thu, 11 May 2023 14:16:15 +0000 (16:16 +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-4685
Change-Id: I65cc70f657c9c56e396764699930cfa74d893364
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agowindow-management-client-grpc_git.bb: Don't inherit agl-app 07/28907/2
Marius Vlad [Fri, 19 May 2023 14:37:13 +0000 (17:37 +0300)]
window-management-client-grpc_git.bb: Don't inherit agl-app

Turns out using the agl-app would make this testing client show up in
our launcher which we don't really want as that might confuse users.

Change-Id: I5631e56a5e3045583233ce579900cb3ab7bccbb7
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
11 months agoImprovement to psplash recipe using service override 21/28921/2
Naoto Yamaguchi [Sun, 21 May 2023 05:02:50 +0000 (14:02 +0900)]
Improvement to psplash recipe using service override

Last psplash patch has some HACK implementation for
drl lease support.  It cause complex change to psplash
service file.

This patch fix this issue reusing
sandbox/ishii.hiroyuki/psplash-drm, that is worked by
ishii hiroyuki.

Bug-AGL: SPEC-4804

Change-Id: I4ae514293fbf1bc5a6cde4bcf96ff59ea8ba9b08
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoA fstab replacement method change to build container guest 05/28905/6
Naoto Yamaguchi [Thu, 18 May 2023 21:07:28 +0000 (06:07 +0900)]
A fstab replacement method change to build container guest

In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28690
review, I got a request for method change request.  Existing
method use bbappend for base files.
New method use ROOTFS_POSTPROCESS_COMMAND.

Bug-AGL: SPEC-4803

Change-Id: Ie058ef55f7dfeae5d651b46d5ff731d1a2bebc19
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoUpdate applications for VSS 3.1.1 01/28901/1
Scott Murray [Wed, 17 May 2023 14:02:41 +0000 (10:02 -0400)]
Update applications for VSS 3.1.1

Update SRCREVs in flutter-cluster-dashboard, libqtappfw, ondemandnavi,
and tbtnavi recipes to pick up vehicle signal changes for VSS 3.1.1.
This is required for working with KUKSA.val 0.3.1 and the upcoming
switch to the databroker.

Bug-AGL: SPEC-4761

Change-Id: Ic13cf7ef702bb88bfa5ca2fef496b06e135133ba
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agokuksa-val: Update to 0.3.1 89/28889/2
Scott Murray [Tue, 18 Apr 2023 20:11:47 +0000 (16:11 -0400)]
kuksa-val: Update to 0.3.1

Changes:
- Update kuksa-val to a commit that includes the 0.3.1 release and
  some other fixes past that. Our local patches have been updated.
- Rework and rename the kuksa-viss-client recipe for the upstream
  switch to kuksa-client as the name. Our local patches have been
  updated.
- Update kuksa-dbc-feeder to a commit that supports the kuksa-client
  library changes that come with 0.3.1. Our local patches have been
  updated, and a new local patch has been added to fix the token file
  configuration option behavior, this will be worked with upstream.
  Upstream changed the configuration file format, so our local one
  has also been updated to match.
- Update the parsing of the DBC feeder configuration file in the
  can-dev-helper.sh script to work with the new format.
- Update kuksa-val-agl recipe to not install AGL signals overlay
  for VSS, as that has been replaced with the use of the vss-agl
  package.
- Add installation of vss-agl to packagegroup-agl-ivi-services so
  the AGL specific signals and DBC configuration will be available.

Bug-AGL: SPEC-4761

Change-Id: I5933017a30f040a746f0a6a6eb2a3b68d1fc4bc1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agoAdd vss and vss-agl recipes 88/28888/2
Scott Murray [Fri, 12 May 2023 19:13:15 +0000 (15:13 -0400)]
Add vss and vss-agl recipes

Add recipes that use the VSS tools to generate the stock VSS 3.1.1
JSON as well as a version with the extra AGL signals and DBC
configuration for the KUKSA.val CAN feeder.  The latter has the
additional benefit of serving as a working example of using VSS
vspec overlays at build time.

Bug-AGL: SPEC-4761

Change-Id: I6358a8f0a8b64a857dc22cfbd91190ae05546cc0
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agoAdd vss-tools and required dependencies 87/28887/2
Scott Murray [Fri, 12 May 2023 19:09:57 +0000 (15:09 -0400)]
Add vss-tools and required dependencies

Add a vss-tools recipe to build the VSS specification tools,
and recipes for the python3-anytree, python3-deprecation, and
python3-graphql-core modules it requires.  The latter will be
submitted for meta-python.

Bug-AGL: SPEC-4761

Change-Id: Iffe665c0c6f168f3c37b35ce0346cad210d880c5
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agolibqtappfw: update SRCREV 61/28861/2
Scott Murray [Tue, 9 May 2023 17:07:19 +0000 (13:07 -0400)]
libqtappfw: update SRCREV

Update libqtappfw SRCREV to pick up:

d2b9c43 Bump version number
2cbbf91 mediaplayer: Improve MPD failure handling

and bump PV to 2.0.1 to match.

Bug-AGL: SPEC-4661

Change-Id: I6fd4070b7bd20bf631b7c6deb92e2955086b09e5
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agompd: Fix patch fuzz warning 60/28860/2
Scott Murray [Tue, 9 May 2023 17:02:25 +0000 (13:02 -0400)]
mpd: Fix patch fuzz warning

The one remaining patch after the kirkstone 4.0.9 upgrade is actually
also no longer required, but git was somehow managing to apply it with
fuzz.  From code inspection the result was some duplicated lines of
code that would still work.  Remove the patch to clean up the fuzz
warning and get us back to using a clean upstream.

Bug-AGL: SPEC-4768

Change-Id: Icb8b8b2fdd847c4fb81a1a7181589b5c8ccaebc0
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agoEnable ext4 image and disable wic in case of agl-container-guest-demo 28/28828/4
Naoto Yamaguchi [Sun, 7 May 2023 06:51:55 +0000 (15:51 +0900)]
Enable ext4 image and disable wic in case of agl-container-guest-demo

In case of AGL IC container integration, this method use
ext4 file system image to create guest rootfs.  It's reusing
wic tools.  In this case, the root filesystem for
container guest must be create  ext4 image.
On the other hand, the wic image build cause long build time.
It does not need in guest image build.

This patch fource enable ext4 image and  fource remove wic at
rootfs image build time.  It's aim to avoid hand operation by
each developer and reduce build time in guest image build.

Bug-AGL: SPEC-4766

Change-Id: I8ede8aecb489567a375f2842ed0942ebfa8cacd3
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoDisable rngd in container guest 21/28821/3
Naoto Yamaguchi [Sat, 6 May 2023 10:23:12 +0000 (19:23 +0900)]
Disable rngd in container guest

The rngd initialize to kernel's random number entropy pool.
Current integration run rngd in host and all guest.

This patch disable rngd in guest to avoid unnecessary
initializition. Afther this patch, rngd run in host only.

Bug-AGL: SPEC-4766

Change-Id: Ic104870d4ee0e350c552c0b6a113e14bca1f8cbe
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoOverride group setting for agl-driver 20/28820/3
Naoto Yamaguchi [Sat, 6 May 2023 10:17:09 +0000 (19:17 +0900)]
Override group setting for agl-driver

In container integration case, a common group between host
and guest shall use static groups.  AGL Demo IVI run
agl-compositor using agl-driver user and group.
The agl-driver doesn't have input group.

This patch add agl-driver to input group.

Bug-AGL: SPEC-4766

Change-Id: Ibe5cec7127f967890ddded4e45e2097d920fbfdd
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoEnable psplash in guest container using drm-lease 93/28693/2
Naoto Yamaguchi [Sun, 23 Apr 2023 11:31:49 +0000 (20:31 +0900)]
Enable psplash in guest container using drm-lease

The upstream version of psplash is supporting fb based splash screen.
On the other hand, drm lease infrastructure is not support fb.
This patch enable drm-lease support at psplash.

This work contributed by Hiroyuki Ishii at CES2023 demo development.

Bug-AGL: SPEC-4766

Change-Id: I2c58b0db489b1573ef3b7f7396203550c1fb89d6
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoOverwrite agl-compositor-init setting to become adopt guest container 91/28691/2
Naoto Yamaguchi [Sat, 22 Apr 2023 20:21:11 +0000 (05:21 +0900)]
Overwrite agl-compositor-init setting to become adopt guest container

When existing agl demo integrate to container guest, need to overwrite
agl-compositor-init setting.

- Remove real tty device dependency.
- Adjust drm lease setting from default.

This patch realize this overwrite method in case of container guest.

Bug-AGL: SPEC-4766

Change-Id: I3e7030f48fdd720c09898303a0e430654386f71c
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoOverwrite fstab to become adapted guest container environment 90/28690/2
Naoto Yamaguchi [Sat, 22 Apr 2023 08:19:03 +0000 (17:19 +0900)]
Overwrite fstab to become adapted guest container environment

When existing agl demo integrate to container guest, need to
disable many mount operations.
Existing agl demo image use loose setting by fstab.

This patch remove unnecessary mount operations from fstab
in case of container guest.

Bug-AGL: SPEC-4766

Change-Id: I9f94e36606eeccf681417ced052a974e88f1be77
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoRemove tty dependency from agl-session in guest container 89/28689/2
Naoto Yamaguchi [Sat, 22 Apr 2023 08:15:35 +0000 (17:15 +0900)]
Remove tty dependency from agl-session in guest container

When existing agl demo integrate to container guest, need
to remove real tty device dependency.

This patch remove tty device dependency from agl-session
in case of container guest.

Bug-AGL: SPEC-4766

Change-Id: I5fc88d19554b659271a74858fb588a9aaa9b13f6
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoCreate new agl feature to use container guest integration 88/28688/2
Naoto Yamaguchi [Thu, 20 Apr 2023 23:07:11 +0000 (08:07 +0900)]
Create new agl feature to use container guest integration

When existing agl demo integrate to container guest,
it require to some small patches.

This patch add new agl feature "agl-container-guest-demo"
to enable container guest integration.  Those patch will
enable/disable using this agl feature.

Bug-AGL: SPEC-4766

Change-Id: I001f20385aaf7e53b0b1e79db25b83fcf46e9876
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agowindow-management-client-grpc/window-management: Bump SRCREV 08/28808/3
Marius Vlad [Fri, 5 May 2023 09:23:48 +0000 (12:23 +0300)]
window-management-client-grpc/window-management: Bump SRCREV

Update window-management-client-grpc to include support for
setting application on different outputs.

Change-Id: Ibf21121c40758648a45ff5c82ed73828bfaaf7e3
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
11 months agorecipes-demo/homescreen/homescreen_git: Bump homescreen SRCREV 07/28807/3
Marius Vlad [Fri, 5 May 2023 09:20:33 +0000 (12:20 +0300)]
recipes-demo/homescreen/homescreen_git: Bump homescreen SRCREV

In order to catch up the compositor changes, specifically, to get
support for placing window's application on different outputs.

In more detail the following changes have been added:

c9ae3bc5a1 homescreenhandler: Handle dynamic movement of windows
74b01c7210 homescreenhandler: Add support for starting apps on different outputs

Bug-AGL: SPEC-4529, SPEC-4673
Change-Id: I09e488ce42bdb3550a03e80c1666075c97634585
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
11 months agorecipes-graphics/wayland/weston-ini-conf: Remove grcp-server.cfg 37/28737/2
Marius Vlad [Sat, 29 Apr 2023 13:32:05 +0000 (16:32 +0300)]
recipes-graphics/wayland/weston-ini-conf: Remove grcp-server.cfg

And add it meta-agl/mega-agl-core, like all our other ini configuration.
Reason being we group all our ini config files there, and this is
harmless, it won't depend on anything. We already build grpc-proxy
PACKAGECONFIG for agl-demo, starting with octopus.

This is basically a revert of 1b347d8823,
'[weston-ini-conf] Fix dependency issue with grpc in meta-agl-core'

Bug-AGL: SPEC-4776
Change-Id: I2502a3828d7c3a71707fac7cc535df6c312eabc5
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Scott Murray <scott.murray@konsulko.com>
11 months agorecipes-platform/images/agl-ivi-demo-platform-crosssdk: Remove waltham-dev 10/28810/3
Marius Vlad [Fri, 5 May 2023 09:33:00 +0000 (12:33 +0300)]
recipes-platform/images/agl-ivi-demo-platform-crosssdk: Remove waltham-dev

We'd need this as meta-agl has dropped Waltham support.

Bug-AGL: SPEC-4669
Change-Id: I09762ca5b60295b19c71d91ffa1375af7d9f6513
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
11 months agoAdd templates for gitlab issues and merge requests 17/28717/2
Jan-Simon Möller [Thu, 27 Apr 2023 16:45:22 +0000 (18:45 +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
Change-Id: I224e8a09895994405aa587a8ce2c519a91b38edf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
12 months agoqtwayland: disable local patch that breaks version 5.15.7 22/28722/2
Denys Dmytriyenko [Thu, 27 Apr 2023 17:53:41 +0000 (17:53 +0000)]
qtwayland: disable local patch that breaks version 5.15.7

Latest meta-qt5 brings qtwayland version 5.15.7 and this causes our local
patch for client/qwaylandintegration to break the build, as the method it
uses no longer exists, it appears:

| .../tmp/work/aarch64-agl-linux/qtwayland/5.15.7+gitAUTOINC+533fff12f7-r0/git/src/client/qwaylandintegration.cpp: In member function 'void QtWaylandClient::QWaylandIntegration::reconfigureInputContext()':
| .../tmp/work/aarch64-agl-linux/qtwayland/5.15.7+gitAUTOINC+533fff12f7-r0/git/src/client/qwaylandintegration.cpp:482:19: error: 'class QtWaylandClient::QWaylandDisplay' has no member named 'mUsingInputContextFromCompositor'
|   482 |     if (mDisplay->mUsingInputContextFromCompositor)
|       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Disable local patch for now with the plan to re-evaluate it per SPEC-4770

Bug-AGL: SPEC-4768

Change-Id: I27894536d49392589c58a3c46e4b1e015c7324fb
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
12 months agompd: remove patches that were upstreamed 21/28721/2
Denys Dmytriyenko [Thu, 27 Apr 2023 17:51:07 +0000 (17:51 +0000)]
mpd: remove patches that were upstreamed

Latest meta-openembedded/meta-multimedia updates mpd to newer version
which has these 3 patches already included, remove them locally.

Bug-AGL: SPEC-4768

Change-Id: Ifbb07c01f8f5cbc75935b005da473bdce3139ff0
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
12 months agokuksa-certificates-agl: Update certificates 04/28704/3
Scott Murray [Mon, 24 Apr 2023 22:40:40 +0000 (18:40 -0400)]
kuksa-certificates-agl: Update certificates

Update the server and client certificates with ones with a 2 year
validity period, per the discussion on last week's developer call.

Bug-AGL: SPEC-4763

Change-Id: Ib326631243cd267cc6542fdfc769cc5a3d6b67fe
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12 months agokuksa-val: Rework to support updated SSL certificates 03/28703/3
Scott Murray [Mon, 24 Apr 2023 22:01:29 +0000 (18:01 -0400)]
kuksa-val: Rework to support updated SSL certificates

Changes:
- Tweak the kuksa-val recipe to remove installing a newer server
  certificate (since it will be done elsewhere), and to split the
  certificates up into finer grained packages to ease installing
  them piecemeal and replacing them with other packages.
- Remove the unused genCerts.sh certificate script patch form the
  kuksa-val recipe, an updated patch will be added in the near
  future.
- Added a patch in the kuksa-viss-client recipe that enables the
  library to use certificates installed in /etc/kuksa-certificates or
  /etc/kuksa-val instead of the default ones that are shipped.
- Add kuksa-certificates-agl recipe that installs AGL specific CA,
  server, and client certificates plus the required server and client
  keys to act as a replacement for the default ones shipped with
  KUKSA.val.  The kuksa-certificates-agl name is used to avoid needing
  a rename with a future switch to kuksa-databroker.  Note that the
  RPROVIDES variable is used for the various certificate packages to
  make them installable alternatives to the kuksa-val-certificates-*
  ones.  The certificates installed are valid for 1 year and have
  AGL as the providing organization, longer validity ones will be
  added in follow up commits for Octopus and Pike.
- Update the existing users of kuksa-val-*-certificates with the new
  kuksa-val-certificates-* package names.
- Add PREFERRED_RPROVIDER definitions for the kuksa-val-certificates-*
  packages to quiet the BitBake warnings coming from having multiple
  providers.

Bug-AGL: SPEC-4763

Change-Id: Ic6f1ca8b54f637674cd5ae42df0bed6ca4e729aa
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12 months agoAdd cluster-receiver to Flutter cluster demo 13/28713/2
Scott Murray [Tue, 25 Apr 2023 18:39:44 +0000 (14:39 -0400)]
Add cluster-receiver to Flutter cluster demo

Add cluster receiver to Flutter cluster demo image to match the CES
demo.  This change was missed in the forward port from Needlefish
branch after CES.

Bug-AGL: SPEC-4769

Change-Id: Id22a5d3e761ac0169942a04fdcac7148f3789d42
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12 months agohtml-homescreen: bump SRVREV 84/28684/2
Roger Zanoni [Thu, 20 Apr 2023 07:25:57 +0000 (09:25 +0200)]
html-homescreen: bump SRVREV

Includes a fix to application listing/starting after
the change to gRPC API.

Bug-AGL: SPEC-4764
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I76b9074e12c662bda4b87c2869ceb8a51188c064

12 months agohtml5-launcher: Bump SRCREV 83/28683/2
Roger Zanoni [Thu, 20 Apr 2023 07:25:37 +0000 (09:25 +0200)]
html5-launcher: Bump SRCREV

Includes a fix to application listing/starting after
the change to gRPC API.

Bug-AGL: SPEC-4764
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I6062afa817d6b2435e03a1b1ede756a6cd7554b4

12 months agochromium: Bump SRCREV 82/28682/2
Roger Zanoni [Thu, 20 Apr 2023 07:25:13 +0000 (09:25 +0200)]
chromium: Bump SRCREV

This includes changes for restoring gRPC third_party code and
replacing the dbus API for gRPC to communicate with applaunchd.

Bug-AGL:â‹…SPEC-4764
Signed-off-by:â‹…Rogerâ‹…Zanoniâ‹…<rzanoni@igalia.com>
Change-Id: I1a5354a3faa4cec567dd06361dc089de3249128f

12 months agoAdd helper to enable both displays in qemu 86/28686/1
Jan-Simon Moeller [Thu, 20 Apr 2023 21:33:56 +0000 (23:33 +0200)]
Add helper to enable both displays in qemu

This supports testing the drm-leasemanager in qemu.

We can bring up two outputs, but the 2nd output is disabled until it is connected.
See https://jira.automotivelinux.org/browse/SPEC-4464
and
https://gitlab.com/qemu-project/qemu/-/issues/1107

This adds a helper tool that will bring up the 2nd screen.

Bug-AGL: SPEC-4464
Change-Id: I145a1b947916337daa9c8e7aed38e64919b35df8
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
12 months agoCleanup of packagegroup-hmi-framework 85/28685/1
Jan-Simon Moeller [Thu, 20 Apr 2023 21:24:35 +0000 (23:24 +0200)]
Cleanup of packagegroup-hmi-framework

Remove unused parts.

Change-Id: Ibb89fd650d8c395208a15a52e1a1e62bf79fed0f
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
12 months agoFix building agl-kvm-demo-platform for h3ulcb-kf 56/28656/1
Scott Murray [Tue, 18 Apr 2023 22:20:12 +0000 (18:20 -0400)]
Fix building agl-kvm-demo-platform for h3ulcb-kf

Changes:
- Add masking the meta-rcar-gen3-adas layer to the KVM guest
  multiconfig to avoid picking up the dangling bbappends in
  meta-agl-bsp when building the guests.
- Remove the MACHINE_SUFFIX logic from the guest image copying in
  the agl-kvm-demo-platform recipe; it is a leftover from the
  original logic used in the IC EG container host images, and is
  unneeded here since the host and guests will be different
  MACHINEs (and the guest realistically cannot use the -kf
  machines).

Bug-AGL: SPEC-4760

Change-Id: If3237ca4d9fc86fc9d289a95bda24a4afcc7a991
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12 months agocluster-receiver: Bump SRCREV 26/28626/4
Marius Vlad [Thu, 6 Apr 2023 12:55:12 +0000 (15:55 +0300)]
cluster-receiver: Bump SRCREV

As to include the cluster-receiver protocol update to allowing
building agl-cluster-demo-platform.

Change-Id: I88403976ec1a40d3b01049343fd4cfdf36876415
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
12 months agoagl-service-audiomixer: Update SRCREV 17/28617/1
Jan-Simon Moeller [Mon, 3 Apr 2023 15:20:08 +0000 (17:20 +0200)]
agl-service-audiomixer: Update SRCREV

Update to include the compilation fix.

Bug-AGL: SPEC-4732
Change-Id: I283a7a495c5356418f006932bbd1f0e1b3bdc5d4
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
12 months agoRework nss-agl-driver-db to be a systemd unit at runtime 91/28591/1
Jan-Simon Moeller [Fri, 31 Mar 2023 13:36:25 +0000 (15:36 +0200)]
Rework nss-agl-driver-db to be a systemd unit at runtime

This avoids the issues seen with access rights changes on /home/agl-driver
and will replace https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/28587

Bug-AGL: SPEC-4599
Change-Id: If01ffc9623208edd7a7705739465fa8fca764b74
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
13 months agoFix for user and group of /home/agl-driver 87/28587/1
Jan-Simon Moeller [Wed, 29 Mar 2023 20:17:45 +0000 (22:17 +0200)]
Fix for user and group of /home/agl-driver

The private nssdb introduced wrong access rights for /home/agl-driver through the package.

Fix it till we have it reworked.

Bug-AGL: SPEC-4599
Change-Id: I665b51f8473f64785c64c55359b5e0e702050e9a
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
13 months agohtml5 demos: Bump SRCREV for hvac and mixer apps 72/28372/3
Roger Zanoni [Sun, 25 Dec 2022 22:30:33 +0000 (23:30 +0100)]
html5 demos: Bump SRCREV for hvac and mixer apps

Adapted the demos to use kuksa.val

Bug-AGL: SPEC-4599
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: I32a9cca7b6289d468c14ee501574358ecc8d6680

13 months agokuksa-val: Add root CA certificate to agl-driver nssdb 70/28470/9
Roger Zanoni [Mon, 13 Feb 2023 20:29:09 +0000 (21:29 +0100)]
kuksa-val: Add root CA certificate to agl-driver nssdb

This change is needed by chromium to fix the ERR_CERT_AUTHORITY_INVALID
issued when trying to connect to kuksa.val server using a secure
connection.

chromium is shipped with a read-only database containing trusted
CA certs and also uses a local nss database (stored on the user home
directory) that can be managed by the nss command line tools.

This change adds the kuksa root CA to agl-driver's nssdb
that can be loaded by chromium and used to perform validation.

v2 (jsmoeller): Use separate package for pki db in agl-driver home.

Bug-AGL: SPEC-4599
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I074d48fedfadaddd9a894b478839e16fa4757b5e

13 months agonss: Create a nss database for agl-driver user 18/28518/7
Roger Zanoni [Tue, 21 Feb 2023 11:35:40 +0000 (12:35 +0100)]
nss: Create a nss database for agl-driver user

The change creates an empty db and allows other recipes
to add their own certificates when needed.

It will be needed by kuksa-val recipe for adding its root
CA certificate that will fix CA validation issues that are
happening on chromium.

v2 (jsmoeller): convert to own recipe to avoid modifying nss itself

Bug-AGL: SPEC-4599
Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I5a5e4ff24cb640580cff4c609ee6293acae64487

13 months agohomescreen_git: Bump SRCREV to support 0.0.21 AGL compositor version 66/28566/2
Marius Vlad [Wed, 8 Mar 2023 13:29:34 +0000 (15:29 +0200)]
homescreen_git: Bump SRCREV to support 0.0.21 AGL compositor version

This SRCREV bump update is required to add support for the 0.0.21 AGL
compositor version. With it, we change the default homescreen with
multiple surfaces to just using a single background surface and
explicitly set an activation area.

In more detail the following changes have been added:

444b2a68a homescreen: Only keep the multiple surfaces approach in CI
4c7852e6f homescreenhandler: Avoid using a stale wl_output
7ff53ae1b meson.build: Bump to the latest agl-compositor version
bb4c83e29 homescreen: Add support for defining an activation area

Change-Id: I23dfa8c8304b0493f29f38c2afb4a4837980a357
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
13 months agoAdd window-management-client-grpc 60/28560/3
Marius Vlad [Fri, 3 Mar 2023 11:13:59 +0000 (13:13 +0200)]
Add window-management-client-grpc

This adds a recipe for window-management-client-grpc for testing out the
gRPC interface. This client will talk with the compositor indirectly,
using the gRPC interface exposed by the grpc-proxy helper client.

Bug-AGL: SPEC-4673
Change-Id: Ib1a9d14a3bd41ea64180494962f97f0d5b557c09
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
13 months agoconf/layer.conf: explicitly depend on networking-layer 62/28562/2
Denys Dmytriyenko [Mon, 6 Mar 2023 21:16:56 +0000 (21:16 +0000)]
conf/layer.conf: explicitly depend on networking-layer

As meta-agl-demo now explicitly depends on meta-flutter layer, it appears
it uses networkmanager package in some of its plugins w/o marking the correct
dependency in its own layer.conf.

Also, cannelloni is no longer a standalone recipe, but a bbappend against
the upstream recipe in meta-networking layer of meta-openembedded repository.

To resolve both of the above issues and make yocto-check-layer happy, let's
add an explicit dependency on networking-layer.

Bug-AGL: SPEC-4685
Change-Id: Ib6781f63bd1f76ccbf2fcd649473bf59407bb7ef
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
13 months agoagl-ivi-demo-platform-crosssdk: Add grpc-dev for crossdk 71/28571/1
Marius Vlad [Wed, 15 Mar 2023 09:37:30 +0000 (11:37 +0200)]
agl-ivi-demo-platform-crosssdk: Add grpc-dev for crossdk

This enables the SDK to build off applications, or services that make
use of gRPC.

Bug-AGL: SPEC-4721
Change-Id: I8f770580efd09dc1a50de839a8cc5126887303c3
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
13 months agokuksa-val: Add patch to fix intermittent build failures 47/28547/1
Scott Murray [Wed, 1 Mar 2023 22:00:49 +0000 (17:00 -0500)]
kuksa-val: Add patch to fix intermittent build failures

Add a patch to KUKSA.val to add a missing dependency in its CMake
files to hopefully fix a build race that is seen on the AGL CI
builders.

Bug-AGL: SPEC-4717

Change-Id: I74f71236729e60ad0601fb1244b50279b2fc43e7
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
13 months agoconf/layer.conf: explicitly depend on meta-flutter layer 36/28536/2
Denys Dmytriyenko [Tue, 28 Feb 2023 02:08:33 +0000 (02:08 +0000)]
conf/layer.conf: explicitly depend on meta-flutter layer

As meta-agl-demo contains multiple recipes for flutter apps that inherit
flutter-app.bbclass, as well as packagegroups and images, that do not
check for "agl-flutter" condition in AGL_FEATURES. Hence mark the layer
as explicitly depending on meta-flutter.

Bug-AGL: SPEC-4716
Change-Id: I4d64ae47ab437d7f191ba5689b569fab8c7d3724
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
14 months agoREADME: add generic maintenance section copied from meta-agl-core 35/28535/1
Denys Dmytriyenko [Tue, 28 Feb 2023 01:35:09 +0000 (01:35 +0000)]
README: add generic maintenance section copied from meta-agl-core

Yocto Project compatibility requires README to specify who is the layer
maintainer and how to contribute to the layer. Otherwise yocto-check-layer
fails:

INFO: test_readme (common.CommonCheckLayer)
INFO:  ... FAIL
AssertionError: 'maintainer' not found in 'README'
AssertionError: 'patch' not found in 'README'

Bug-AGL: SPEC-4685
Change-Id: I0ca1feba1b2d56e1780c6e05c92a2b27792f6cb0
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
14 months agocannelloni: convert to bbappend and make it conditional 34/28534/1
Denys Dmytriyenko [Tue, 28 Feb 2023 01:34:58 +0000 (01:34 +0000)]
cannelloni: convert to bbappend and make it conditional

cannelloni_git.bb was added to meta-agl-demo in 2020. And meta-networking
later added cannelloni_1.0.0.bb in 2021. Comparing the 2, it seems they are
mostly identical, but point to different SRCREVs, resulting in the following
error from yocto-check-layer:

INFO: test_signatures (common.CommonCheckLayer)
INFO:  ... FAIL
AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed

Convert the recipe to bbappend and adjust SRCREV and PV conditionaly based on
"agldemo" AGL_FEATURES flag.

Bug-AGL: SPEC-4685
Change-Id: Ic7e53c9093d0936599f6205ef95a3a824c721bcc
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
14 months agopackagegroup-qt5-toolchain-target: make bbappend changes conditional 33/28533/1
Denys Dmytriyenko [Tue, 28 Feb 2023 01:34:49 +0000 (01:34 +0000)]
packagegroup-qt5-toolchain-target: make bbappend changes conditional

Make bbappend changing RDEPENDS variables conditional on "agldemo"
AGL_FEATURES flag. This resolved yocto-check-layer errors:

INFO: test_signatures (common.CommonCheckLayer)
INFO:  ... FAIL
AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed

Bug-AGL: SPEC-4685
Change-Id: If4953d684455b6f2ab5edbb3a33b5cf7775d1587
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
14 months agopython3-cantools: make bbappend changes conditional 32/28532/1
Denys Dmytriyenko [Tue, 28 Feb 2023 01:34:07 +0000 (01:34 +0000)]
python3-cantools: make bbappend changes conditional

Make bbappend changing RDEPENDS variable conditional on "agldemo"
AGL_FEATURES flag. This resolved yocto-check-layer errors:

INFO: test_signatures (common.CommonCheckLayer)
INFO:  ... FAIL
AssertionError: Adding layer meta-agl-demo changed signatures, basehash changed

Bug-AGL: SPEC-4685
Change-Id: I617a09bfaccdd0e69e064bec4ea749e08f2e1d74
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
14 months agompd: Backport PipeWire output fixes 16/28516/1
Scott Murray [Sun, 19 Feb 2023 22:50:17 +0000 (17:50 -0500)]
mpd: Backport PipeWire output fixes

Backport four PipeWire output plugin fixes related to handling very
short audio files.  They fix MPD hanging in the Drain call of the
plugin when playing very short files like truncated ones attached
to SPEC-4661.  These patches can be removed when MPD is upgraded to
0.23.8 or newer.

Bug-AGL: SPEC-4661

Change-Id: I42b5dd4c08863c7209a75f6ede777402a11cfc87
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months ago[weston-ini-conf] Fix dependency issue with grpc in meta-agl-core 11/28511/2
Jan-Simon Moeller [Thu, 16 Feb 2023 13:30:40 +0000 (14:30 +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: Id7c1d88e94fa03b7933678789aef7ed4e5751148
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agoFix dependency issue with grpc in meta-agl-core 08/28508/3
Jan-Simon Moeller [Thu, 16 Feb 2023 11:37:24 +0000 (12:37 +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 like in here.

Bug-AGL: SPEC-4707
Change-Id: I9b28588562487681b227032967855f96dc0c9193
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
14 months agoAdd example IC EG container demo image 01/28501/1
Scott Murray [Tue, 14 Feb 2023 00:48:05 +0000 (19:48 -0500)]
Add example IC EG container demo image

Changes:
- Add a meta-agl-ic-container dynamic layer hierarchy to hold
  metadata dependent on the agl-ic-container feature.
- Add configuration to allow building the agl-demo-platform image
  as a guest container with agl-ic-container.
- Add a agl-lxc-demo-platform image that uses agl-demo-platform as
  the IVI guest container.

NOTE: While this image boots, further integration of IC EG work is
required to actually successfully boot the agl-demo-platform guest.

Bug-AGL: SPEC-4703

Change-Id: I60a46b6ae3c950c4aa25554639d7828462745bfa
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoagl-demo: Use new AGL_META_QT5 hook 00/28500/1
Scott Murray [Tue, 14 Feb 2023 00:46:47 +0000 (19:46 -0500)]
agl-demo: Use new AGL_META_QT5 hook

Update agl-demo template to use new AGL_META_QT5 variable instead of
explicitly adding meta-qt5 to BBLAYERS.  This should avoid duplicate
layer issues when combining with agl-ic-container.

Bug-AGL: SPEC-4703

Change-Id: I813ff1e0c43372d3fc5bdc54973ee34e57f48fba
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agopackagegroup-agl-demo: remove sllin driver 99/28499/1
Scott Murray [Mon, 13 Feb 2023 23:58:48 +0000 (18:58 -0500)]
packagegroup-agl-demo: remove sllin driver

Remove the sllin driver from the default demo packagegroup as we
no longer use it, and it fails to compile against linux-dummy when
building for IC EG guest containers.  A separate follow up change
will finally remove the sllin driver and lin-config recipes.

Bug-AGL: SPEC-4703

Change-Id: I77b4508975993e32f3dd245b1c133aa703e0b349
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoqtlocation: remove bbappend 98/28498/1
Scott Murray [Mon, 13 Feb 2023 23:57:27 +0000 (18:57 -0500)]
qtlocation: remove bbappend

The qtlocation bbappend has been moved to meta-agl-core to avoid
collisions when combining with meta-agl-ic-container.

Bug-AGL: SPEC-4703

Change-Id: I3999ed49707de909e424ab7ecc93bda605d7e5ef
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoUpdate radio support in demo application 35/28435/2 14.94.0 octopus/14.94.0 octopus_14.94.0
Scott Murray [Thu, 19 Jan 2023 02:01:26 +0000 (21:01 -0500)]
Update radio support in demo application

Update libqtappfw SRCREV to pick up:

9a7e2c5 Rework radio support for new gRPC API
888eca5 vehicle-signals: Increase double value precision

and radio SRCREV to pick up:

aef392d Update radio wrapper name

Bug-AGL: SPEC-4665, SPEC-4662

Change-Id: I8478ec61d35b9ef0d45a6dff2bc9e7a3e7f8fe1b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoRestore agl-service-radio recipe 34/28434/2
Scott Murray [Thu, 19 Jan 2023 01:59:20 +0000 (20:59 -0500)]
Restore agl-service-radio recipe

Add an update recipe for agl-service-radio to build the reworked
gRPC service daemon, and add it back as a dependency in
packagegroup-agl-ivi-services so it will be installed into the
demo IVI images.

Bug-AGL: SPEC-4665

Change-Id: I9239a1e1476687e4c41367dbdfc6051c56b88c48
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoagl-kvm-demo-platform: update guests 33/28433/2
Scott Murray [Tue, 17 Jan 2023 17:35:21 +0000 (12:35 -0500)]
agl-kvm-demo-platform: update guests

Switch default guest images to Flutter based demo platform images.
As well, the simple-can-simulator is added to the host to allow
testing or demos.

Bug-AGL: SPEC-4618

Change-Id: I2c57ca0ade168c2c3dfae8718e891f9af40e4d88
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 8b0fed47d196a938b44784d1fc8eaa25c36f84ca)

14 months agoRun agl-compositor in system scope for QEMU+KVM demo image 32/28432/2
Scott Murray [Thu, 19 Jan 2023 01:47:11 +0000 (20:47 -0500)]
Run agl-compositor in system scope for QEMU+KVM demo image

To allow usefully depending on the native-shell-client "homescreen"
application from the systemd units running QEMU, tweak things to
drop the use of agl-session from the agl-kvm-demo-platform host
image.  The motivation for this is to have the VM guest start up
ordering work as expected, avoiding unnecessary delays from race
failures on boot.

Changes:
- Rework agl-kvm template to use conf/include/agl-kvm.inc include
  file to match other featurs and simplify development.
- Add include files for the host ("default" in BitBake) and guest
  (so agl-kvm-guest) multiconfigs to allow disabling the agl-demo
  feature in the host build, which disables agl-session.
- Update native-shell-client systemd unit to run at system scope
  and depend upon agl-compositor directly.
- Update agl-qemu-runner systemd template unit to depend directly
  on native-shell-client.

Note that a consequence of these changes is that building images
other than agl-kvm-demo-platform when the "agl-kvm" feature is used
will likely not yield the desired results.  Future work will
investigate avoiding this problem, or forcing explicit compatibility
errors to avoid user confusion.

Bug-AGL: SPEC-4618

Change-Id: I295caf2969c5f4179c93f1b57afa703f1a866457
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 94ee287730b16820003aece648e790923a9a5b79)

14 months agoMake cluster dashboard KUKSA.val server configurable 31/28431/2
Scott Murray [Thu, 19 Jan 2023 01:40:31 +0000 (20:40 -0500)]
Make cluster dashboard KUKSA.val server configurable

Add CLUSTER_DEMO_VISS_HOSTNAME variables to the cluster-dashboard
and flutter-cluster-dashboard recipes and tweak the installed
configuration files to use the address it specifies.  This provides
a hook for tweaking the configuration for e.g. running in the guest
VMs in the QEMU+KVM demo.  This may need to be tweaked down the
road to use something like multiple packages + the alternatives
mechanism instead.

Bug-AGL: SPEC-4618

Change-Id: I3798987566d681eac59e8c4b9c1f2423d950b2ba
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 5109016c566a4a46e4a85f2c7b9dfcd6b8540233)

14 months agoUpdate guest input and CAN configuration for QEMU+KVM demo 30/28430/2
Scott Murray [Thu, 19 Jan 2023 01:08:56 +0000 (20:08 -0500)]
Update guest input and CAN configuration for QEMU+KVM demo

Changes:
- Tweak agl-qemu-runner to make CAN options configurable.
- Update the IVI guest image agl-qemu-runner configurations to
  enable an emulated PCI CAN device mapped to the host can0.
- Update the IVI guest image agl-qemu-runner configurations to
  change the input device to a USB passthrough corresponding to
  the bottom USB 2.0 connector of the 2x stack on the reference
  hardware, so that a USB touchscreen can be used for demos.

Bug-AGL: SPEC-4618

Change-Id: I6b690377f5fe0a481e283d7370cbb165478ee8eb
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 0eb0e7ad872bc03cbc8af5c95bfe0219ebf06bfd)

14 months agoRework guest network configuration for QEMU+KVM demo 29/28429/2
Scott Murray [Thu, 19 Jan 2023 00:56:24 +0000 (19:56 -0500)]
Rework guest network configuration for QEMU+KVM demo

Changes:
- Tweak agl-qemu-runner to make network options configurable.
- Add qemu-config-vmnet0 recipe that installs the required
  configuration files to set up a vmnet0 bridge device for QEMU to
  add the guests to, and to run dnsmasq against it to provide set
  IPs (in 172.16.10.0/8) to known MAC addresses that can be used to
  get the IVI and IC guests at stable IP addresses.
- As part of the above, disable connman DNS proxying to avoid
  conflicting with dnsmasq.  This does mean this package should
  only be used for simple host images where applications can live
  with less dynamic DNS configuration behavior.
- Update the various guest configuration files for agl-qemu-runner
  to set the new QEMU_NET_OPT variable as required.

Bug-AGL: SPEC-4618

Change-Id: I81d2ea9f0605a8bca7ac17d6e8f33c0b1a9f2c46
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 0219e6547b627f45936599fa54e02cad27dee4f4)

14 months agorng-tools: disable jitter entropy generation in VMs 28/28428/2
Scott Murray [Mon, 16 Jan 2023 23:14:47 +0000 (18:14 -0500)]
rng-tools: disable jitter entropy generation in VMs

Add a bbappend for rng-tools that disables jitter entropy generation
for virtio-all machines, as it provides little value in virtual
machines that are dependent on the host entropy anyways, and slows
their booting very significantly.

Bug-AGL: SPEC-4618

Change-Id: Ia61917253b69f37b003c617d4203c823dd51bb6c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit ebeba2f0667d7195597d9131a12d880d503a399a)

14 months agolinux: update virtio-aarch64 kernel configuration 27/28427/2
Scott Murray [Mon, 16 Jan 2023 23:12:07 +0000 (18:12 -0500)]
linux: update virtio-aarch64 kernel configuration

Update virtio-aarch64 kernel configuration for QEMU+KVM demo to
turn on some CAN and USB device support to allow using some
emulated and passthrough devices where there is currently not a
workable virtio backend solution.

Bug-AGL: SPEC-4618

Change-Id: I9e574f54d1696d5b45e7f04b4d51002eafac5f04
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit e511c8eca18ed0d4895c8e150c8670be45fb608a)

14 months agokuksa_vss_init: update some signal names 26/28426/2
Scott Murray [Mon, 16 Jan 2023 23:07:22 +0000 (18:07 -0500)]
kuksa_vss_init: update some signal names

Update some signal names that were missed in previous VSS 3.0
updates.

Bug-AGL: SPEC-4664

Change-Id: I2352eb67ec5a87701c184b7d112e8a0e41a71c11
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
(cherry picked from commit 559c654fb03a8f7530f291066122fe33a6b99449)

14 months agotbtnavi: Update SRCREV 25/28425/2
Scott Murray [Mon, 2 Jan 2023 20:33:36 +0000 (15:33 -0500)]
tbtnavi: Update SRCREV

Update SRCREV to pick up:

f923df9 Update engine speed signal

Bug-AGL: SPEC-4664

Change-Id: Ie6d2b101ba8e637af4ccef81024a269639796103
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoflutter-hvac: Update SRCREV 24/28424/2
Scott Murray [Sun, 1 Jan 2023 21:37:14 +0000 (16:37 -0500)]
flutter-hvac: Update SRCREV

Update SRCREV to pick up:

20d76f9 Spelling fixes
fe23ca5 Rework temperature controls

Bug-AGL: SPEC-4642, SPEC-4644

Change-Id: Ia958a52ca75d450f51c93344683c0bacec8f6288
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoflutter-cluster-dashboard: Update SRCREV 23/28423/2
Scott Murray [Sun, 1 Jan 2023 21:34:13 +0000 (16:34 -0500)]
flutter-cluster-dashboard: Update SRCREV

Update SRCREV to pick up:

be4da31 VSS signal fixes
a0da726 UI tweaks

Bug-AGL: SPEC-4653

Change-Id: Ie93d9a5121f83091be6f829b21953de1946c5203
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoflutter-dashboard: Update SRCREV 22/28422/2
Scott Murray [Sun, 1 Jan 2023 21:31:37 +0000 (16:31 -0500)]
flutter-dashboard: Update SRCREV

Update SRCREV to pick up:

adc3fca UI Tweak
9ba227f Rework Riverpod provider usage
7e9b0b7 Layout simplifications and tweaks

Bug-AGL: SPEC-4660

Change-Id: I74f3390d5e88e7c002a55ac0bd82f4273dfe3911
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
14 months agoflutter-homescreen: Update SRCREV 21/28421/2
Scott Murray [Sun, 1 Jan 2023 21:28:35 +0000 (16:28 -0500)]
flutter-homescreen: Update SRCREV

Update SRCREV to pick up:

5ce59ba UI Fixes
3caff56 Improve app listing
4fbd3fd Add volume control to bottom panel

As well, add installation of a now required configuration .yaml file
to enable the KUKSA.val usage added by 8528b5b.

Bug-AGL: SPEC-4615, SPEC-4659

Change-Id: I38ac698472acd169e9f6c8e4becf28a98e37ad42
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agochromium: Do the activation explicitly 73/28373/5
Roger Zanoni [Sun, 25 Dec 2022 22:35:24 +0000 (23:35 +0100)]
chromium: Do the activation explicitly

Now chromium should use changes from the agl-shell v3 protocol to track
app state changes and activate the applications instead of letting the
compositor handle it.

This change disables default activation by the compositor and lets
chromium handle application activation.

Depends on https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28371
that adds the new config file with landscape orientation and
disabled default activation.

Bug-AGL: SPEC-4647, SPEC-4528

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: Ifbcb447b153408db01f592818288efbd5c940f67

15 months agochromium: bump SRCREV 74/28374/2
Roger Zanoni [Tue, 10 Jan 2023 13:52:32 +0000 (14:52 +0100)]
chromium: bump SRCREV

This includes chromium changes to use the added functionality of
agl-shell protocol versions 2 and 3

Bug-AGL: SPEC-4649, SPEC-4647

Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
Change-Id: Ia12df48cbb715fca998f2a64d13a9b9791abca89

15 months agoconnman-glib: Update SRCREV 86/28386/2 14.93.0 octopus/14.93.0 octopus_14.93.0
Marius Vlad [Sun, 1 Jan 2023 21:40:11 +0000 (16:40 -0500)]
connman-glib: Update SRCREV

Update SRCREV to pick up:

86ecfa1 Fix error handling

Bug-AGL: SPEC-4623

Change-Id: Ie53ded257f66d2c3866660239961d55669506049
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
15 months agoflutter-cluster-dashboard: remove warning 92/28292/2
Scott Murray [Tue, 20 Dec 2022 19:31:29 +0000 (14:31 -0500)]
flutter-cluster-dashboard: remove warning

Since the navigation support in the Flutter cluster dashboard is
somewhat optional if we're using the navigation streaming, and it
likely needs further development to be usable, remove the warning
about supplying a MapBox API key to avoid unnecessary confusion.

Bug-AGL: SPEC-4640

Change-Id: I0b34cb3b52c06cad09a447fd8b86b8f5eb4f846b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoRework cluster demo configuration 93/28293/1
Scott Murray [Tue, 20 Dec 2022 19:24:30 +0000 (14:24 -0500)]
Rework cluster demo configuration

Changes:
- Rename cluster-dashboard-demo-config to cluster-demo-config since
  the installed AGL.conf will also be used for receiver configuration
  now.
- Add a Flutter cluster version of AGL.conf that configures the
  receiver window geometry as required.  The alternative mechanism
  is used to generate separate packages with the different AGL.conf
  files.
- Update the package names installed by agl-demo-preload in the Qt
  and Flutter cluster demo images.

It may make sense to do further rework in the dashboard and receiver
apps post-CES to split things into separate configuration files, but
this seems the most straightforward way to do things for now.

Bug-AGL: SPEC-4640

Change-Id: If8a65228c75f28a53ef32a49be90f75a85d60a16
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoradio: update SRCREV 72/28272/1 14.92.0 octopus/14.92.0 octopus_14.92.0
Scott Murray [Tue, 13 Dec 2022 04:07:49 +0000 (23:07 -0500)]
radio: update SRCREV

Update SRCREV to pick up:

1e6de65 Merge "Update icon"
424fa46 Update icon
147a454 Fix layout issues

Bug-AGL: SPEC-4444, SPEC-4643

Change-Id: I5ec9068554a0dcb80e81e9edb2c3a30501dd3b9f
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agocluster-receiver: update SRCREV 71/28271/1
Scott Murray [Tue, 13 Dec 2022 04:04:50 +0000 (23:04 -0500)]
cluster-receiver: update SRCREV

Update SRCREV to pick up:

f8f7cc6 Add optional override for window geometry

Bug-AGL: SPEC-4640

Change-Id: I798595b4928d7378b3788bb40b60962da984ce2e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agotbtnavi: update SRCREV 70/28270/1
Scott Murray [Tue, 13 Dec 2022 04:00:29 +0000 (23:00 -0500)]
tbtnavi: update SRCREV

Update SRCREV to pick up:

624f4e5 Update output display ID

Bug-AGL: SPEC-4645

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