AGL/meta-agl-demo.git
10 months agoImprovement to psplash recipe using service override 66/28966/2 octopus 15.0.3 15.0.4 15.0.5 octopus/15.0.3 octopus/15.0.4 octopus/15.0.5 octopus_15.0.3 octopus_15.0.4 octopus_15.0.5
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>
10 months agoA fstab replacement method change to build container guest 65/28965/2
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: I8d92473f50cd5c596b43c94049972bb9ad57c438
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoEnable ext4 image and disable wic in case of agl-container-guest-demo 64/28964/2
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: I24670dc74c4d88864f43e9aefd2a41f7b0b480b7
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoDisable rngd in container guest 63/28963/2
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: I649ded6c0e0a55d196303b1cc580e5703a76a6f1
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoOverride group setting for agl-driver 62/28962/2
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: I4dddd6096a780c120509518a02cc77736f1dd38d
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoEnable psplash in guest container using drm-lease 61/28961/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: Ib9529b4e404be7d8520e6dc405c60e39b59d6796
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoOverwrite agl-compositor-init setting to become adopt guest container 60/28960/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: If3acc66a2836d7ab78e408b14931126071e3d32c
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoOverwrite fstab to become adapted guest container environment 59/28959/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: I254d64bf4cbb3f4b27008e16ac8438585a46c9d7
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoRemove tty dependency from agl-session in guest container 58/28958/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: I3dc039cb471efa61ff93be72b781fca0efffce70
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoCreate new agl feature to use container guest integration 57/28957/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: I62d5907566404ae7acd9afc03e8c91afa1860bb9
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
10 months agoagl-cluster-demo-platform-flutter: always install receiver configuration 47/28947/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: Update to 0.3.1 38/28938/3
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>
(cherry picked from commit f6a2980917592000382d2a9af9ea4803e90f9f88)

10 months agokuksa-val: fix vss-agl dependency for cluster images 46/28946/1
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 agoAdd vss and vss-agl recipes 40/28940/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>
(cherry picked from commit addb673cf642c1b06bfa912baf1aabbce5297400)

11 months agoAdd vss-tools and required dependencies 39/28939/1
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>
(cherry picked from commit 6533623201bf90c56a4a611519fab8923e127b2a)

11 months agompd: Fix patch fuzz warning 43/28843/2 15.0.2 octopus/15.0.2 octopus_15.0.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 agolibqtappfw: update SRCREV 62/28862/1
Scott Murray [Tue, 9 May 2023 17:13:33 +0000 (13:13 -0400)]
libqtappfw: update SRCREV

Update libqtappfw SRCREV to pick up:

3022561 Bump version number
a6c28b4 mediaplayer: Improve MPD failure handling
999153f Add gitreview file for Optimistic Octopus branch

and bump PV to 2.0.1 to match.

Bug-AGL: SPEC-4661

Change-Id: Ib0ffe91de0168e8ec5bbe497b24fd22ff1da4bb0
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agompd: remove patches that were upstreamed 61/28761/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>
(cherry picked from commit 6d435b0bbfa3ab11e571a284c01f5735edcba49f)

11 months agoqtwayland: disable local patch that breaks version 5.15.7 63/28763/1
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>
(cherry picked from commit 7baf8fb6dc8ed74332b7b587efae6097a4470237)

12 months agokuksa-certificates-agl: Update certificates 05/28705/3
Scott Murray [Mon, 24 Apr 2023 23:01:31 +0000 (19:01 -0400)]
kuksa-certificates-agl: Update certificates

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

Bug-AGL: SPEC-4763

Change-Id: I4eedb583989e9146a0d6d199a4e13e1d6df6ac64
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12 months agokuksa-val: Rework to support updated SSL certificates 59/28659/4
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 62/28662/1
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 agorecipes-demo/homescreen/homescreen_git: Bump SRCREV 49/28649/2
Marius Vlad [Fri, 14 Apr 2023 19:46:23 +0000 (22:46 +0300)]
recipes-demo/homescreen/homescreen_git: Bump SRCREV

