AGL/meta-agl-demo.git
11 months agolibqtappfw: update SRCREV 63/28863/2 needlefish 14.0.5 needlefish/14.0.5 needlefish_14.0.5
Scott Murray [Tue, 9 May 2023 17:30:40 +0000 (13:30 -0400)]
libqtappfw: update SRCREV

Update libqtappfw SRCREV to pick up:

c1f95b6 Bump version number
eb2f0cd mediaplayer: Improve MPD failure handling

and bump PV to 2.0.1 to match.

Bug-AGL: SPEC-4661

Change-Id: I2641d9ca6161210561fe2c1ddacf3f6bb5fa7c25
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agompd: Fix patch fuzz warning 44/28844/1
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 agompd: remove patches that were upstreamed 62/28762/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 64/28764/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-val: Rework to support updated SSL certificates 06/28706/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: I00031ada2401cd5b92419de5c7b1af8944c34e9d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12 months agoFix building agl-kvm-demo-platform for h3ulcb-kf 16/28616/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>
13 months agokuksa-val: Add patch to fix intermittent build failures 89/28489/1 14.0.4 needlefish/14.0.4 needlefish_14.0.4
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 87/28487/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)

15 months agoUpdate radio support in demo application 05/28405/1 14.0.3 needlefish/14.0.3 needlefish_14.0.3
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:

22ad8cb Rework radio support for new gRPC API
ce49ef3 vehicle-signals: Increase double value precision

and radio SRCREV to pick up:

6ae60dc Update radio wrapper name

Bug-AGL: SPEC-4665, SPEC-4662

Change-Id: I2dc36a24e5784a9cb72df2f60cfe690aaa5b2f17
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoRestore agl-service-radio recipe 04/28404/1
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: If1015819d1ed20222d17d65b99c0d5a3cc034755
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoagl-kvm-demo-platform: update guests 03/28403/1
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: Ic04c0fa6fad6712140e983ccd6650cda5ebc19fc
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoRun agl-compositor in system scope for QEMU+KVM demo image 02/28402/1
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: I7f2f2ad9a453b5d99bed4cfc33d99eb3002bcceb
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoMake cluster dashboard KUKSA.val server configurable 01/28401/1
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: I101b2c966fc2923a5f4946ea1c5e95695061c041
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoUpdate guest input and CAN configuration for QEMU+KVM demo 00/28400/1
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: I3c89dcdc6a7c07e2d161f095eaa28c3a1cb1343b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoRework guest network configuration for QEMU+KVM demo 99/28399/1
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: I6807f08f11fc2f3aa4a5411b319ebc6d5283cdf8
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agorng-tools: disable jitter entropy generation in VMs 98/28398/1
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: I51d10f95d5936a4ad89389ed5e0e4e0c16abcac6
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agolinux: update virtio-aarch64 kernel configuration 97/28397/1
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: I07af25b045fcb499c406bbc1aa23285fb7f8e886
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agokuksa_vss_init: update some signal names 96/28396/1
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: Id2f013e669eca5c50e75e7ee9e515b78e517163b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoRestore webapp samples 47/28347/1
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
(cherry picked from commit 7f3038e5efb5fed78457a5855560a3ae8912f783)

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

Update SRCREV to pick up:

5da348a Update engine speed signal

Bug-AGL: SPEC-4664

Change-Id: Id054c5c6453fc35c2ba985a2feb4a1a9b8d05f8e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoconnman-glib: Update SRCREV 34/28334/1
Scott Murray [Sun, 1 Jan 2023 21:40:11 +0000 (16:40 -0500)]
connman-glib: Update SRCREV

Update SRCREV to pick up:

125514b Fix error handling

Bug-AGL: SPEC-4623

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

Update SRCREV to pick up:

1895a45 Spelling fixes
d9c46db Rework temperature controls

Bug-AGL: SPEC-4642, SPEC-4644

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

Update SRCREV to pick up:

c605ab0 VSS signal fixes
aa3ebca UI tweaks

Bug-AGL: SPEC-4653

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

Update SRCREV to pick up:

7b663a0 UI Tweak
84ae05b Rework Riverpod provider usage
61da09a Layout simplifications and tweaks

Bug-AGL: SPEC-4660

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

Update SRCREV to pick up:

05f80b4 UI Fixes
696b49f Improve app listing
8528b5b 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: Idc53f10a5fd59727dd78cd4a4bb8584f4113795a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoflutter-cluster-dashboard: remove warning 03/28303/1
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 02/28302/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 agonative-shell-client: Add systemd unit 80/28280/3
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>
(cherry picked from commit 2848a3d0591c7d0c9e97f208f00899a0f254ad0a)

