AGL/meta-agl-devel.git
21 months agoagl-ic-container: Use new AGL_META_QT5 hook 75/28475/1
Scott Murray [Mon, 13 Feb 2023 23:40:16 +0000 (18:40 -0500)]
agl-ic-container: Use new AGL_META_QT5 hook

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

Bug-AGL: SPEC-4703

Change-Id: I91ce8ddec689afd1ebe8e275013f9a15152a52f8
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
21 months agoqtlocation: remove bbappend 74/28474/1
Scott Murray [Mon, 13 Feb 2023 23:39:06 +0000 (18:39 -0500)]
qtlocation: remove bbappend

The qtlocation bbappend has been replaced with one in meta-agl-core
to avoid collisions when combining with meta-agl-demo.

Bug-AGL: SPEC-4703

Change-Id: Icacdf7d4a5777bee8ee98b9cc103f64b6c52749f
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
21 months agoInitial support for raspberry pi 4 40/28440/1
Naoto Yamaguchi [Mon, 30 Jan 2023 16:31:34 +0000 (01:31 +0900)]
Initial support for raspberry pi 4

AGL IC container is supporting R-Car board.
This patch add raspberry pi4 support that aim to easy use hobbyists.

Bug-AGL: SPEC-4678

Change-Id: Ia0175d57b956d763f1ac8a81ae624a4b93b5f727
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2 years agometa-agl-test: Bump SRCREV 82/28382/1 14.93.0 14.94.0 octopus/14.93.0 octopus/14.94.0 octopus_14.93.0 octopus_14.94.0
duerpei [Sun, 16 Oct 2022 03:07:24 +0000 (11:07 +0800)]
meta-agl-test: Bump SRCREV

Bump agl-test-framework SRCREV to include recently added test sets
into the test framework.
By the way, change a code indentation which is not standard.

Bug-AGL: SPEC-4345

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

23 months agoagl-test-framework: Bump SRCREV 36/28236/2 14.92.0 octopus/14.92.0 octopus_14.92.0
duerpei [Wed, 14 Sep 2022 08:32:09 +0000 (16:32 +0800)]
agl-test-framework: Bump SRCREV

Bump agl-test-framework SRCREV to include recently added test sets
into the test framework.

Move the installation of the test set scripts to a new bbappend
file, and this will make subsequent maintenance easier.

Bug-AGL: SPEC-4345

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

23 months agometa-agl-test: provide pytest-order for framework 35/28235/2
yanxk [Sun, 11 Sep 2022 06:08:00 +0000 (14:08 +0800)]
meta-agl-test: provide pytest-order for framework

pytest-order is now ready for the framework to use.

it is now migrated into agl-test-framework.

Bug-AGL: SPEC-4345

Signed-off-by: yanxk <yanxk.fnst@fujitsu.com>
Change-Id: If5dbd30be3227086200469b394f78cc5df745317

2 years agometa-agl-flutter: Add option agl-shell plugin patch to embedder 43/28143/1 14.91.0 octopus/14.91.0 octopus_14.91.0
Scott Murray [Wed, 16 Nov 2022 06:03:09 +0000 (01:03 -0500)]
meta-agl-flutter: Add option agl-shell plugin patch to embedder

Add a patch to flutter-auto to add an optional agl_shell static
plugin to expose the activate_app call from the agl-shell Wayland
protocol that is used when running against the AGL compositor.
This provides a way for a homescreen application to activate other
application surfaces to switch between multiple applications as is
needed for the AGL demo.  A new PACKAGECONFIG option is defined to
control enabling the plugin, and it is enabled by default in our
build.

Upstreaming this will be discussed with the Toyota team.  Given the
previous discussion about not picking up significant meta-flutter
updates until after CES, it may be that the patch here is carried
for a while.

Bug-AGL: SPEC-4612

Change-Id: Ie8e06c88bbf082ee7dc5126dfb3b24b1bb8deabe
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2 years agovirtualization: Add virtio-can driver as external module. 05/28105/3
Vasyl Vavrychuk [Tue, 1 Nov 2022 21:04:36 +0000 (22:04 +0100)]
virtualization: Add virtio-can driver as external module.

This driver should conform RFC spec draft v2 [1].

This driver is based on RFC version [2].

Imported from internal OpenSynergy's revision:

  3918336a7caab95a72442c33945a193ca893d5e8

Supply build file `Kbuild` and do not supply makefile [3] since external
kernel module could be built without it. On the other hand, module
BitBake class relies on wrapper makefile presence, therefore
`MAKE_TARGETS` and `MODULES_INSTALL_TARGET` had to be set to specify
arguments per [3].

Add driver as an external module to avoid unnecessary kernel rebuild and
simplify future updates.

[1]: https://lists.oasis-open.org/archives/virtio-dev/202208/msg00159.html
[2]: https://lists.oasis-open.org/archives/virtio-dev/202208/msg00160.html
[3]: https://www.kernel.org/doc/html/v6.0/kbuild/modules.html

Change-Id: I9b654f58cc0c34983cd4103a5f7836263db79ec7
Bug-AGL: SPEC-4597
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoAllow building vosk-kaldi on arm32 and aarch64 08/28108/2
Jan-Simon Moeller [Wed, 2 Nov 2022 21:46:54 +0000 (22:46 +0100)]
Allow building vosk-kaldi on arm32 and aarch64

Remove -msse and -msse2 as they are x86 only flags.

Bug-AGL: SPEC-4600
Change-Id: I48f52c1c8be7ccfa2db9d70f09d81ad52006a891
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agoagl-compositor: Fix drm-lease patch 09/28109/1
Marius Vlad [Thu, 3 Nov 2022 16:33:33 +0000 (18:33 +0200)]
agl-compositor: Fix drm-lease patch

Synchronize with AGL compositor and update the drm-lease patch to allow
the AGL compositor to build.

Bug-AGL: SPEC-4601
Change-Id: Ia76c0de7269917cebe19c7b789b62646de1f7914
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
2 years agometa-agl-test: add 'aio-stress' to agl-test 59/28059/1
duerpei [Wed, 20 Jul 2022 06:45:43 +0000 (14:45 +0800)]
meta-agl-test: add 'aio-stress' to agl-test

Add the test set of aio-stress to agl-test

Bug-AGL: SPEC-4345

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

2 years agoagl-test-framework.bb: bump SRCREV 48/28048/1
duerpei [Wed, 13 Jul 2022 01:25:44 +0000 (09:25 +0800)]
agl-test-framework.bb: bump SRCREV

Bump agl-test-framework SRCREV and add scripts
of expat and bzip2 to the test framework.

Bug-AGL: SPEC-4345

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

2 years agometa-agl-test: updates due to framework adjustment 34/28034/1
duerpei [Thu, 30 Jun 2022 06:09:04 +0000 (14:09 +0800)]
meta-agl-test: updates due to framework adjustment