Sync up with homescreen octopus branch. This update includes
the following changes:

ccfd10dda949b70 homescreenhandler: Avoid using a stale wl_output
b8786003d749d0f meson.build: Bump to the latest agl-compositor version
391e7e5f9d74acd Add gitreview file for Optimistic Octopus branch
bb4c83e294f1094 homescreen: Add support for defining an activation area

Change-Id: I01cb7ae8d795b17c6f26b8edcce5b2be230396ff
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
12 months agoFix building agl-kvm-demo-platform for h3ulcb-kf 15/28615/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 27/28627/1
Marius Vlad [Thu, 6 Apr 2023 13:01:25 +0000 (16:01 +0300)]
cluster-receiver: Bump SRCREV

Required to allow building the cluster-demo-platform image, due to
protocol bump.

Change-Id: I47b3c8180870004d2fde3718b7bf6029082b540b
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
12 months agoRework nss-agl-driver-db to be a systemd unit at runtime 06/28606/2 15.0.1 octopus/15.0.1 octopus_15.0.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>
(cherry picked from commit 11323fa1ed396e3e16f4df327911bc9c60cc6e01)

12 months agoagl-service-audiomixer: Update SRCREV 18/28618/1
Jan-Simon Moeller [Mon, 3 Apr 2023 15:31:54 +0000 (17:31 +0200)]
agl-service-audiomixer: Update SRCREV

Update to include the compilation fix.

Bug-AGL: SPEC-4732
Change-Id: I8b96dceea22d7b0974b7fb9df693f989ab3cec20
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
13 months agoFix for user and group of /home/agl-driver 03/28603/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>
(cherry picked from commit 1e62ea70abd523482e4a181737e7202280a30ce3)

13 months agohtml5 demos: Bump SRCREV for hvac and mixer apps 98/28598/2
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
(cherry picked from commit dea014d480e5a3ed81953c13e95e806d139e7092)

13 months agokuksa-val: Add root CA certificate to agl-driver nssdb 97/28597/2
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
(cherry picked from commit 99356a43e5ee3ae662af83e4ae6e0e11ef1aa39e)

13 months agonss: Create a nss database for agl-driver user 96/28496/2
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
(cherry picked from commit f9004968a0e9f3e5fc075c4df474f9fa33225e6d)

13 months agoconf/layer.conf: explicitly depend on networking-layer 00/28600/1
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>
(cherry picked from commit ebac35dea1de30d02c3ba2d48b91a557f9f0c989)

13 months agoconf/layer.conf: explicitly depend on meta-flutter layer 99/28599/1
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>
(cherry picked from commit 0385333fcc357071311029eeff219ca224922bbb)

13 months agokuksa-val: Add patch to fix intermittent build failures 88/28488/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>
14 months agompd: Backport PipeWire output fixes 86/28486/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>
(cherry picked from commit eaed764bc0a02029287d2531bedf13ce123641ee)

14 months agoAdd gitreview file for Optimistic Octopus branch 15.0.0 octopus/15.0.0 octopus_15.0.0
Jan-Simon Moeller [Wed, 1 Feb 2023 00:56:34 +0000 (01:56 +0100)]
Add gitreview file for Optimistic Octopus branch

Update the .gitreview file.

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

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>
16 months agoflutter-hvac: update SRCREV 69/28269/1
Scott Murray [Tue, 13 Dec 2022 03:58:18 +0000 (22:58 -0500)]
flutter-hvac: update SRCREV

Update SRCREV to pick up:

467221c Add icon
cbe288a Update left/right labels

Bug-AGL: SPEC-4634, SPEC-4644

Change-Id: I258ff81617802e8c01fed1bb5e64b4f6afba4eeb
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoflutter-dashboard: update SRCREV 68/28268/1
Scott Murray [Tue, 13 Dec 2022 03:55:00 +0000 (22:55 -0500)]
flutter-dashboard: update SRCREV

Update SRCREV to pick up:

e6ecc5d Update Tier -> Tire
5db65d9 Update signal names and types for KUKSA.val 0.2.5
fb1a236 Add icon