16 months agoAdd agl-kvm feature template 81/28281/2
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>
(cherry picked from commit f65296a9c598ae81620e6c1d64ecf5f83bd11dee)

16 months agooutput-udev-conf: add recipe 84/28284/2
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>
(cherry picked from commit 46a4e4e4f43625686e73db8523bbfc9abaed558f)

16 months agoagl-qemu-runner: Add recipes 85/28285/2
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>
(cherry picked from commit dce8116fb1a1b6f3c2976db126d9f923e2fe4c6f)

16 months agoagl-kvm-demo-platform: Add recipe 86/28286/2
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>
(cherry picked from commit 1512bba4f2839e9b4b4748a6b29d35b29d5d65b5)

16 months agolinux-%: Tweak kernel configuration for KVM demo guests 82/28282/2
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>
(cherry picked from commit 7eb48d9680b5451d2ce6ca6994cd290dbf599cb6)

16 months agoweston-ini-conf: rework to add KVM host version 83/28283/2
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>
(cherry picked from commit 6e5c561e962d0b900b8f6225f27467a193c43dee)

16 months agoradio: update SRCREV 66/28266/1
Scott Murray [Tue, 13 Dec 2022 01:25:50 +0000 (20:25 -0500)]
radio: update SRCREV

Update SRCREV to pick up:

cacb72e Update icon
5343550 Add gitreview file for Nifty Needlefish branch
147a454 Fix layout issues

Bug-AGL: SPEC-4444, SPEC-4518, SPEC-4643

Change-Id: I6b34c5370c0b140fc5fe9c9d9385c8cd6fcd2646
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agocluster-receiver: update SRCREV 65/28265/1
Scott Murray [Tue, 13 Dec 2022 01:24:22 +0000 (20:24 -0500)]
cluster-receiver: update SRCREV

Update SRCREV to pick up:

26197c7 Add optional override for window geometry
aead5d9 Add gitreview file for Nifty Needlefish branch

Bug-AGL: SPEC-4518, SPEC-4640

Change-Id: I3fb5efdab505e05ee127ec74e63fbf5deecac503
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agotbtnavi: update SRCREV 64/28264/1
Scott Murray [Tue, 13 Dec 2022 01:23:09 +0000 (20:23 -0500)]
tbtnavi: update SRCREV

Update SRCREV to pick up:

b8d8c98 Update output display ID
890334d Add gitreview file for Nifty Needlefish branch

Bug-AGL: SPEC-4518, SPEC-4645

Change-Id: I62ef59225ae54b24b0b5e786ac539222e7eef926
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoflutter-hvac: update SRCREV 63/28263/1
Scott Murray [Tue, 13 Dec 2022 01:20:50 +0000 (20:20 -0500)]
flutter-hvac: update SRCREV

Update SRCREV to pick up:

b730a26 Add icon
d23c89e Update left/right labels

Bug-AGL: SPEC-4634, SPEC-4644

Change-Id: I4223e3a338bb449a908e6f93c199d4b3339e90e2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoflutter-dashboard: update SRCREV 62/28262/1
Scott Murray [Tue, 13 Dec 2022 01:18:44 +0000 (20:18 -0500)]
flutter-dashboard: update SRCREV

Update SRCREV to pick up:

1a5706e Update Tier -> Tire
30ebc2f Update signal names and types for KUKSA.val 0.2.5
3ba8f08 Add icon

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

Change-Id: Ia76cef3ab7cfe87b4f2fe14363679cebbeafd434
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoflutter-cluster-dashboard: update SRCREV 61/28261/1
Scott Murray [Tue, 13 Dec 2022 01:16:48 +0000 (20:16 -0500)]
flutter-cluster-dashboard: update SRCREV

Update SRCREV to pick up:

8f02aa8 Update signal names and types for KUKSA.val 0.2.5

Bug-AGL: SPEC-4641

Change-Id: Ic376c76eed93bee36efc94f48aa28d8f359ffa2e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agopackagegroup-agl-demo-platform-flutter: fix whitespace 60/28260/1
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 agoAdd cluster-receiver to Flutter cluster demo 32/28232/1
Scott Murray [Thu, 8 Dec 2022 02:37:11 +0000 (11:37 +0900)]
Add cluster-receiver to Flutter cluster demo

Add cluster receiver to Flutter cluster demo image so it can be used
in the CES demo.

Bug-AGL: SPEC-4640