Due to the previous framework adjustment, the scripts for
running glib2 tests has been moved to 'agl-test-framework'.
And rpm will support its ptest later, and then its scripts
will also be placed under 'agl-test-framework'.
So 'agl-test-glib2.bb' and 'agl-test-rpm.bb' are no longer needed

The content under 'agl-test-framework' has changed,
so 'agl-test-framework.bb' has also been updated.

Bug-AGL: SPEC-4345

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

2 years agoagl-test: Add pyhton3-jinja2 module 16/28016/2
duerpei [Wed, 29 Jun 2022 06:19:02 +0000 (14:19 +0800)]
agl-test: Add pyhton3-jinja2 module

In the agl-test-framework, the jinja2 module need
to be called to process html files.
Remove repeat code from packagegroup-agl-extend-test

Bug-AGL: SPEC-4345

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

2 years agoAdd manifest comparison for IC images 51/27951/3
Naoto Yamaguchi [Sun, 28 Aug 2022 13:58:13 +0000 (22:58 +0900)]
Add manifest comparison for IC images

The agl-cluster-demo-lxc-host will start ci package check.
That work require to image manifest to compare reference image and build image.
This patch add manifest file for h3ulcb-kf.

Bug-AGL : SPEC-4465

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I7a131d7678d31c9a82b9c36cc0c6a7b011f551e3

2 years agoegvirt: linux-yocto: Support linux-yocto-dev for VIRTIO. 82/27882/5
Vasyl Vavrychuk [Mon, 8 Aug 2022 09:29:22 +0000 (11:29 +0200)]
egvirt: linux-yocto: Support linux-yocto-dev for VIRTIO.

Bug-AGL: SPEC-4453
Change-Id: Ib3641884bac404c7281df37e5ed4f4939e2830b4
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agometa-egvirt: Bump layer priority to 61. 86/27886/4
Vasyl Vavrychuk [Mon, 8 Aug 2022 12:07:01 +0000 (14:07 +0200)]
meta-egvirt: Bump layer priority to 61.

Bumped to have higher priority then meta-agl-bsp (60) to overlay
recipes files (in particular linux-yocto) from meta-agl-bsp.

Bug-AGL: SPEC-4453
Change-Id: Id558df0df39d7b3203da548a8c00db0cdd1a632c
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agodrm-lease: Bump SRCREV to fix ptest build failure 03/28003/1
Damian Hobson-Garcia [Fri, 16 Sep 2022 16:12:57 +0000 (01:12 +0900)]
drm-lease: Bump SRCREV to fix ptest build failure

Bug-AGL: SPEC-3848

Change-Id: Iafba35a4fedf81b09edef57d7610d3714023cbae
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agoagl-ic-container: Add missing kernel config for lxc-net on qemu 97/27997/2
Hiroyuki Ishii [Fri, 16 Sep 2022 02:53:51 +0000 (11:53 +0900)]
agl-ic-container: Add missing kernel config for lxc-net on qemu

On qemu network bridge setting by lxc-net service fails because
of missing kernel module as shown as following message:

  iptables v1.8.7 (legacy): unknown option "--checksum-fill"

With this change we'd like to add missing kernel config to fix
that.

Bug-AGL: SPEC-4464

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I73169289c84755e0eb9a28658e8337c79824ab1b

2 years agodrm-lease: Fix build error due to weston update 94/27994/1
Hiroyuki Ishii [Fri, 16 Sep 2022 00:32:17 +0000 (09:32 +0900)]
drm-lease: Fix build error due to weston update

The patches seems to be applied correctly without any changes, so
we just use wildcard to avoid build error due to version mis-matching.

Bug-AGL: SPEC-4564

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I61ab8beb1e97190c58987bf54217a9553efa6c39

2 years agometa-agl-flutter updates 76/27976/9
Joel Winarske [Wed, 7 Sep 2022 00:02:55 +0000 (17:02 -0700)]
meta-agl-flutter updates

-layer README
-flutter workspace configuration file
-consolidation of gallery json files
-remove flutter sdk version pin; now happens upstream
-add engine_sdk.zip to all images (non-production)
-add SSH server to debug and profile images
-factor out flutter-auto xdg-shell-app-id patch

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Change-Id: I6fdf1277bb4011126103f74eda5e230f34f497d7

2 years agometa-agl-test:add new feature 'agl-test' 13/27913/3
duerpei [Fri, 2 Sep 2022 06:20:45 +0000 (14:20 +0800)]
meta-agl-test:add new feature 'agl-test'

'agl-test' is used to compile the test sets and test framework into the
image, make it more convenient to test target.

Now it's only support the target agl-demo-platform(ivi)

Enable the  `agl-test` AGL feature when setting up your build environment
with aglsetup.sh.

This will add the `packagegroup-agl-extend-test` packagegroup to the image,
For specific packages to be added, please refer to the file:
    ./recipes-platform/packagegroup/packagegroup-agl-extend-test.bb

For running test using 'agl-test', refer to:
    https://git.automotivelinux.org/src/agl-test-framework/tree/README

Bug-AGL: SPEC-4345

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

2 years agoFix issue for separate directory building 73/27973/2
Naoto Yamaguchi [Tue, 6 Sep 2022 13:31:22 +0000 (22:31 +0900)]
Fix issue for separate directory building

At 2dd3bafb0c21d7f49fcc2945836924d9c052d268 commit has issue for it can't separate build.
At 2ab22b2df67f915c74efab68cf9e6e2424805dd2 commit, I fixed that issue.
In this patch I fix to that issue in recipe side.

Bug-AGL: SPEC-4551

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I3623bece877cb9cc76721f340d96eaab677ded17

2 years agoFix error for the packagegroup-agl-ic-core 74/27974/2
Naoto Yamaguchi [Tue, 6 Sep 2022 14:28:02 +0000 (23:28 +0900)]
Fix error for the packagegroup-agl-ic-core

After the kirkstone, packagegroup-agl-ic-core out the error message
in build time.

Ex:
ERROR: mc:agl-container-cluster:packagegroup-agl-ic-core-1.0-r0
  do_package_write_rpm: An allarch packagegroup shouldn't depend on
  packages which are dynamically renamed (libclusterapi-dbg to
  libcluster-api-dbg)

This error is depend on this commit.
   https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg155223.html

This patch add "PACKAGE_ARCH = "${TUNE_PKGARCH}"" to package group recipe
to fix this issue.

Bug-AGL: SPEC-4552

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I70f56e4a96a658cbcefa48ac688b49382b299879

2 years agoPin Flutter SDK to ensure reproducible builds 60/27960/1
Scott Murray [Thu, 1 Sep 2022 14:13:53 +0000 (10:13 -0400)]
Pin Flutter SDK to ensure reproducible builds

To ensure reproducibility as well as avoid build failures when
Google upstream runs ahead of meta-flutter, set FLUTTER_SDK_TAG to
pin the Flutter SDK components as opposed to the meta-flutter
default of letting them float.

Bug-AGL: SPEC-4545

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