Bug-AGL: SPEC-4634, SPEC-4641, SPEC-4642

Change-Id: I5566c7fbc305cc8a34c9e0611db0d22f2796a05e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoflutter-cluster-dashboard: update SRCREV 67/28267/1
Scott Murray [Tue, 13 Dec 2022 03:49:27 +0000 (22:49 -0500)]
flutter-cluster-dashboard: update SRCREV

Update SRCREV to pick up:

e440ec3 Update signal names and types for KUKSA.val 0.2.5

Bug-AGL: SPEC-4641

Change-Id: Iac91128ed43083629aebd2f573164240a043ed04
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agopackagegroup-agl-demo-platform-flutter: fix whitespace 46/28246/2
Scott Murray [Mon, 12 Dec 2022 21:24:17 +0000 (16:24 -0500)]
packagegroup-agl-demo-platform-flutter: fix whitespace

To fix building, remove extraneous "\ "s that were accidentally added
into IMAGE_INSTALL:append in packagegroup-agl-demo-platform-flutter in
the previous update.

Bug-AGL: SPEC-4637

Change-Id: Idf7600450834b3ea0bd6f4cd5858aadeda6ce6f2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoUpdate Flutter demo images 41/28241/2
Scott Murray [Thu, 8 Dec 2022 02:03:34 +0000 (11:03 +0900)]
Update Flutter demo images

Changes:
- Split demo image feature definitions into an include file to
  allow reusing them, and pull into both the Qt and Flutter demo
  platform images.
- Remove packagegroup-agl-demo-platform dependencies from feature
  packagegroups so they will not break the Flutter images.
- Tweak Flutter cluster demo image to have KUKSA.val related
  package omission be controlled by the "agl-demo-preload"
  feature.
- Add the kuksa-vss-init package to the IVI services packagegroup
  so that the signal initialization expected by the Flutter cluster
  dashboard will always be done.  This covers the usecase of using
  the Flutter cluster with KUKSA.val on the IVI board.
- Add missing "agl-demo-preload" tweaks from the Qt demo platform
  image to the Flutter one.
- Tweak things to leave out the Weston terminal app from images
  build with the "agl-demo-preload" feature.
- Remove flutter-navigation and flutter-mediaplayer from the
  Flutter demo image for now, and add the messaging, phone, and
  radio Qt apps to fill out the list of apps for the demo.

Bug-AGL: SPEC-4636, SPEC-4637, SPEC-4639

Change-Id: I9cde89278f0191886152f765d4fb1a893c0ea2c1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoflutter-cluster-dashboard: Add demo configuration 40/28240/2
Scott Murray [Wed, 7 Dec 2022 10:21:16 +0000 (19:21 +0900)]
flutter-cluster-dashboard: Add demo configuration

Add a demo configuration yaml file to point at the KUKSA.val server
on the IVI board that can be installed as an alternative to the
default.

Bug-AGL: SPEC-4636

Change-Id: I75f91ad620e33ef7cbd7c6de4ef7ccae9b17cdf4
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoradio: Update display name 39/28239/2
Scott Murray [Wed, 7 Dec 2022 10:03:22 +0000 (19:03 +0900)]
radio: Update display name

Set AGL_APP_NAME for the radio application.

Bug-AGL: SPEC-4638

Change-Id: I05f5e30f79d53fb9faa913d06801bfd5ec05bf85
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoRemove demo sllin configuration 38/28238/2
Scott Murray [Wed, 7 Dec 2022 10:00:11 +0000 (19:00 +0900)]
Remove demo sllin configuration

Remove recipes providing sllin configuration for the full demo,
as all LIN usage is being replaced with CAN.  The recipes for the
sllin driver and associated lin_config utility are kept for now in
case there are external uses.

Bug-AGL: SPEC-4635