Change-Id: I706f0ebd99425ed1ef8d854a0ce75035132bab5b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
16 months agoUpdate Flutter demo images 31/28231/1
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 30/28230/1
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 29/28229/1
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 28/28228/1
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 27/28227/1
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 26/28226/1
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 agoBump flutter-dashboard and flutter-hvac 79/28179/2
Scott Murray [Mon, 21 Nov 2022 16:25:25 +0000 (11:25 -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: Ia008b3f2cb96061d114c9766fe14ba45e92fd98c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agoUpdate Flutter demo image to use Flutter homescreen 76/28176/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 75/28175/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 74/28174/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 agoUpdates for KUKSA.val 0.2.5 35/28135/2 14.0.2 needlefish/14.0.2 needlefish_14.0.2
Scott Murray [Thu, 10 Nov 2022 19:27:31 +0000 (14:27 -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: I1679febbde76f33f0be5413445f8f9d031d07c9d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
17 months agokuksa-val: Upgrade to latest 78/28078/2
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
(cherry picked from commit 54ef381ec92148015cbd743a1b30771cca22f80b)

17 months agoImport flutter apps from master branch 75/28075/2
Jan-Simon Moeller [Wed, 26 Oct 2022 15:09:06 +0000 (17:09 +0200)]
Import flutter apps from master branch

For CES we will evolve the flutter applications. Import the state from master.

Bug-AGL: SPEC-4592

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I6f561d76a8fee3903eb1431d0e5e141588dc365d

17 months agoUpdate flutter-cluster-dashboard 97/28097/1
Aakash Solanki [Sat, 29 Oct 2022 14:21:34 +0000 (16:21 +0200)]
Update flutter-cluster-dashboard

- Import all flutter-cluster-dashboard changes from master.
- Add 'flutter-cluster-dashboard.yaml' file.
- Set openrouteservice API Key in local.conf to the variable
  `OPENROUTE_API_KEY`.
- Change SRCREV and SRC_URI

Bug-AGL: SPEC-4508

Change-Id: Ic1cd18e290c951443b393840bcf053a549fd2ee2
Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
18 months agohtml5-aquarium: fix the incorrect license 33/27933/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 agoSwitch Qt demo apps to gRPC launcher API 11/28011/2
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: Ib01e3b9d9bf5b422f69012bfdbd415628bbb9ab9

19 months agokuksa-viss-client: add patch to fix command-line tool 30/27930/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 agokuksa-viss-client: add Python 3.10 support patch 24/27924/1
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

20 months agoUpdate agl-cluster-demo-platform-flutter image 04/27804/1 14.0.0 14.0.1 needlefish/14.0.0 needlefish/14.0.1 needlefish_14.0.0 needlefish_14.0.1
Aakash Solanki [Sat, 6 Aug 2022 11:49:55 +0000 (13:49 +0200)]
Update agl-cluster-demo-platform-flutter image

- Remove packagegroup and add packages to image
- Add a script to set some value in Kuksa data model
- Add Simple-CAN-simulator

Bug-AGL: SPEC-4508

Change-Id: Ibf4f4c2b02f7860e2f93c08a5c0e064272652657
Signed-off-by: Aakash Solanki <tech2aks@gmail.com>
20 months agoAdd a new image for Flutter instrument cluster app 98/27798/1 13.93.0 needlefish/13.93.0 needlefish_13.93.0
Aakash Solanki [Sat, 6 Aug 2022 11:49:55 +0000 (13:49 +0200)]
Add a new image for Flutter instrument cluster app

- Add a new image: agl-cluster-demo-platform-flutter
- Add recipe for instrument cluster app
- Pin instrument cluster app with kuksa-val-server.

Bug-AGL: SPEC-4508

Change-Id: I04dc536e5700fb6b92e8c9a672ebb107c73e6724
Signed-off-by: aakashs45 <tech2aks@gmail.com>
(cherry picked from commit 85d834afe1cdc9c25e3d94daefc8d515b7d0c361)

20 months agoAdd gitreview file for Nifty Needlefish branch
Jan-Simon Moeller [Fri, 5 Aug 2022 22:38:28 +0000 (00:38 +0200)]
Add gitreview file for Nifty Needlefish branch

Update the .gitreview file.

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

20 months agoHandle meta-flutter update 63/27863/1
Scott Murray [Thu, 4 Aug 2022 21:14:53 +0000 (17:14 -0400)]
Handle meta-flutter update

Changes:
- Rename flutter-gallery bbappend to handle switch to BBCLASSEXTEND
  scheme in the upstream recipe.
- Update the Flutter embedder package name in the Flutter demo image
  package group to handle upstream change.

Bug-AGL: SPEC-4485

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

20 months agomediaplayer: bump SRCREV 57/27857/1
Scott Murray [Wed, 3 Aug 2022 19:30:08 +0000 (15:30 -0400)]
mediaplayer: bump SRCREV

Bump mediaplayer SRCREV to pick up the previously forward-ported
change:

0aefba2 Fix layout issues

This gets it back in parity with what's being used in Marlin.

Bug-AGL: SPEC-4444

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

20 months agowam: use gRPC for internal IPC. 40/27840/4 13.92.0 needlefish/13.92.0 needlefish_13.92.0
Jose Dapena Paz [Tue, 28 Jun 2022 19:04:45 +0000 (21:04 +0200)]
wam: use gRPC for internal IPC.

Update WAM to use GRPC for internal IPC instead of Unix domain
sockets, dropping previous implementation. Update dependencies to use
grpc and protobuf.

chromium: 9d9fbef68a..9fe715038f
9fe715038f [op][agl][wayland] Drop window surface ID

wam: 491dcd1..3cc744f
3cc744f [wam][agl][wayland] Remove surface ID.
12d9778 [wam][agl][ipc] Rename WamSocketLockFile to WamIPCLockFile
fc5f7ff [wam][agl][ipc] Remove Unix Domain socket based IPC implementation
92a3356 [wam][agl][ipc] Introduce LaunchParams struct replacing LaunchData
61ce1d0 [wam][agl][ipc] Add gRPC implementation of internal IPC
ae51589 [wam][agl] Make IPC pass its parameters instead of storing them

Bug-AGL: SPEC-4252
Change-Id: I8edbe1d47a684f73feadfed6cbd944c01b6d2ceb
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
21 months agoAdd agl-ivi-demo-platform-flutter image 39/27839/1
Scott Murray [Wed, 27 Jul 2022 23:41:59 +0000 (19:41 -0400)]
Add agl-ivi-demo-platform-flutter image

Add an image for testing Flutter applications.  At present it uses
the Qt demo homescreen and launcher until they can be replaced with
a Flutter homescreen with equivalent functionality.  To allow
testing agl-compositor behavior, the packagegroup for the image
includes the demo Qt HVAC and dashboard apps in addition to the
Flutter "gallery" demo application packaged for launching with
applaunchd.  The "agl-flutter" build feature has been added as a
dependency of "agl-demo" in order for the above to be buildable by
default.

Bug-AGL: SPEC-4485

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

21 months agoUpdates for application enumeration via systemd units 36/27836/2
Scott Murray [Wed, 27 Jul 2022 21:02:54 +0000 (17:02 -0400)]
Updates for application enumeration via systemd units

Update application recipes to use the new agl-app.bbclass to install
the now required by applaunchd systemd template unit instances.  The
previously used .desktop files have been removed, and it is believed
that the required configuration with respect to application display
names has been captured in the new agl-app configuration variables.

Bug-AGL: SPEC-4466

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

21 months agoagl-demo: add agl-selinux as a dependency 92/27792/2
Scott Murray [Mon, 25 Jul 2022 19:06:38 +0000 (15:06 -0400)]
agl-demo: add agl-selinux as a dependency

Add the agl-selinux feature as a dependency of agl-demo to pull in the
SELinux support for demo image builds.

Bug-AGL: SPEC-4332

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

21 months agoAdd html-examples 73/27673/2
Jose Dapena Paz [Fri, 17 Jun 2022 14:00:51 +0000 (16:00 +0200)]
Add html-examples

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

21 months agohtml5-jitsi added 72/27672/2
Jose Dapena Paz [Tue, 31 May 2022 18:20:13 +0000 (20:20 +0200)]
html5-jitsi added

Added Jitsi Meetings demo.

Bug-AGL: SPEC-4393
Change-Id: Ide2363c9887aefa4370c7c7ce0007313cca03081
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
21 months agohtml5-aquarium, html5-youtube added 71/27671/2
Jose Dapena Paz [Tue, 31 May 2022 17:56:05 +0000 (19:56 +0200)]
html5-aquarium, html5-youtube added

Added two web demos (WebGL aquarium and Youtube launcher).

Bug-AGL: SPEC-4392, SPEC-4248
Change-Id: I3e1e7a098d432d5d1c8de4640780ef05abf0e9f2
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
21 months agokuksa-val: add regenerated server certificate 58/27758/2 13.91.0 needlefish/13.91.0 needlefish_13.91.0
Scott Murray [Mon, 11 Jul 2022 23:29:53 +0000 (19:29 -0400)]
kuksa-val: add regenerated server certificate

After fixing the issue with the SSL context purpose in the Python
client library, client connections were still failing with the
error:

  certificate verify failed: IP address mismatch, certificate is not valid for localhost

To fix this, the certificate generation script has been patched to
create the now required Subject Alt Name extension field, as that has
effectively replaced using the CN field in most SSL implementations.
Replacement Server.key and Server.pem files generated with the
updated script have been added to give us a working configuration
while this is worked with upstream so their default configuration is
usable with newer Python + OpenSSL versions.

Bug-AGL: SPEC-4467

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

21 months agokuksa-viss-client: add patch to fix SSL context creation 57/27757/3
Scott Murray [Mon, 11 Jul 2022 23:26:33 +0000 (19:26 -0400)]
kuksa-viss-client: add patch to fix SSL context creation

Add a patch that fixes the context purpose in the SSL context
creation done for the client connection.  On a client, the
purpose needs to be set to server authentication to make newer
versions of Python happy.

Bug-AGL: SPEC-4467

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

21 months agorecipes-demo: update application's .desktop files for systemd execution 56/27756/2
Denys Dmytriyenko [Thu, 7 Jul 2022 16:26:45 +0000 (16:26 +0000)]
recipes-demo: update application's .desktop files for systemd execution

Initial version of applaunchd with systemd_manager still uses .desktop files
for enumeration purposes and requires DBusActivatable=true to indicate apps
that should be launched as systemd services. This will be addressed in the
new revision of applaunchd and hopefully .desktop files dropped completely.

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

21 months agoweston-terminal-conf: add systemd-sandboxed demo configuration 55/27755/2
Denys Dmytriyenko [Thu, 7 Jul 2022 16:17:57 +0000 (16:17 +0000)]
weston-terminal-conf: add systemd-sandboxed demo configuration

Add a secondary .desktop file for weston-terminal to demonstrate new
applaunchd systemd_manager with sandboxing capabilities.

The sandboxing example enables PrivateNetwork - only loopback interface
is available with localhost access only, easy to verify in the terminal

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

21 months agodbus: Delete patch dbus-c++-threading.patch not used any longer 46/27746/3
Zhou Mingying [Fri, 8 Jul 2022 09:36:32 +0000 (17:36 +0800)]
dbus: Delete patch dbus-c++-threading.patch not used any longer

The patch dbus-c++-threading.patch is no longer used in dbus.
So delete this unused patch.

Bug-AGL: SPEC-4434

Signed-off-by: Zhou Mingying <zhoumy@fujitsu.com>
Change-Id: I09f0743496d657d474191365639adc72d33b4a0f

21 months agodemo-i2c-udev-conf: update for reworked agl-service-hvac 43/27743/2
Scott Murray [Thu, 16 Jun 2022 04:59:47 +0000 (00:59 -0400)]
demo-i2c-udev-conf: update for reworked agl-service-hvac

Update demo-i2c-udev-conf recipe and the script and systemd unit
it installs to generate the configuration that the reworked
agl-service-hvac daemon expects for LED configuration for the
demo platform.

Bug-AGL: SPEC-4409

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

21 months agopsplash-portrait-config: add recipe 42/27742/2
Scott Murray [Wed, 8 Jun 2022 19:50:30 +0000 (15:50 -0400)]
psplash-portrait-config: add recipe

Add psplash-portrait-config recipe to install a systemd unit override
for psplash-start.service that forces a 90 degree rotation for
portrait mode, add add it to packagegroup-agl-demo-platform so that
it takes affect in the agl-demo-platform image.

Bug-AGL: SPEC-4433

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

21 months agosimple_can_simulator: support different interface for LIN messages 41/27741/2
Scott Murray [Tue, 7 Jun 2022 20:25:40 +0000 (16:25 -0400)]
simple_can_simulator: support different interface for LIN messages

Add a "--lin-interface" option to simple_can_simulator.py to allow
specifying a different CAN interface for the cruise control LIN
messages from the steering wheel in the demo setup.  This allows
pointing at the sllin0 interface in the full demo setup that is
configured with the agl-demo-preload feature.  Previously the
CAN messages for the LIN events were bridged to the primary CAN
interface, but this has proven unreliable in practice.

Bug-AGL: SPEC-4431

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

21 months agoagl-service-audiomixer: add updated recipe 40/27740/2
Scott Murray [Sat, 18 Jun 2022 00:36:07 +0000 (20:36 -0400)]
agl-service-audiomixer: add updated recipe

Add recipes to build the new incarnation of VIS client daemon version
of agl-service-audiomixer that will serve as the base for future API
development.  As well, add the new package to the appropriate
packagegroup.

Bug-AGL: SPEC-4409

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

21 months agoagl-service-hvac: add updated recipes 39/27739/2
Scott Murray [Thu, 16 Jun 2022 04:48:55 +0000 (00:48 -0400)]
agl-service-hvac: add updated recipes

Add recipes to build the new incarnation of VIS client daemon version
of agl-service-hvac and for installing associated demo platform
configuration files for the full AGL demo setup.  As well, add the
new packages from these recipes to the appropriate packagegroups.

Bug-AGL: SPEC-4409

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

21 months agoUpdate vehicle signal using app recipes 38/27738/2
Scott Murray [Tue, 7 Jun 2022 20:12:25 +0000 (16:12 -0400)]
Update vehicle signal using app recipes

Update the recipes for the Qt demo applications that were previously
using signal-composer either directly or indirectly to work with the
new VehicleSignals API in libqtappfw.  For most of them this means
updating their SRCREV to pick up the application changes, and
installing the new configuration file and associated JSON web token
file for KUKSA.val authorization.  At present all the apps are using
one of the default read-write tokens from the KUKSA.val install, but
ideally this will end up migrated to app specific tokens with
appropriate permissions JSON down the road, potentially obtained
via OAuth or similar mechanism.

Additionally, the tbtnavi recipe has been updated to install a
systemd unit to start it at boot.

Bug-AGL: SPEC-4409, SPEC-4426

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

21 months agolibqtappfw: update SRCREV 44/27744/1
Scott Murray [Wed, 8 Jun 2022 14:00:15 +0000 (10:00 -0400)]
libqtappfw: update SRCREV

Update libqtappfw SRCREV to pick up:

a2d991a Merge "Reimplement HVAC API with VIS signals"
b2cb90d Reimplement HVAC API with VIS signals
fc9399e Reimplement navigation API with VIS signals
607f2b6 Add VIS vehicle signal support

Bug-AGL: SPEC-4408

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

21 months agoUpdate demo KUKSA.val configuration 37/27737/1
Scott Murray [Sun, 12 Jun 2022 16:58:47 +0000 (12:58 -0400)]
Update demo KUKSA.val configuration

In practice mapping multiple CAN signals from the LIN polling to a
smaller number of VIS signals does not work well with the behavior
of the CAN feeder from KUKSA.val when testing on the actual demo
hardware.  To improve the behavior:
- update the VSS schema overlay and DBC feeder mapping configuration
  to use new AGL custom steering wheel switch signals instead of the
  previous signals and mappings.
- add a patch to the DBC feeder to add a per-target duplicate signal
  filtering option, and enable it for all the steering wheel signals
  in the mapping configuration.

The DBC feeder performance issues stemming from synchronous VIS server
updates will be discussed with upstream, but these changes should
yield behavior similar to the previous combination of the low-can and
signal-composer bindings.  With respect to the switch signals, this
should be revisited if implementing a custom LIN signal feeder becomes
an option, as overall it would be better to leverage the standard VSS
schema signals if possible.

Bug-AGL: SPEC-4405

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

21 months agoAdd demo specific KUKSA.val configuration 16/27716/1
Scott Murray [Tue, 7 Jun 2022 00:16:57 +0000 (20:16 -0400)]
Add demo specific KUKSA.val configuration

Add kuksa-val-agl and kuksa-val-agl-demo-cluster recipes that install
extra configuration for KUKSA.val for the AGL demo platform.

Changes:
- Add kuksa-val-agl recipe to install AGL specific signals overlay
  and uses a new environment variable hook in the kuksa-val systemd
  unit to pass the required --overlays option to pick it up.
- Add kuksa-val-agl-demo-cluster recipe to install cluster support
  specific kuksa-val environment file that makes kuksa-val-server
  listen on all addresses.  This is hopefully a stop gap approach
  for the cluster demo until support for listening on multiple
  addresses is added upstream.
- Add kuksa-val-agl to packagegroup-agl-ivi-services to enable the
  AGL specific signals in the demo images.
- Add kuksa-val-agl-demo-cluster to packagegroup-agl-demo-cluster-support
  to pick it up when the agl-demo-cluster-support feature is used
  to build an image for the full AGL demo setup.

Bug-AGL: SPEC-4405

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

21 months agokuksa-val: split client certificates into a separate package 15/27715/1
Scott Murray [Tue, 7 Jun 2022 00:05:49 +0000 (20:05 -0400)]
kuksa-val: split client certificates into a separate package

Split the certificates required by clients (so client and CA) into
a separate kuksa-val-client-certificates package so that they can
be reused in the cluster demo image without having the full KUKSA.val
server installed.

Bug-AGL: SPEC-4405

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

21 months agokuksa-dbc-feeder-sllin: add recipe 14/27714/1
Scott Murray [Tue, 7 Jun 2022 00:02:33 +0000 (20:02 -0400)]
kuksa-dbc-feeder-sllin: add recipe

Add kuksa-dbc-feeder-sllin recipe to install systemd unit and
configuration file to run a second copy of the KUKSA.val DBC
feeder against the demo setup's sllin0 interface.  The systemd
unit will bring up the sllin0 interface by a call to the
can-dev-helper.sh script if run on hardware that lacks the
LIN adapter.  Additionally, the DBC feeder mapping configuration
has been updated with the mappings for the steering wheel LIN
events, and kuksa-dbc-feeder-sllin has been added to the
agl-demo-preload packagegroup for the full AGL demo setup.

Bug-AGL: SPEC-4405

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

21 months agolibqtappfw: add qtwebsockets dependency 13/27713/1
Scott Murray [Mon, 6 Jun 2022 22:20:15 +0000 (18:20 -0400)]
libqtappfw: add qtwebsockets dependency

At least for the near future, the KUKSA.val support for vehicle
signals in libqtappfw will use the VISS standard websocket
interface scheme, so add qtwebsockets as a build dependency.

Bug-AGL: SPEC-4408

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

21 months agoRework demo packagegroup and images 12/27712/1
Scott Murray [Mon, 6 Jun 2022 22:06:42 +0000 (18:06 -0400)]
Rework demo packagegroup and images

Rework the agl-ivi-demo-platform* images to reduce duplication,
and move the additions for the agl-demo-cluster-support and
agl-demo-preload features.

Changes:
- Pull in agl-image-ivi.bb in the crosssdk image rather than
  duplicating its contents.  This means the package additions
  from the demo features will be reflected in the SDK, which
  seems more in line with general expectations of how Yocto SDKs
  work.
- New packagegroups are created for the agl-demo-cluster-support
  and agl-demo-preload features, and they are pulled into the
  agl-ivi-demo-platform / agl-demo-platform image using features
  in IMAGE_FEATURES.  This avoids changing the contents of various
  packagegroups based on AGL_FEATURES and seems more futureproof
  with respect to binary packaging.
- ALLOW_EMPTY has been removed in a few packagegroup recipes, as
  it does not seem to make sense if the packagegroup will never
  be empty.
- The cluster-dashboard-demo-config recipe pulled into the
  agl-demo-cluster-support packagegroup has been added back, it
  was accidentally removed in the application framework cleanup.

Bug-AGL: SPEC-4424

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

21 months agoRename agl-cluster-demo-support feature 11/27711/1
Scott Murray [Mon, 6 Jun 2022 21:49:59 +0000 (17:49 -0400)]
Rename agl-cluster-demo-support feature

Rename agl-cluster-demo-support feature to agl-demo-cluster-support
to make it clearer that it relates to the agl-demo-platform image.

Bug-AGL: SPEC-4425

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

21 months agokuksa-dbc-feeder: update AGL vcar DBC file 10/27710/1
Scott Murray [Mon, 30 May 2022 23:18:05 +0000 (19:18 -0400)]
kuksa-dbc-feeder: update AGL vcar DBC file

The initial check-in of agl-vcar.dbc used with the kuksa-dbc-feeder
recipe was a version with the steering wheel events incorrectly
defined, update it with a corrected copy.

Bug-AGL: SPEC-4405

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

21 months agosllin: switch to updated upstream 09/27709/1
Scott Murray [Mon, 30 May 2022 22:51:36 +0000 (18:51 -0400)]
sllin: switch to updated upstream

Changes:
- Switch the SRC_URI of the sllin driver recipe to point at the new
  revived upstream location, update to their latest commit to get
  newer kernel support, and drop all the now unnecessary local
  patches.
- Added a patch to fix compilation against 5.4 kernels before
  5.4.110.  This will be worked with upstream as time permits.
- Rename the sllin driver recipe with a _git suffix to match OE
  style expectations.
- Added the sllin driver to packagegroup-agl-demo as was being done
  in previous releases.
- Split the demo script + service unit and lin_config configuration
  out of the sllin driver recipe into a new sllin-demo recipe so
  that they're no longer conflated.  This should make it easier for
  others to reuse the sllin driver recipe.
- Update the SRC_URI and SRCREV of the lin_config recipe to also
  point at the new upstream location/version since it comes out of
  the same repository.
- Add the new master mode "-m" flag to the lin_config command line
  in the start_lin_demo.sh script (now in sllin-demo).  This turns
  out to be required for our demo usecase as upstream seem to have
  inadvertently changed the default behavior.

Bug-AGL: SPEC-4404

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

21 months agokuksa-dbc-feeder: add recipe and dependencies 08/27708/1
Scott Murray [Thu, 26 May 2022 14:38:07 +0000 (10:38 -0400)]
kuksa-dbc-feeder: add recipe and dependencies

Add a kuksa-dbc-feeder recipe to build the sample CAN feeder for the
KUKSA.val Vehicle Information Service (VIS) server and add it to the
agl-demo-platform image by adding it to packagegroup-agl-ivi-services.
Local patches are applied to enable building with OpenEmbedded, make
installation into standard Linux FHS locations feasible, and improve
usability on target with respect to logging and error handling.
These will be discussed with upstream to hopefully get them
integrated.

Additional changes:
- Add a recipe for the required kuksa-viss-client Python module
  included with the KUKSA.val source tree.  The module is also
  available via pypi.org, but keeping all the pieces in lockstep for
  now seems better, so it is built out of a clone of the kuksa.val
  repo using the same SRCREV as the server and kuksa-dbc-feeder.
- Add new recipes for required Python modules:
    python3-argparse-addons, python3-can-j1939,
    python3-py-expression-eval, python3-setuptools-git-versioning
  These will be upstreamed to meta-python as time permits.
- Add bbappend for python3-cantools to add a missing runtime
  dependencies discovered during testing.  This will be addressed
  upstream in meta-python as time permits.
- Add minimal DBC file and mapping configuration.  At present the
  agl-vcar.dbc file only contains the minimum message definitions
  known to be required for the AGL demo platform, namely vehicle
  and engine speeds and the steering wheel events.
- Add can-dev-helper recipe to install a systemd unit and script to
  ensure a CAN interface is available for testing.  This is a tweaked
  version of what was previously used with agl-service-can-low-level.

Bug-AGL: SPEC-4405

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

21 months agokuksa-val: add recipe 07/27707/1
Scott Murray [Wed, 25 May 2022 22:44:05 +0000 (18:44 -0400)]
kuksa-val: add recipe

Add a kuksa-val recipe to build the current post-0.2.1 release HEAD
of the Eclipse KUKSA.val Vehicle Information Service (VIS) server,
and add it to the agl-demo-platform image by adding it to
packagegroup-agl-ivi-services.  Several local patches are applied to
enable building with OpenEmbedded and make installation into standard
Linux FHS locations feasible.  These will be discussed with upstream
to hopefully get them integrated.

Additionally, meta-networking has been added as a layer dependency
in the agl-demo feature template.  This is required due to kuksa-val
currently having mosquitto as a non-optional dependency.

Bug-AGL: SPEC-4405

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

21 months agoRemove use of AGL_APP_REVISION 92/27692/1
Jan-Simon Moeller [Wed, 29 Jun 2022 18:21:16 +0000 (20:21 +0200)]
Remove use of AGL_APP_REVISION

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

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

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

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

22 months agopackagegroup-agl-demo-platform-html5: remove ondemandnavi 70/27670/1
Jose Dapena Paz [Thu, 9 Jun 2022 15:29:41 +0000 (17:29 +0200)]
packagegroup-agl-demo-platform-html5: remove ondemandnavi

Only use HTML5 applications for HTML5 demo.

Change-Id: I8d8ec68172236d842c883b062effdda683e31f53
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
22 months agohtml5-mixer: recover HTML5 mixer demo application. 69/27669/1
Jose Dapena Paz [Tue, 31 May 2022 16:15:32 +0000 (18:15 +0200)]
html5-mixer: recover HTML5 mixer demo application.

Add updated html5-mixer:
* Fixes build with new application framework  providing audiomixer mock.
* Updates NPM dependencies.
* Updates recipe for kirkstone.

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

22 months agohtml5-mediaplayer: recover HTML5 mediaplayer demo application. 68/27668/1
Jose Dapena Paz [Tue, 31 May 2022 15:17:32 +0000 (17:17 +0200)]
html5-mediaplayer: recover HTML5 mediaplayer demo application.

Add updated html5-mediaplayer:
* Fixes build with new application framework  providing mediaplayer mock.
* Updates NPM dependencies.
* Updates recipe for kirkstone.

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

22 months agoqtwayland:delete the patch that is no longer used 22/27622/3
duerpei [Thu, 9 Jun 2022 06:28:28 +0000 (14:28 +0800)]
qtwayland:delete the patch that is no longer used

The patch is already deleted from the file qtwayland_agldemo.inc
by https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/26753
and it was no longer used

Bug-AGL:SPEC-4434

Signed-off-by: duerpei <duep.fnst@fujitsu.com>
Change-Id: I9314681424c133e40f67d86bb4a5097d6045cc5f