2 years agoRename Instrument Cluster Container layer 88/27888/2
Jan-Simon Moeller [Tue, 9 Aug 2022 09:33:17 +0000 (11:33 +0200)]
Rename Instrument Cluster Container layer

meta-agl-lxc is no longer reflecting the actual content and use of the layer.
Rename it to  'meta-agl-ic-container' and the feature to 'agl-ic-container'.

Also rename the main image to 'agl-cluster-demo-lxc-host' to match the pattern used
by all other images  e.g. agl-<ivi,cluster,telematics>-demo-* .
But keep the names of the underlying images as-is.

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

2 years agoInitial integration for librefop 71/27871/4
Naoto Yamaguchi [Sat, 6 Aug 2022 04:41:11 +0000 (13:41 +0900)]
Initial integration for librefop

The librefop is a redundancy file operation library.
This patch is 1st integration in AGL.

Bug-AGL: SPEC-4500

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I1266e2683f2f427853a10d8db5d9f8db96d465e0

2 years agoRemove patch included upstream 87/27887/2
Jan-Simon Moeller [Mon, 8 Aug 2022 22:10:57 +0000 (00:10 +0200)]
Remove patch included upstream

We can remove 0001-Handle-switch-to-proc_ops.patch as it is available in the upstream codebase now.

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

2 years agoUpdate basesystem revision after build fix 84/27884/1
Jan-Simon Moeller [Mon, 8 Aug 2022 10:51:10 +0000 (12:51 +0200)]
Update basesystem revision after build fix

Update the SRCREV after the build issues was fixed.

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

2 years ago[RCAR] Update kernel-module-vspm-if recipice name 70/27870/1
Naoto Yamaguchi [Sat, 6 Aug 2022 04:25:41 +0000 (13:25 +0900)]
[RCAR] Update kernel-module-vspm-if recipice name

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

Bug-AGL: SPEC-4517

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ia900cc06e9a4d30f4a16c57d70a328f66c7b7dfa

2 years agoAdd missing do_install[network] for flutter-engine 65/27865/2
Jan-Simon Moeller [Fri, 5 Aug 2022 14:29:02 +0000 (16:29 +0200)]
Add missing do_install[network] for flutter-engine

This is missing and fails the build.

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

2 years agometa-agl-flutter: update agl-image-flutter-runtimedebug 69/27869/1
Scott Murray [Fri, 5 Aug 2022 14:38:24 +0000 (10:38 -0400)]
meta-agl-flutter: update agl-image-flutter-runtimedebug

The previous change missed removing the extra couple of unused apps
from agl-image-flutter-runtimedebug as was done with the other
variants, do so to keep the images consistent.

Bug-AGL: SPEC-4485

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

2 years agometa-agl-flutter: Simplify AGL integration 61/27861/1
Scott Murray [Thu, 4 Aug 2022 20:53:39 +0000 (16:53 -0400)]
meta-agl-flutter: Simplify AGL integration

Changes:
- Remove Igalia homescreen and Pumped Fuel app recipes since they
  duplicate what is in meta-flutter.  Now that there is a AGL
  Flutter demo image in meta-agl, any recipes or bbappends for
  apps should go there except for the flutter-gallery integration
  for agl-image-flutter (see below).
- Move flutter-gallery systemd unit changes out of flutter-auto
  bbappend to a new flutter-gallery bbappend to simplify using
  flutter-auto on its own.  To facilitate interoperation with the
  use of flutter-gallery in the agl-ivi-demo-platform-flutter image,
  the systemd files are split out into a -init package that has been
  added to agl-image-flutter.
- Added back a reworked version of the app-id command-line option
  patch in the flutter-auto bbappend with the option changed to
  --xdg-shell-app-id per upstream request.  This wil be submitted
  upstream as time permits.  The merged patches that were deleted have
  been removed from SRC_URI.

The intent of the above is to move to meta-agl-flutter just having the
minimal set of changes to integrate flutter-auto with AGL use, with
the agl-image-flutter image kept as a simple smoketest / example.

Bug-AGL: SPEC-4485

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

2 years agometa-agl-flutter refactor 58/27858/1
Joel Winarske [Thu, 4 Aug 2022 01:19:31 +0000 (18:19 -0700)]
meta-agl-flutter refactor

- application rename -> flutter-auto

- adopts upstream (meta-flutter) bbclass for runtime selection
  runtimedebug -> runtime=debug
  runtimeprofile -> runtime=profile
  runtimerelease -> runtime=release
  *This also affects image names*

- A discrete json files for each runtime configuration
  demuxing of runtime config happens in bbappend.

- prevent dev host conflict with flutter-auto.service in case
  of debug and profile.  The dev host machine controls
  homescreen in these scenarios.

- simplifies inc and recipes

Dependent on https://gerrit.automotivelinux.org/gerrit/c/AGL/AGL-repo/+/27850

Bug-AGL: SPEC-4326

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Change-Id: I877811417e3befab4d48a906058dcb52c81be4ce

2 years agoHotfix for flutter-sdk when built with archiver turned on 56/27856/1 13.92.0 needlefish/13.92.0 needlefish_13.92.0
Jan-Simon Moeller [Mon, 1 Aug 2022 20:08:46 +0000 (22:08 +0200)]
Hotfix for flutter-sdk when built with archiver turned on