Change-Id: I67b7acf5a8c3801cb1890ee27486080255252385
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoUpdate cluster network configuration 37/28237/2
Scott Murray [Wed, 7 Dec 2022 09:45:42 +0000 (18:45 +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.  This includes
removing the cluster-connman-conf network configuration recipe.

Bug-AGL: SPEC-4632

Change-Id: I60011a3615152a036057ca1a98d3916c67a3cd1e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoagl-demo-preload: Enable CAN FD for reference h/w 56/28156/2
Scott Murray [Wed, 7 Dec 2022 09:16:53 +0000 (18:16 +0900)]
agl-demo-preload: Enable CAN FD for reference h/w

Define CANBUS_NETWORK_CONFIG to select the CAN FD configuration
if building with the agl-refhw-h3 feature.

Bug-AGL: SPEC-4633

Change-Id: Ie414fb800c4721f4b38ee6a11d9f3f856376d124
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoagl-kvm-demo-platform: Add recipe 99/28199/1
Scott Murray [Wed, 23 Nov 2022 20:46:07 +0000 (15:46 -0500)]
agl-kvm-demo-platform: Add recipe

Add agl-kvm-demo-platform image recipe.  If "agl-kvm" has been given
to aglsetup.sh, it can be built to generate a minimal host image that
runs IVI and cluster images with QEMU+KVM.  The guest images are
built with the "agl-guest-kvm" that the "agl-kvm" feature enables,
and are built against the virtio-aarch64 target.  The guest images
to build can be overriden with the variables GUEST_VM1_IMAGE and
GUEST_VM2_IMAGE (from e.g. site.conf).

At present this image has only been tested on the AGL reference
platform, and development is likely required to get it working on
other platforms.  COMPATIBLE_MACHINE has not been set in the recipe
to ease experimenting, that may change.

Known issues:
- Currently graphics output from the guests is corrupted when they
  first boot, and a manual reboot is required of each guest.
- Peripheral support is still a WIP.  Audio has been configured,
  but needs further debugging.  CAN, USB, etc., are to follow.

Bug-AGL: SPEC-4618

Change-Id: Id7113576453621702547ee6e0b8734a6e9117bb6
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoagl-qemu-runner: Add recipes 98/28198/1
Scott Murray [Wed, 23 Nov 2022 20:37:20 +0000 (15:37 -0500)]
agl-qemu-runner: Add recipes

Add recipes for agl-qemu-runner.sh QEMU wrapper script and template
systemd unit, and guest per-image configuration files and systemd
unit links for the various demo platform images.  The configurations
for the demo images can be mixed and matched somewhat, but only one
each of IVI and cluster should be used, as there are some static CPU
assignments in the configurations.  As well, this has only been
tested on the AGL reference hardware at present, some rework will
likely be required to support other platforms.

There is room to add a bbclass to simplify the guest configuration
recipes, but that has not been done for now as this approach may be
temporary; a switch to libvirtd with appropriate configurations is
likely.

Bug-AGL: SPEC-4618

Change-Id: Ieefbd4081cca506f915957cc313411a5ed1ece5c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agooutput-udev-conf: add recipe 97/28197/1
Scott Murray [Wed, 23 Nov 2022 20:33:04 +0000 (15:33 -0500)]
output-udev-conf: add recipe

Add recipe to install udev rules to force all input devices to be
associated with the HDMI-A-1 output.  The intended use is with the
KVM host image to ensure input devices are matched to the IVI
guest VM.  Also fixed the RDEPENDS for the other udev rule recipes
to depend on udev specifically instead of systemd.

Bug-AGL: SPEC-4618

Change-Id: Ic2efe01f7aed85f89dbda3cb958332ed5db799a1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoweston-ini-conf: rework to add KVM host version 96/28196/1
Scott Murray [Wed, 23 Nov 2022 20:30:14 +0000 (15:30 -0500)]
weston-ini-conf: rework to add KVM host version

Add a canned weston.ini template and install it with the
appropriate guest VM app ids as weston-ini-conf-kvm.
The guest VM images/ids can be overriden with the variables
GUEST_VM1_IMAGE and GUEST_VM2_IMAGE (from e.g. site.conf).

Bug-AGL: SPEC-4618

Change-Id: I053a956fd5af78b13095f15b6e6c40e81a0ff0c9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agolinux-%: Tweak kernel configuration for KVM demo guests 95/28195/1
Scott Murray [Wed, 23 Nov 2022 19:24:45 +0000 (14:24 -0500)]
linux-%: Tweak kernel configuration for KVM demo guests

Rework the kernel configuration fragment application to prune out
a bunch of the configuration for physical hardware for the
virtio-aarch64 kernel.  As well, add a virtio guest kernel specific
fragment to enable a PCI CAN device driver that works with QEMU's
emulation.  That will provide a fallback until something can be
worked out with respect to virtio-can.

Bug-AGL: SPEC-4618

Change-Id: Ibb674d09c115ab5bbe454b665350a658c759e5f5
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoAdd agl-kvm feature template 94/28194/1
Scott Murray [Wed, 23 Nov 2022 18:36:06 +0000 (13:36 -0500)]
Add agl-kvm feature template

Add feature template for enabling agl-kvm-guest multiconfig.  Changes
to leverage this to add a host image that includes guest VM images
will follow.

Bug-AGL: SPEC-4618

Change-Id: If8134359a1da7709d81b4ddd186d8c22de05280d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agonative-shell-client: Add systemd unit 93/28193/1
Scott Murray [Tue, 22 Nov 2022 08:36:44 +0000 (03:36 -0500)]
native-shell-client: Add systemd unit

Add a bbappend for native-shell-client to add a systemd unit that
runs in the agl-driver user session.  This is required to actually
get it started if it is built into an image.

Bug-AGL: SPEC-4618

Change-Id: If6c1c015544ee6f126fb30ca67822a38a83df64c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoBump flutter-dashboard and flutter-hvac 80/28180/2 14.91.0 octopus/14.91.0 octopus_14.91.0
Scott Murray [Mon, 21 Nov 2022 16:31:55 +0000 (11:31 -0500)]
Bump flutter-dashboard and flutter-hvac

Bump flutter-dashboard and flutter-hvac SRCREVs to pick up opaque
background fixes.

Bug-AGL: SPEC-4614

Change-Id: I9d2630f1325c7f6e8657a9c7eb1f8ead23e3a5ba
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoUpdate Flutter demo image to use Flutter homescreen 49/28149/3
Scott Murray [Mon, 21 Nov 2022 07:57:20 +0000 (02:57 -0500)]
Update Flutter demo image to use Flutter homescreen

Changes:
- Update Flutter demo image packagegroup to replace the Qt demo
  homescreen and launcher with the new Flutter homescreen.  The
  list of apps to install has been tweaked to drop the Qt HVAC and
  dashboard applications and add the Qt settings, mediaplayer, and
  navigation apps, to better reflect what is likely to be usable for
  ALS and CES.
- A AGL_FLUTTER_RUNTIME variable has been used in the Flutter demo
  image packagegroup to allow potentially switching the Flutter
  packages from release to debug or profile versions.
- Add Flutter homescreen specific weston-ini-conf-flutter package to
  the Flutter demo image.
- Tweak the application display names for the Flutter dashboard and
  HVAC applications to drop the Flutter prefix since they will be the
  only versions present in the Flutter demo image.

Bug-AGL: SPEC-4615

Change-Id: Iec1c139b72cbd953420f23484942ad255080f4f7
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoweston-ini-conf: Add bbappend to generate Flutter demo config 48/28148/3
Scott Murray [Mon, 21 Nov 2022 07:54:41 +0000 (02:54 -0500)]
weston-ini-conf: Add bbappend to generate Flutter demo config

The Flutter homescreen in the Flutter demo image currently requires
specifying the application activation area in the output sections in
the weston.ini configuration for the compositor.  Add a bbappend that
creates a weston-ini-conf-flutter package with the required .ini.

Bug-AGL: SPEC-4615

Change-Id: I59ef74abb8957ea2ad8b13b6de014662a2a867c8
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoflutter-homescreen: add recipe 47/28147/2
Scott Murray [Mon, 21 Nov 2022 07:50:37 +0000 (02:50 -0500)]
flutter-homescreen: add recipe

Add recipe for Flutter homescreen application.

Bug-AGL: SPEC-4615

Change-Id: I71510ff462c84bed0de36e889455828a4feb02b3
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoRestore webapp samples 29/28129/2
Roger Zanoni [Wed, 9 Nov 2022 13:31:36 +0000 (14:31 +0100)]
Restore webapp samples

The desktop files aren't used anymore, change
the recipes to use appinfo.json instead.

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

17 months agoUpdates for KUKSA.val 0.2.5 36/28136/1
Scott Murray [Thu, 10 Nov 2022 21:44:46 +0000 (16:44 -0500)]
Updates for KUKSA.val 0.2.5

Update SRCREVs for the agl-service-audiomixer and agl-service-hvac
services as well as the dashboard and agl-cluster-demo-dashboard apps
to pick up fixes for signal changes in KUKSA.val 0.2.5.

Bug-AGL: SPEC-4587, SPEC-4598

Change-Id: I581ad6560032c76458e00658b750cba7d0b6e1de
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
18 months agokuksa-val: Upgrade to latest 50/28050/3
Scott Murray [Tue, 11 Oct 2022 20:00:28 +0000 (16:00 -0400)]
kuksa-val: Upgrade to latest

Changes:
- Upgrade kuksa-val and kuksa-viss-client to a commit that includes
  the 0.2.5 release tag and some fixes past it.  The patches for each
  have been updated against the newer version, with backported ones
  dropped.
- The affected recipes have been updated to include some new gRPC
  tooling dependencies, and a recipe for a new jsonpath-ng dependency
  has been added.
- Rework the kuksa-dbc-feeder recipe for the splitting out of the
  example feeders from the main kuksa-val repository.
- Rework our local kuksa-dbc-feeder patches against the newer version,
  as upstream has made several improvements.  Also drop the duplicate
  filtering feature patch, as it seems likely we will not need it
  going forward.
- Update the kuksa-dbc-feeder configuration files to work with the new
  version.  Notable is a change in the engine speed signal naming in
  VSS 3.0, which is the new default for VSS schema.
- The kuksa-val and kuksa-val-feeders trees have changed their
  licensing from EPL-1.0 to Apache-2.0, update the recipes
  accordingly.

Bug-AGL: SPEC-4587

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

18 months agohomescreen_git.bb: Bump SRCREV to add meson support 49/28049/2
Marius Vlad [Mon, 10 Oct 2022 13:52:11 +0000 (16:52 +0300)]
homescreen_git.bb: Bump SRCREV to add meson support

Bug-AGL: SPEC-4584
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3954e92177cccc5d8180956b4e482e707f043b30

18 months agoChange SRC_URI and SRCREV for ivi-demo-flutter-apps 41/28041/2
Hritik Chouhan [Wed, 5 Oct 2022 19:18:43 +0000 (21:18 +0200)]
Change SRC_URI and SRCREV for ivi-demo-flutter-apps

- Change SRC_URI to use the app repository on gerrit.
- Renamed recipes file name.

Bug-AGL: SPEC-4560

Change-Id: I2887e568e6a466836d68866ace0766c7ed7949d9
Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
18 months agohtml5-aquarium: fix the incorrect license 40/28040/1
Denys Dmytriyenko [Mon, 3 Oct 2022 20:22:06 +0000 (20:22 +0000)]
html5-aquarium: fix the incorrect license

As "BSD-3" is incorrect and "BSD-3-Clause" should be used instead. Causes:

WARNING: agl-demo-platform-html5-1.0-r0 do_rootfs: QA Issue: The license listed BSD-3 was not in the licenses collected for recipe html5-aquarium [license-file-missing]

Bug-AGL: SPEC-4580
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Change-Id: I06b3865bad8667c4f7514c70fed89730cf15e713

19 months agohomescreen_git.bb: Bump SRCREV to get protocol updates 17/28017/2
Marius Vlad [Fri, 23 Sep 2022 12:28:36 +0000 (15:28 +0300)]
homescreen_git.bb: Bump SRCREV to get protocol updates

This bumps homescreen's SRCREV to include agl-shell protocol update v2
and v3.

Bug-AGL: SPEC-4528
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I39d9fd520e398c71eb00ada376f24faaabeab85a

19 months agoagl-demo-platform: Do not activate by default 91/27991/3
Marius Vlad [Thu, 15 Sep 2022 11:49:18 +0000 (14:49 +0300)]
agl-demo-platform: Do not activate by default

With the recent protocol changes and Qt shell client updates, we can
now switch off activate by default for the agl-demo-platform.

This allows a smooth transtion and allows running code side-by-side
until all shell clients will transition to it. For now we'll do it
for just Qt homescreen (agl-demo-platform).

Bug-AGL: SPEC-4528
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I22ee07544ba664452e24adc2d83187e013e77226

19 months agorecipes-demo: camera-gstreamer: Updates for application enumeration via systemd units 54/27854/3
Vasyl Vavrychuk [Mon, 1 Aug 2022 15:08:56 +0000 (17:08 +0200)]
recipes-demo: camera-gstreamer: Updates for application enumeration via systemd units

Update camera-gstreamer recipe to use the new agl-app.bbclass to install
the now required by applaunchd systemd template unit instances.

For application display name use it from camera-gstreamer.desktop
available via application sources repository.

Bug-AGL: SPEC-4466
Change-Id: I0890951d4ecac95e9d4a44ed5a83e704cd41673f
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
19 months agorecipes-demo: Add videoplayer recipe. 46/27846/5
Vasyl Vavrychuk [Fri, 29 Jul 2022 12:29:32 +0000 (14:29 +0200)]
recipes-demo: Add videoplayer recipe.

videoplayer BitBake recipe imported from attachment to AGL JIRA ticket
[1] with adaptation for AGL NN.

videoplayer suggested as an application to play video in [2]. Out from
the box mediaplayer does not support video (only audio is supported).

[1]: https://jira.automotivelinux.org/browse/SPEC-2389
[2]: https://jira.automotivelinux.org/browse/SPEC-4028

Bug-AGL: SPEC-4148
Change-Id: Ifd20f3e00ad1a99d0d05b8fb361ff7a8eb7a78f2
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
19 months agoAdd recipes for flutter apps 86/27986/4
Hritik Chouhan [Sat, 10 Sep 2022 18:35:16 +0000 (20:35 +0200)]
Add recipes for flutter apps

- This add the flutter dashboard,hvac,navigation,
mediaplayer apps in the AGL.
- Pin all the flutter apps in IVI flutter demo homescreen.
- Add config file for each app for kuksaAuthToken and mapboxAccessToken.

Bug-AGL: SPEC-4560

Change-Id: If5f58e6ccc402f56fef66cc29d3959b834c4e27c
Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
19 months agoChange SRC_URI and SRCREV for flutter-cluster-dashboard 09/28009/2
Aakash Solanki [Wed, 21 Sep 2022 08:23:48 +0000 (10:23 +0200)]
Change SRC_URI and SRCREV for flutter-cluster-dashboard

- Change SRC_URI to use the app repository on gerrit.
- Change SRCREV to use latest commit of
  apps/flutter-instrument-cluster on gerrit

Bug-AGL: SPEC-4508

Change-Id: I7f4cc443beaa1fe8991f6f913da1b59a76321e0b
Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
19 months agokuksa-viss-client: add patch to fix command-line tool 14/28014/1
Scott Murray [Wed, 21 Sep 2022 19:49:19 +0000 (15:49 -0400)]
kuksa-viss-client: add patch to fix command-line tool

Add a patch for kuksa-viss-client to fix the cmd2 Python module
usage to work with newer versions of cmd2.

Bug-AGL: SPEC-4552

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

19 months agoSwitch Qt demo apps to gRPC launcher API 85/27985/5
Scott Murray [Sat, 10 Sep 2022 17:11:15 +0000 (13:11 -0400)]
Switch Qt demo apps to gRPC launcher API

Changes:
- Update SRCREV in libqtappfw, launcher, and homescreen recipes to
  pick up gRPC API changes.
- Update libqtappfw recipe for switch to meson instead of CMake, and
  add new protobuf and gRPC dependencies.
- Update launcher recipe to pull in new libqtappfw dependency, and
  update some formatting for consistency with the other recipes.

Bug-AGL: SPEC-4559

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

19 months agokuksa-viss-client: add Python 3.10 support patch 06/28006/2
Scott Murray [Mon, 19 Sep 2022 21:57:06 +0000 (17:57 -0400)]
kuksa-viss-client: add Python 3.10 support patch

Add backported patch from upstream to support latest Python 3.10.x in
the kuksa-viss-client recipe, replacing my previous local change which
no longer seems sufficient with 3.10.4.

Bug-AGL: SPEC-4566

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

19 months agoAdd config file for flutter-cluster-dashboard 88/27988/3
Aakash Solanki [Wed, 14 Sep 2022 09:23:42 +0000 (11:23 +0200)]
Add config file for flutter-cluster-dashboard

- Add 'flutter-cluster-dashboard.yaml' file, which contains
  KUKSA.VAL auth token and few other paramenters.
- Set openrouteservice API Key in local.conf to the variable
  `OPENROUTE_API_KEY`.
- Change SRCREV

Bug-AGL: SPEC-4508

Change-Id: I9a225013e18b65626b391258445ec0f6acf1a970
Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
19 months agoAdd Flutter HVAC app 37/27937/2
Hritik Chouhan [Mon, 22 Aug 2022 11:02:34 +0000 (13:02 +0200)]
Add Flutter HVAC app

- This add the Flutter HVAC app in the AGL
- Pin the flutter HVAC app in IVI flutter demo homescreen.
- Integrate with kuksa-val server.

Bug-AGL: SPEC-4531

Change-Id: Idebb430360cd439d1403da86b220c9e9b5c48f22
Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
19 months agoAdd flutter dashboard app 97/27897/4
Hritik Chouhan [Wed, 10 Aug 2022 20:27:34 +0000 (22:27 +0200)]
Add flutter dashboard app

- This adds the Flutter dashboard app in the AGL.
- Pin the flutter dashboard app in IVI flutter demo homescreen.
- Integrate with kuksa-val server.
- change the homepage same as SRC_URI.
- change the AGL_APP_NAME.

Bug-AGL: SPEC-4524

Change-Id: I37dbcac2aa7a26b64250dd8fbec4de6051f16198
Signed-off-by: Hritik Chouhan <hritikc3961@gmail.com>
19 months agowam: fix surface type name in application manifest 75/27975/1
Jose Dapena Paz [Wed, 31 Aug 2022 10:24:55 +0000 (12:24 +0200)]
wam: fix surface type name in application manifest

Renamed appinfo.json field surface_role to be surface_type to be
consistent with other parts of the code base. Took the chance to remove
types that were not meaningful, and renamed default type (the one used
when it is not set) to be default instead of none.

Then updated the only applications setting the value to use the new
propery. Those are html5-background and html5-homescreen.

wam: 8ea41f7..4fbd6e6
4fbd6e6 [op][agl][wayland] Provide only supported AGL shell types

html5-background: e91be22..aa7e2a8
aa7e2a8 Rename surface/role in appinfo.json to surface/type.
bb4f497 autobuild: Remove autobuild scripts

html-homescreen: fc0ffa4..f3cecb6
f3cecb6 Rename surface/role in appinfo.json to surface/type.

Bug-AGL: SPEC-4505
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Change-Id: I404717dd5d848220bd5f070b98de56df38a78e20

19 months agochromium: fix wayland protocol version checks. 61/27961/2
Jose Dapena Paz [Thu, 1 Sep 2022 15:04:11 +0000 (17:04 +0200)]
chromium: fix wayland protocol version checks.

chromium: 16915e06c4..6296f0af4c
6296f0af4c [op][wayland] Add Wayland protocol version checking

Bug-AGL: SPEC-4540
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Change-Id: Ica15034d397bddcef20ff4377c6bd551d7f03b1a