We need to allow network also for do_ar_original.
https://github.com/meta-flutter/meta-flutter/blob/kirkstone/conf/include/flutter-version.inc#L12
does a network query.
Ideally this should be cached (e.g. what happens during a slow build and multiple queries could have

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

2 years agoivi-homescreen: improve AGL integration 37/27837/2
Scott Murray [Wed, 27 Jul 2022 23:19:58 +0000 (19:19 -0400)]
ivi-homescreen: improve AGL integration

Changes:
- For now add local patches for three changes that Marius has
  submitted upstream that fix issues with respect to running as
  a normal application against agl-compositor and configuration
  via the JSON configuration file.  The first of these patches has
  been merged upstream, but bumping the level of meta-flutter to
  get it brings other rework that it seems perhaps better to wait
  on a tagged upstream release for.
- Add another patch to add a '--app-id' command-line option to
  the embedder.  This avoids needing to use a JSON configuration
  file for simple (i.e. non-homescreen) applications when running
  multiple apps against agl-compositor.  The use of the example JSON
  file for the ivi-homescreen recipe itself has been left alone for
  now since it provides a reference for doing so.
- Rename the embedder binary from "homescreen" to "flutter" to
  avoid collision with the existing Qt homescreen application in
  meta-agl-demo.  This allows integrating Flutter applications into
  images using the Qt homescreen for testing in the period while a
  Flutter replacement is worked on.  Discussion about possibly
  renaming the embedder to something more generic along these lines
  has started with upstream.
- Split the embedder binary into a separate package from the
  ivi-homescreen package that contains the systemd unit file.
  We do not want the "homescreen" systemd unit when using the
  embedder in other images that use applaunchd, so this split seems
  the most straightforward way to avoid pulling it in.
- Remove installing the "homescreen" system level systemd unit, as
  it does not get used in agl-image-flutter (it is installed as a
  user unit instead).

Bug-AGL: SPEC-4485

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

2 years agometa-offline-voice-agent: Enable layer for offline voice recognition 94/27794/6
amanarora_09 [Fri, 22 Jul 2022 13:58:23 +0000 (15:58 +0200)]
meta-offline-voice-agent: Enable layer for offline voice recognition

- This enables offline voice recognition in AGL
- Can successfully run vosk API and vosk websocket server

Changes:
- Create a new layer: meta-offline-voice-recognition
- Create recipes for the the Vosk library, API, websocket server and model
- Create feature template for the layer (agl-offline-voice-agent)
- Add all required packages to IMAGE_INSTALL
- ptest enable recipe python3-vosk-api
- Few fixes

Bug-AGL: SPEC-4497

Change-Id: Icb290ceee22e2c3a51cbd67f7431701795f1201b
Signed-off-by: amanarora_09 <aman.arora9848@gmail.com>
2 years agoagl-lxc: Enable network bridge via lxc-net 68/27768/2
Hiroyuki Ishii [Thu, 14 Jul 2022 07:23:37 +0000 (16:23 +0900)]
agl-lxc: Enable network bridge via lxc-net

On lxc-host-image-demo, network (physical ethernet) is statically
assigned to the ivi-guest space currently. This may be a bit
problematic since the other guests and also host can't use network
for some future usecases, for example we can't login to host by
ssh. This change enables network bridge settings via lxc-net to
solve this problem.

Bug-AGL: SPEC-4475

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: Ic1a39b64de932f67b7be833d469ef1a80e0c52c9

2 years agodrm-lease: Update agl-compositor support 64/27764/3
Damian Hobson-Garcia [Wed, 13 Jul 2022 15:18:30 +0000 (00:18 +0900)]
drm-lease: Update agl-compositor support

Update the DRM lease support for agl-compositor to reflect upstream changes.

Bug-AGL: SPEC-4472

Change-Id: I306e02a6a7cc0a7046531f8d2ee09d808e69fcbd
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agoForce install kernel-image into lxc-host-image-minimal 86/27786/3
Naoto Yamaguchi [Thu, 21 Jul 2022 13:33:16 +0000 (22:33 +0900)]
Force install kernel-image into lxc-host-image-minimal

The AGL IC images use NO_RECOMMENDATIONS, that remove all recommend
packages.  Basically it mandatory option for IC EG QM stack.
In Yocto 4.0, kernel image package dependency changed from RDEPEND to
RRECOMMEND.  After that, lxc-host-image-xxx is not including kernel image.

This patch fix this issue.

Bug-AGL : SPEC-4464

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ie65d5519657e96179d408018e03b6330aad96e3b

2 years agoMove drm-lease-manager package to minimal image 85/27785/2
Naoto Yamaguchi [Thu, 21 Jul 2022 13:09:59 +0000 (22:09 +0900)]
Move drm-lease-manager package to minimal image

A drm-lease-manager is core package of AGL IC software stack.
It move into minimal image.
The meta-agl-lxc fully depend to meta-drm-lease.  I removed conditional
for drm-lease-manager installations.

Bug-AGL : SPEC-4464

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Id9d713bd66d90b5ec9007bb35d24abb321c0a4a9

2 years agoivi-homescreen_aglflutter.inc: Add a config.json for the shell client 82/27782/1
Marius Vlad [Wed, 20 Jul 2022 16:40:25 +0000 (19:40 +0300)]
ivi-homescreen_aglflutter.inc: Add a config.json for the shell client

Since the last update to ivi-homescreen it requires a JSON configuration
file. This one brings it to be able to bind to the agl-shell interface
and use the app gallery as the background surface.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7ec2c64308f028d7d25b3604bbe0cde32199aab9

2 years agoPort change to agl-compositor-init over from meta-agl-demo 80/27780/1
Jan-Simon Moeller [Tue, 19 Jul 2022 15:21:02 +0000 (15:21 +0000)]
Port change to agl-compositor-init over from meta-agl-demo

We need this packagegroup patch to get the image to work.

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

2 years agometa-agl-flutter:Application updates 71/27771/4
Joel Winarske [Fri, 15 Jul 2022 15:17:15 +0000 (08:17 -0700)]
meta-agl-flutter:Application updates

-upstream is now pinning ivi-homescreen
-fix breaking change.  Change --a to --b
-adds test apps to images: secure storage, EGL texture, and video_player
-adds Igalia homescreen to images
-add Pumped Fuel ped recipe to images

v2 (jsmoeller): fixup missing require in recipes
v3 (jsmoeller): rework duplication in recipes and use BBCLASSEXTEND
v4 (jsmoeller): add dependencies to application framework and pipewire
v5 (jsmoeller): update agl-image-flutter to use new naming

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I924335eb2ceb9ad91944630b43b72a6fe296b98d

2 years agoagl-lxc: Stably start lxc service after drm-lease-manager 61/27761/2 13.91.0 needlefish/13.91.0 needlefish_13.91.0
Hiroyuki Ishii [Tue, 12 Jul 2022 05:53:28 +0000 (14:53 +0900)]
agl-lxc: Stably start lxc service after drm-lease-manager

Since there is some race condition between initialization of
drm-lease-manager and startup of lxc guest images in
lxc-host-image-demo currently, we sometimes observe a startup
failure of the cluster-guest, especially on refhw platform,
due to delay of lease device creation.

This change adds unit dependencies between lxc and
drm-lease-manager so that lxc guests can be started after lease
devices creation stably.

Bug-AGL: SPEC-4427

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I16183c784d8e1132ba316f842e5dedc664ec2853

2 years agodrm-lease-manager: Enable systemd notify support 59/27759/3
Hiroyuki Ishii [Tue, 12 Jul 2022 00:56:15 +0000 (09:56 +0900)]
drm-lease-manager: Enable systemd notify support

We'd like to enable this for solving some timing issue between
drm-lease-manager and lxc in lxc-host-image-demo.

Bug-AGL: SPEC-4427

Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I60b7b0cfd8f5caee4cf0bfc9b9828edfd700b12a

2 years agojailhouse: Delete patch 0001-configs-arm64-Add-support-for-RPi4-with-more-than-1G... 45/27745/1
Zhou Mingying [Fri, 8 Jul 2022 09:02:24 +0000 (17:02 +0800)]
jailhouse: Delete patch 0001-configs-arm64-Add-support-for-RPi4-with-more-than-1G.patch not used any longer

The patch 0001-configs-arm64-Add-support-for-RPi4-with-more-than-1G.patch
is no longer used in jailhouse because of the update in
https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/26546.
So delete this patch.

Bug-AGL: SPEC-4434

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

2 years agoFix build error at wireplumber in case of agl-lxc building 03/27703/1
Naoto Yamaguchi [Wed, 6 Jul 2022 15:24:42 +0000 (00:24 +0900)]
Fix build error at wireplumber in case of agl-lxc building

meta-agl-lxc/recipes-multimedia/wireplumber/wireplumber_git.bbappend has recipe error.
This patch fix this recipe error.

Bug-AGL: SPEC-4458

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I54e6937c1cf61122666ca843de66b8615f6f0dfe

2 years agoFeature cleanup for Nifty Needlefish 36/27636/2
Jan-Simon Moeller [Tue, 14 Jun 2022 16:06:30 +0000 (16:06 +0000)]
Feature cleanup for Nifty Needlefish

Remove features with upstream deprecated or unmaintained:
- meta-ros
- agl-service-alexa and the voiceagent service

Bug-AGL: SPEC-4407

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

2 years agoEnable Wireplumber Policy instance in ivi guest image. 55/27255/12
Ashok Sidipotu [Thu, 17 Feb 2022 13:32:03 +0000 (19:02 +0530)]
Enable Wireplumber Policy instance in ivi guest image.

-add wireplumber-policy-config-agl recipe to guest, while
 wireplumber-config-agl remains in host.
-add packagegroup-pipewire-base which is needed by the policy recipe.
-mount host pipewire server socket in /var directory in guest image and
 define a PIPEWIRE_RUNTIME_DIR environment variable based on this new mount
 point.
-make the needed service file changes to have wireplumber policy
 instance start on its own with out depending on pipewire service, limit this
 change to lxc layers.
-install wireplumber@policy.service in sockets.targets.want directory,
 this is need for its self start, limit this change to lxc layers

Bug-AGL: SPEC-4100
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Change-Id: Ifbd7a026c75a199bb540c1593d5a93f67a4bde02

2 years agoFix wayland socket name 12/27512/3
Naoto Yamaguchi [Sat, 21 May 2022 09:14:07 +0000 (18:14 +0900)]
Fix wayland socket name

The default socket name was changed to wayland-1 in weston 10.0.
Each wayland client is using wayland-0 that is previous default name.

This patch change wayland socket name using environment variable.

Bug-AGL : SPEC-4394

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ia6c8dff50e7979c0f3b809e6df76a57be6dca7df

2 years agoFix firmware path at gles-user-module 11/27511/3
Naoto Yamaguchi [Sat, 21 May 2022 07:39:44 +0000 (16:39 +0900)]
Fix firmware path at gles-user-module

At commit 4f5cf5dc8de803407fa9d3ffa13994309edde985 in meta-agl change
firmware installation path /lib/firmware to
${nonarch_base_libdir}/firmware.
The gles-user-module.bbappend of meta-agl-lxc has divided firmware
only package from library packages.

This patch fix firmware installation path in file lists, that is
firmware only package.

Bug-AGL : SPEC-4394

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I638885b97db50aa8beac2f2df31ab6d52e44c831

2 years agoWorkaround for boot time crash issue in ivi-demo guest 10/27510/3
Naoto Yamaguchi [Mon, 16 May 2022 17:05:21 +0000 (02:05 +0900)]
Workaround for boot time crash issue in ivi-demo guest

After the multi connector support patch, weston crash in boot time in ivi-demo guest.
It depend on drm-lease-manager multi connector support and weston with ivi-shell.
But that detail doesn't clear now.

This patch is workaround for this issue.

Bug-AGL : SPEC-4372

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I08e0a19f65eaa3c9e021f409c7df880ccb374038

2 years agoRevert "drm-lease-manager: Add lease-manager deamon to runtime dependencies" 09/27509/3
Naoto Yamaguchi [Thu, 12 May 2022 15:26:04 +0000 (00:26 +0900)]
Revert "drm-lease-manager: Add lease-manager deamon to runtime dependencies"

The original patch added drm-lease-manager runtime dependency to wayland
compositor recipes.
As a result, when wayland compositor install to image, drm-lease-manager is
force install to that image.

In case of container integrations, drm-lease-manager shall install to
one root file system image only.  Because drm master (leaser) can run only
one process in one linux system.

This patch broke this limitations silently.  The other images of rootfs with
drm-master cause runtime error of drm-lease-mabager.

This runtime dependency need to delete.

Bug-AGL : SPEC-4373

This reverts commit 0452f5635eac8105a7fb3bd4fb78af1f016c7ee7.

Change-Id: Ifc471f2597e43897c0c2315851258d62b832ac8e
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2 years agoChange weston setting to connect to the drm-lease-manager. 08/27508/3
Naoto Yamaguchi [Wed, 11 May 2022 23:16:40 +0000 (08:16 +0900)]
Change weston setting to connect to the drm-lease-manager.

Previously, weston.service is using environment specific setting,
it propagated from bind mounted host side config file.
.
This patch remove this propagation.  After this patch,
these setting bring to lxc config files.

Bug-AGL: SPEC-4370

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I4f73a8ca08e149a82648ac5fcdf647c97edc2429

2 years agoCreate drm lease configuration for AGL IC container integration in R-Car H3 and M3... 07/27507/3
Naoto Yamaguchi [Wed, 11 May 2022 23:07:22 +0000 (08:07 +0900)]
Create drm lease configuration for AGL IC container integration in R-Car H3 and M3 environment

The drm-lease-manager improved multi connector support in one lease.  A meta-drm-lease
layer has example config for generic use case only.

This patch add drm lease config for AGL IC integrations.
Currently rpi4 and qemu support is under working, this patch support only a
R-Car H3 and M3 environment.

Bug-AGL: SPEC-4370

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I25113be28a541adc073637caf9180810eedd7ea9

2 years agoFix build issue for wayland-ivi-extension in kirkstone 06/27506/4
Naoto Yamaguchi [Sat, 21 May 2022 05:53:43 +0000 (14:53 +0900)]
Fix build issue for wayland-ivi-extension in kirkstone

The wayland-ivi-extention has some issue in kirkstone.
Fail to find_package task.
Fail to build source code.

This patch fix these issue and up rev to Upstream HEAD.

Bug-AGL : SPEC-4329

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I5bc34ec35d7af62939b08df143b37cc695613304

2 years agoFix a recipe issue cased by yocto update 05/27505/3
Naoto Yamaguchi [Sat, 21 May 2022 05:35:48 +0000 (14:35 +0900)]
Fix a recipe issue cased by yocto update

After the yocto update to kirkstone, meta-agl-lxc caused some recipe issue.
Some r-car bsp modification recipe has mismatch to new version.
Container config recipe has md5 hash mismatch with common license.
Fix path from /lib/systemd/ to ${D}/${systemd_unitdir}/.

This patch fix these issue.

Bug-AGL : SPEC-4394

Change-Id: Ibf40f74f028b59dcd59431916eeaeac4f4c56e16
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2 years agoegvirt: linux-yocto: Add virtio_bt driver. 72/27472/3
Vasyl Vavrychuk [Tue, 10 May 2022 17:43:29 +0000 (19:43 +0200)]
egvirt: linux-yocto: Add virtio_bt driver.

virtio-bt is not part of OASIS standard yet (v1.2) but Linux kernel has
driver for virtio transport for BT HCI.

Submit driver to meta-agl-devel since patch [1] is WIP and has a known
issue.

[1]: 0002-Bluetooth-virtio_bt-fix-device-removal.patch

Bug-AGL: SPEC-4363
Change-Id: Ib6851df24d430e991a4e9078345bef7e440fb6de
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoegvirt: linux-yocto: Remove virtio-scmi patches. 71/27471/3
Vasyl Vavrychuk [Tue, 10 May 2022 15:51:12 +0000 (17:51 +0200)]
egvirt: linux-yocto: Remove virtio-scmi patches.

Those patches are now in mainline kernel, so they are moved to meta-agl.

Bug-AGL: SPEC-3865, SPEC-4365
Change-Id: I08a184c6db63afef67a2e0906bc6a9a61ec4286f
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoegvirt: linux-yocto: Adapt for kernel v5.15. 70/27470/3
Vasyl Vavrychuk [Tue, 10 May 2022 14:13:12 +0000 (16:13 +0200)]
egvirt: linux-yocto: Adapt for kernel v5.15.

* Remove changes already present in v5.15.
* Refresh other patches.
* Document how to recreate kernel configs for future reference.

Bug-AGL: SPEC-4365
Change-Id: If8f900c9de7d8536364d71288902fd842d3ddc5f
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agometa-flutter updates 98/27598/1
Joel Winarske [Mon, 6 Jun 2022 21:59:17 +0000 (14:59 -0700)]
meta-flutter updates

-move flutter apps to common folder
-move do_compile[network] to app recipe

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Change-Id: Iac543d404ec5a56576998194687bd35dc61b68fc

2 years agoReplace "/etc" with "${sysconfidir}" 81/27481/3
duerpei [Fri, 13 May 2022 06:41:41 +0000 (14:41 +0800)]
Replace "/etc" with "${sysconfidir}"

make them more standardized

v2: also update ${D}/lib -> ${D}${libdir}
v3: updated FILES sections as well

Bug-AGL: SPEC-4374

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

2 years agoflutter-gallery: Add network access workaround 77/27477/3
Marius Vlad [Thu, 12 May 2022 08:54:48 +0000 (11:54 +0300)]
flutter-gallery: Add network access workaround

This is a temporary work-around to have a flutter-gallery bbapend until
external/meta-flutter is synced-up to include this fix. It allows
flutter sdk to be able to download whatever dependencies it needs to
build the gallery application.

Bug-AGL: SPEC-4371

Suggested-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I676d5d2f5b8b5977bb7b4d745b94cfb53459ac8e

2 years agometa-agl-basesystem: fix kernel-module-evklib build 55/27455/1
Scott Murray [Wed, 4 May 2022 19:56:06 +0000 (15:56 -0400)]
meta-agl-basesystem: fix kernel-module-evklib build

Add a patch to fix building kernel-module-evklib against 5.10.0 or
newer kernels, which is required to fix building the test image for
qemux86-64 (which now has 5.15).

Bug-AGL: SPEC-4343

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

2 years agoRemove generic-arm64 machine template 54/27454/1
Scott Murray [Wed, 4 May 2022 16:54:41 +0000 (12:54 -0400)]
Remove generic-arm64 machine template

The generic-arm64 machine template is moving to meta-agl, remove it
here.

Bug-AGL: SPEC-4353

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

2 years agometa-agl-basesystem: fix LIC_FILES_CHKSUM in a couple of recipes 53/27453/3
Scott Murray [Wed, 4 May 2022 13:54:27 +0000 (09:54 -0400)]
meta-agl-basesystem: fix LIC_FILES_CHKSUM in a couple of recipes

The SPDX license name conversion missed a couple of references to the
GPL-1.0 file in COMMON_LICENSE_DIR being pointed at in recipes'
LIC_FILES_CHKSUM definitions, update those to the new GPL-1.0-or-later
to avoid build failures.

Bug-AGL: SPEC-4343

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

2 years agoivi-homescreen_aglflutter: Use the agl-session for starting up 91/27391/6
Marius Vlad [Wed, 20 Apr 2022 10:00:55 +0000 (13:00 +0300)]
ivi-homescreen_aglflutter: Use the agl-session for starting up

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

2 years agodrm-lease: Add missing pkgconfig dependency to drm-lease-manager 13/27413/2
Damian Hobson-Garcia [Tue, 12 Apr 2022 09:18:41 +0000 (18:18 +0900)]
drm-lease: Add missing pkgconfig dependency to drm-lease-manager

Make sure that pkgconfig, which is necessary for compilation, is
properly specified as a build dependency.

Bug-AGL: SPEC-3815

Change-Id: I107b410c5c27ec824cd446db1339bb9a3ab603a3
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agodrm-lease: Update support for weston 10.0 12/27412/2
Damian Hobson-Garcia [Tue, 12 Apr 2022 04:17:26 +0000 (13:17 +0900)]
drm-lease: Update support for weston 10.0

Rebase drm-lease patches and remove changes that have already
been applied upstream.

BUG-AGL: SPEC-3815

Change-Id: Id524d221f91d0bdbac44c148e2983fab900070eb
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agodrm-lease: RPi4: Disable DRM_AUTH checks on wayland_clients 89/27389/6
Damian Hobson-Garcia [Thu, 14 Apr 2022 09:31:29 +0000 (18:31 +0900)]
drm-lease: RPi4: Disable DRM_AUTH checks on wayland_clients

DRM authentication does not work via a DRM Leases because the client
can only authenticate against a lease owner (primary node), since
the lease does not have a corresponding device file in the filesystem
for clients to open.

Bypassing DRM authentication by using render nodes is not yet fully
supported in mesa, so for now, just try to authenticate and
continue even if it fails.

Bug-AGL: SPEC-4317

Change-Id: Ie6c82162037964da697d3ece80a8c463980d2658
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agodrm-lease: add drm-lease-manager configuration for R-Car 88/27388/5
Damian Hobson-Garcia [Fri, 15 Apr 2022 07:55:23 +0000 (16:55 +0900)]
drm-lease: add drm-lease-manager configuration for R-Car

Add a drm-lease-manager configuration file that reflects
the available outputs on the renesas R-Car.  Also
adds the extra HDMI output from the kingfisher board if
available.

Bug-AGL: SPEC-3815

Change-Id: Idfccd63cbbba8e118df501e575625769f0ced293
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agodrm-lease: add drm-lease-manager configuration for RPi4 87/27387/5
Damian Hobson-Garcia [Fri, 8 Apr 2022 06:40:07 +0000 (15:40 +0900)]
drm-lease: add drm-lease-manager configuration for RPi4

Add a drm-lease-manager configuration file that reflects
the available outputs on the RPi4.

Bug-AGL: SPEC-3815

Change-Id: I75971dae1abb8fdb8147c98a2e9ca928ef5b9fe7
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agodrm-lease-manager: Add configuration file suppport 86/27386/5
Damian Hobson-Garcia [Fri, 8 Apr 2022 03:34:23 +0000 (12:34 +0900)]
drm-lease-manager: Add configuration file suppport

Use latest drm-lease-manager version and add a generic lease manager
configuration file. Platforms should override this with something
appropriate for their system.

Bug-AGL: SPEC-3815

Change-Id: I3c0a4b137e53dab7ff2782791cfca951e4c14e13
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agodrm-lease-manager: Add lease-manager deamon to runtime dependencies 73/27373/3
Damian Hobson-Garcia [Wed, 13 Apr 2022 08:19:54 +0000 (17:19 +0900)]
drm-lease-manager: Add lease-manager deamon to runtime dependencies

The build dependency only adds the DRM lease client package to the
built image.  Since the client and server packages have been separated,
the server needs to be explicitly added to the runtime dependencies
in order to be included.

Bug-AGL: SPEC-3815

Change-Id: I60429ba0431dde8628b35eeac1a3ea72933c2a9f
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agodrm-lease-manager: Rebase agl-compositor support patch 71/27371/3
Damian Hobson-Garcia [Fri, 8 Apr 2022 03:33:22 +0000 (12:33 +0900)]
drm-lease-manager: Rebase agl-compositor support patch

Rebase the patch so that it can be applied to the latest
mainline code.

Bug-AGL: SPEC-4297

Change-Id: Ib0e413e6aa8e9079a8a2ab8af1ec2691ec00308e
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2 years agometa-agl-flutter: Initial Kirkstone updates
Scott Murray [Sun, 17 Apr 2022 21:18:46 +0000 (17:18 -0400)]
meta-agl-flutter: Initial Kirkstone updates

Changes:
- Unpin Flutter SDK tag and ivi-homescreen SRCREV to track the
  upstream development against kirkstone for now.  This at least
  gets us to building an image.  It seems likely that when the
  Needlefish release happens these may need to be pinned again
  for reproducibility.
- Added a remove of the "gstreamer" option from the ivi-homescreen
  PACKAGECONFIG in the local bbappend.  This avoids needing to
  enable "commercial" licenses to allow ffmpeg to be pulled in.
  This will likely need further investigation around just what
  pieces are needed for upstream, as currently Flutter video
  playback is tied to it.  It may be that an AGL feature to
  enable commercial licenses specifically for this becomes
  necessary...

Note that while the above does allow building agl-image-flutter,
ivi-homescreen currently fails to start, so further investigation
is required.

Bug-AGL: SPEC-3819

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

2 years agometa-agl-lxc: rename LXC bbappend
Scott Murray [Mon, 11 Apr 2022 23:48:56 +0000 (19:48 -0400)]
meta-agl-lxc: rename LXC bbappend

Rename LXC bbapppend to handle upgrade to LXC 5.x upstream.

Bug-AGL: SPEC-3819

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

2 years agometa-agl-drm-lease: rename Weston bbappend
Scott Murray [Mon, 11 Apr 2022 23:47:06 +0000 (19:47 -0400)]
meta-agl-drm-lease: rename Weston bbappend

Rename Weston bbappend for upgrade to 10.0.0 in poky kirkstone, this
will at least avoid parse errors, further investigation is required
to get the local changes building.

Bug-AGL: SPEC-3819

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

2 years agoFix remaining use of old override syntax
Scott Murray [Mon, 11 Apr 2022 23:44:45 +0000 (19:44 -0400)]
Fix remaining use of old override syntax

Some usage of the old override syntax crept back in with recent
commits, fix those so that building with kirkstone is feasible.

Bug-AGL: SPEC-3819

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

2 years agometa-agl-lxc: Update license in config recipes
Scott Murray [Mon, 11 Apr 2022 23:39:17 +0000 (19:39 -0400)]
meta-agl-lxc: Update license in config recipes

The unversioned "BSD" license upstream has been removed to force
being specific in LICENSE declarations, update the lxc-config-*
recipes to indicate BSD-3-Clause.

Bug-AGL: SPEC-3819

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

2 years agoUpdate to SPDX license names
Scott Murray [Tue, 22 Feb 2022 16:15:05 +0000 (11:15 -0500)]
Update to SPDX license names

Apply updates from running the new convert-spdx-licenses script
from upstream.  This is not currently a hard requirement from
upstream, but futureproofs for when the license name mapping is
finally removed.

Bug-AGL: SPEC-3819

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

2 years agoAdd template for the generic-arm64 machine
Jan-Simon Moeller [Wed, 1 Sep 2021 12:47:23 +0000 (14:47 +0200)]
Add template for the generic-arm64 machine

This is a standard aarch64 (ARM 64bit) machine for use with
'SystemReady' (aka uefi) systems.

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

2 years agoDeclare layer compatibility with kirkstone
Scott Murray [Mon, 22 Feb 2021 22:50:59 +0000 (17:50 -0500)]
Declare layer compatibility with kirkstone

For tracking upstream, we need to update the layer compatibility.

Bug-AGL: SPEC-3819

Change-Id: I23423baa371ed1b8b4a9024d9ac6f0c4d7e48185
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2 years agometa-agl-jailhouse: Add kernel config. notes in Documentation 92/27192/4
Anmol Anmol [Wed, 2 Mar 2022 09:56:43 +0000 (09:56 +0000)]
meta-agl-jailhouse: Add kernel config. notes in Documentation

Add some configuration notes to the  `meta-agl-jailhouse.md` documentation for compiling the kernel separately with different configurations for backend and frontend VMs.

Change-Id: I422912d658dde7de44273063926aaa3028cda302
Signed-off-by: Anmol <anmol.karan123@gmail.com>
2 years agoSRCREV override fix 59/27259/3 12.93.0 marlin/12.93.0 marlin_12.93.0
Joel Winarske [Fri, 11 Mar 2022 00:57:28 +0000 (16:57 -0800)]
SRCREV override fix

-Lock ivi-homescreen version

v2 (jsmoeller): consolidate and apply missing include file

Bug-AGL: SPEC-4297

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I189d86b353c6a2f9c1691cc8186992887c25d547

2 years agoExtend drm-lease-manager support - Qt6.x eglfs-kms 70/27170/2
Naoto Yamaguchi [Sun, 13 Feb 2022 14:07:03 +0000 (23:07 +0900)]
Extend drm-lease-manager support - Qt6.x eglfs-kms

The drm-lease-manager has capability for other drm client support.
This patch extend support.

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I6f4b66e63e8662dca4679f18955f7fc693bbdf3d

2 years agometa-agl-drm-lease: Add DRM lease support to agl-compositor 43/27243/1
Damian Hobson-Garcia [Mon, 7 Mar 2022 07:29:22 +0000 (16:29 +0900)]
meta-agl-drm-lease: Add DRM lease support to agl-compositor

Allow agl-compositor to use a DRM lease as its output so
that it can be run in parallel with weston or other
applications that output via a DRM lease.

This will also allow the agl-demo-platform GUI to start
on boot when the agl-drm-lease dist feature is enabled.

AGL-Bug: SPEC-3838

Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Change-Id: I32f25eec1931fa93c563f5bc99edc9bfda132342

2 years agodrm-lease: Make drm-lease-manager sockets available to video group 42/27242/1
Damian Hobson-Garcia [Mon, 7 Mar 2022 06:16:09 +0000 (15:16 +0900)]
drm-lease: Make drm-lease-manager sockets available to video group

The default udev rules give read/write aceess to DRM devices for members
of the "video" group.  Use similar settings for drm-lease-manager's
lease sockets.

AGL-Bug: SPEC-3838

Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Change-Id: I214046d098905465a99ec9e9431496cb522173fb

2 years agoRevert "Workaround for booting time crash in R-CarH3SK wth Kingfisher board" 26/27226/1
Naoto Yamaguchi [Sat, 26 Feb 2022 10:21:00 +0000 (19:21 +0900)]
Revert "Workaround for booting time crash in R-CarH3SK wth Kingfisher board"

This reverts commit 59de37c489c605103b90924dbfa2c42b8eeda7d8.

This patch is workaround for kernel-module-gles in BSP5.5.
In BSP 5.9, this issue was resolved.

GL-Bug : SPEC-4269

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I8b4f0ea675a8d296d0489c0d5837be25173117fe

2 years agoRevert "BUG FIX: Some guest apps don't show own GUI frequently" 25/27225/1
Naoto Yamaguchi [Sat, 26 Feb 2022 10:15:45 +0000 (19:15 +0900)]
Revert "BUG FIX: Some guest apps don't show own GUI frequently"

This reverts commit 73c5c413ce8f3c9a0c47180bfd5df87494be9842.

This patch is workaround for wayland-wsegl in BSP5.5.
In BSP 5.9, this issue was resolved.

GL-Bug : SPEC-4269

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I7bb3b83e6347b2ccce74389aad7df864f155068b

2 years agoUpdate render node patch to fix build error in BSP 5.9 24/27224/1
Naoto Yamaguchi [Sat, 26 Feb 2022 10:06:05 +0000 (19:06 +0900)]
Update render node patch to fix build error in BSP 5.9

After BSP 5.9 is merged, linux-renesus fail building in drm-lease environment.
It causes bsp kernel change at
https://github.com/renesas-rcar/linux-bsp/commit/cd7ad23ceb3cbe67263ded2621dda08b4583b0f4

This patch update old patch to fix this build issue.

AGL-Bug : SPEC-4269

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Iea8f37c9dbd766a971693a637cd4d90b35d4eef0

2 years agoEnable agl-compositor using agl-compositor-init 67/27167/2
Jan-Simon Moeller [Fri, 11 Feb 2022 23:05:11 +0000 (00:05 +0100)]
Enable agl-compositor using agl-compositor-init

Add it to agl-image-flutter.inc.

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

2 years agoInput device support in ivi-demo guest 69/27169/1
Naoto Yamaguchi [Sat, 12 Feb 2022 05:57:42 +0000 (14:57 +0900)]
Input device support in ivi-demo guest

When weston is running in guset, it can't find input device.
It cause by udev data dependency for libinput.
IC EG member investigate some input support plan now,
but it require to long way.

This patch is workaround for next release to support input
device in ivi-demo guest. That based on CES2020 demo method.

Bug-AGL: SPEC-4136

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I622a53add8441374d3c3be6e905f46ee56d51dad

2 years agoFlutter updates 35/27135/5 12.92.0 marlin/12.92.0 marlin_12.92.0
Joel Winarske [Fri, 4 Feb 2022 18:23:54 +0000 (10:23 -0800)]
Flutter updates

- ivi-homescreen updates
 * 32-bit build support
 * EGL build time parameters
 * Remove build time dependency of libflutter_engine.so.
   Loads libflutter_engine.so at runtime.
 * Functional Mouse cursor plugin.
   Adds --t {theme name} CLI option
 * DEBUG Check fix for mouse
 * third party flutter source update
 * Re-work common code for plugins
 * Text plugin functional and enabled by default
 * Use check_ipo_supported to determine lto
 * Dart message callback -> print to stdout
 * Support building for iMX8/Vivante EGL
 * Use revised meta-flutter layout for defining systemd service

- move to latest commit for Igalia Flutter Demo application

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Change-Id: Icfb7292537b3300e3af778c4934551c5d93f1727

2 years agoUpdate the description of packagegroup-agl-basesystem.bb 39/27039/1 12.91.0 marlin/12.91.0 marlin_12.91.0
Riku.Nomoto [Sun, 19 Dec 2021 01:52:06 +0000 (10:52 +0900)]
Update the description of packagegroup-agl-basesystem.bb

The previous description was misleading to developers.

Previous : "AGL Core Package Groups"
Now : "AGL Basesystem Core Package Groups"

Refer to https://jira.automotivelinux.org/browse/SPEC-4091

Signed-off-by: Riku.Nomoto <riku.nomoto@woven-planet.global>
Change-Id: I1ba281fc1ad0206c7fcd1e48ab206a75fef7454e

2 years agometa-agl-jailhouse: Documentation for manual configuration 75/26875/2
Anmol Karn [Wed, 17 Nov 2021 22:03:58 +0000 (03:33 +0530)]
meta-agl-jailhouse: Documentation for manual configuration

Add Documentation for manually configuring the setup for
virtio-over-ivshmem.

Signed-off-by: Anmol Karn <anmol.karan123@gmail.com>
Change-Id: I41d7c3aafc7a0f1828033c79c7621c9c58f19ce3

2 years agoAdd template extension to pull in meta-clang layer when building flutter 97/26997/2
Jan-Simon Moeller [Thu, 9 Dec 2021 13:52:22 +0000 (14:52 +0100)]
Add template extension to pull in meta-clang layer when building flutter

Add AGL_META_CLANG to avoid duplicate inclusion of meta-clang layer.

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

2 years agoAdd meta-agl-flutter layer 68/26868/27
Joel Winarske [Mon, 15 Nov 2021 17:32:07 +0000 (09:32 -0800)]
Add meta-agl-flutter layer

- agl-image-flutter
  baseline agl-compositor based image that includes:
    ivi-homescreen - Toyota Flutter Embedder
    flutter gallery - Flutter Demo Application
    flutter_homescreen - Igalia Demo Application
- flutter-app-homescreen - Igalia flutter_homescreen app
- ivi-homescreen bbappend to lock SRCREV

Bug-AGL: SPEC-3852

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Change-Id: I58779ab093e9d23a88005e60ef28b9133eca2479

2 years agotemplates/feature/agl-egvirt: Install virtio-video driver and necessary gst plugins. 27/26927/2
Vasyl Vavrychuk [Tue, 23 Nov 2021 05:35:33 +0000 (06:35 +0100)]
templates/feature/agl-egvirt: Install virtio-video driver and necessary gst plugins.

Bug-AGL: SPEC-4148
Change-Id: I565078680f6527185706b449700e2fc7ddf685e0
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>