AGL/meta-agl-devel.git
16 months agoFix error for the packagegroup-agl-ic-core 87/28287/2 needlefish 14.0.3 14.0.4 14.0.5 needlefish/14.0.3 needlefish/14.0.4 needlefish/14.0.5 needlefish_14.0.3 needlefish_14.0.4 needlefish_14.0.5
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
(cherry picked from commit 73676a6fd1ccede1f804375640b93ddd6b92118e)

16 months agoFix issue for separate directory building 88/28288/1
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
(cherry picked from commit 0dd1e7508ac5b710cf0b94fa7e6b56089f760b46)

17 months agometa-agl-flutter: Add option agl-shell plugin patch to embedder 66/28166/1
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>
18 months agoAllow building vosk-kaldi on arm32 and aarch64 80/28080/1 14.0.2 needlefish/14.0.2 needlefish_14.0.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>
19 months agoagl-ic-container: Add missing kernel config for lxc-net on qemu 96/27996/2 14.0.1 needlefish/14.0.1 needlefish_14.0.1
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

19 months agodrm-lease: Fix build error due to weston update 95/27995/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

20 months agometa-agl-flutter updates 23/27923/1
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
(cherry picked from commit ee6873ad9024399cc69f81bab2745eb3a0bb3649)

20 months agoPin Flutter SDK to ensure reproducible builds 19/27919/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

21 months agoRename Instrument Cluster Container layer 03/27803/3 14.0.0 needlefish/14.0.0 needlefish_14.0.0
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

21 months agoInitial integration for librefop 00/27800/3
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

21 months agoRemove patch included upstream 02/27802/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

21 months agoUpdate basesystem revision after build fix 01/27801/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

21 months ago[RCAR] Update kernel-module-vspm-if recipice name 99/27799/1 13.93.0 needlefish/13.93.0 needlefish_13.93.0
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
(cherry picked from commit 00f2929842da9894bac4db736a2d2f3af003731f)

21 months agoAdd gitreview file for Nifty Needlefish branch
Jan-Simon Moeller [Fri, 5 Aug 2022 22:38:55 +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: Ibc530b63a34dd4f9b0378861feaec3f4fb5c4458

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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>
21 months 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

21 months 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>
21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

22 months 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

22 months 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

22 months 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

22 months 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

23 months 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

23 months 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

23 months 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

23 months 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

23 months 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

23 months 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>
23 months 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

23 months 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

23 months 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

23 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>
2 years agovirtualization: Add virtio-video driver as external module. 25/26925/2
Vasyl Vavrychuk [Mon, 22 Nov 2021 11:38:06 +0000 (12:38 +0100)]
virtualization: Add virtio-video driver as external module.

This driver should conform WIP spec v3 [1] with some updates for spec v4
[2], and, some unspecified features such as VIRTIO_VIDEO_DEVICE_CAMERA.

Imported from internal OpenSynergy's revision:

  bcc33b6b9e0156b381a70c54d2df02c57b63d270

Kernel was configured with necessary features for this driver:

  enable MEDIA_SUPPORT
  disable MEDIA_SUBDRV_AUTOSELECT
  enable MEDIA_PLATFORM_SUPPORT
  enable VIDEO_VIRTIO

Keep driver as an external module to simplify future updates.

[1]: https://lists.oasis-open.org/archives/virtio-dev/202002/msg00002.html
[2]: https://lists.oasis-open.org/archives/virtio-dev/202006/msg00072.html

Bug-AGL: SPEC-4148
Change-Id: Iea339194b22443f67b3e2ffddca84118357a2f15
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoagl-lxc: rcar-gen3: Support agl-refhw-h3 in lxc demo 54/26954/2
Hiroyuki Ishii [Fri, 3 Dec 2021 05:08:56 +0000 (14:08 +0900)]
agl-lxc: rcar-gen3: Support agl-refhw-h3 in lxc demo

Added tentative mechanism for determining multi-display support
and added agl-refhw-h3 into that multi-display group as same as
kingfisher. After this change two demo containers (cluster and
ivi) can be boot automatically on agl-refhw-h3 board by running
lxc-host-image-demo.

BUG-AGL: SPEC-4155

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

2 years agoWorkaround for booting time crash in R-CarH3SK wth Kingfisher board 59/26959/1
Naoto Yamaguchi [Tue, 30 Nov 2021 23:30:51 +0000 (08:30 +0900)]
Workaround for booting time crash in R-CarH3SK wth Kingfisher board

When I run AGL Instrument Cluster with IVI in R-CarH3SK wth Kingfisher
board, it's frequently crash at booting time.
RGX driver has race condition issue at firmware download time.  This issue
occur in multi compositor environment such as IC container integration.
This issue will fix by renesas in next BSP update time, may be.

This patch enable workaround for this race condition issue.

AGL-Bug : SPEC-4164

Change-Id: I5ca3affdfd681fd08391805ee765b3252afe190f
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2 years agovirtualization: linux-yocto build fail due to missing FILESEXTRAPATHS:prepend. 17/26917/2
Vasyl Vavrychuk [Tue, 23 Nov 2021 05:26:18 +0000 (06:26 +0100)]
virtualization: linux-yocto build fail due to missing FILESEXTRAPATHS:prepend.

Apparently linux-yocto with meta-egvirt enabled was not built.

Bug-AGL: SPEC-3865
Change-Id: I4e70ea0ec9e57b3c12e67fe2f9e533f2b78e1518
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agometa-agl-jailhouse: Change kernel branch 73/26873/4
Anmol Karn [Wed, 17 Nov 2021 18:12:32 +0000 (23:42 +0530)]
meta-agl-jailhouse: Change kernel branch

Current branch i.e `queues/jailhouse` is rebased, and there is some work going on towards more stable kernel branch with virtio-over-ivshmem support in `queues/jailhouse-5.14`, and it would be better to shift to this branch.

Chage kernel branch from `queues/jailhouse` -> `queues/jailhouse-5.14` from Jan Kiszka's kernel tree.

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

2 years agoImprovement flexibility for lxc-config 66/26866/7
Naoto Yamaguchi [Sat, 13 Nov 2021 10:20:31 +0000 (19:20 +0900)]
Improvement flexibility for lxc-config

Existing lxc config creation recipe is supporting two type string
replacing.  The network interface setting has required to multi line
replacing at aec683913cd645fcf18d7633a12a7b4b42215f69.
These flexibility will support by container manager that is under
developing. But we need quick solution for that now.

This patch provide quick solution. This patch support any network
interface usage in guest.

Bug-AGL: SPEC-4132

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

2 years agoCreate image specific weston setting method 48/26848/14
Naoto Yamaguchi [Sat, 9 Oct 2021 15:50:39 +0000 (00:50 +0900)]
Create image specific weston setting method

In patch of
"Fix: weston is not running after BSP 5.5 merged in cluster-demo",
I created common weston-init recipe for container guest.

This patch add image specific weston setting method.

Bug-AGL: SPEC-4099

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

2 years agoAdd automatic start support for IVI guest. 60/26860/8
Naoto Yamaguchi [Mon, 8 Nov 2021 15:23:09 +0000 (00:23 +0900)]
Add automatic start support for IVI guest.

Currently IVI guest doesn't start automatically.

IVI guest shall not start in single display environment.
IVI guest shall start in dual display environment such as kingfisher.

This patch add automatic start support for IVI guest in dual
display environment.

Bug-AGL : SPEC-4135

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

2 years agoBUG FIX: Some guest apps don't show own GUI frequently 59/26859/9
Naoto Yamaguchi [Mon, 8 Nov 2021 14:51:48 +0000 (23:51 +0900)]
BUG FIX: Some guest apps don't show own GUI frequently

Some guest apps don't show own GUI frequently.
This bug is caused by wayland-wsegl, but it is depend on drm-lease
environment use case.

This bug was fixed in
https://github.com/renesas-rcar/wayland-wsegl/commit/5a0a17bc0dafe577ec02ad2205c25bc8acb2c5e6
https://github.com/renesas-rcar/wayland-wsegl/commit/10c7f13a3d868d489054d8af4463bb68036055c6
But that fixed version can't use in Renesas BSP 5.5.

This patch backport those patch to Renesas BSP 5.5 environment.

Bug-AGL: SPEC-4134

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

2 years agoChange map style in momnavi 58/26858/8
Naoto Yamaguchi [Sun, 17 Oct 2021 13:59:16 +0000 (22:59 +0900)]
Change map style in momnavi

Existing mominavi use light map style.  On the other hand, other app coloring is dark.
This patch adjust mominavi map style with other apps.

Bug-AGL: SPEC-4095

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

2 years agoAdd momiscreen into ivi guest 56/26856/8
Naoto Yamaguchi [Sun, 17 Oct 2021 13:57:29 +0000 (22:57 +0900)]
Add momiscreen into ivi guest

The momiscreen is example home screen for IVI guest demo.
This patch add momiscreen.

Bug-AGL: SPEC-4101

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

2 years agoBUG FIX: mominavi is not showing map 55/26855/9
Naoto Yamaguchi [Tue, 12 Oct 2021 22:17:54 +0000 (07:17 +0900)]
BUG FIX: mominavi is not showing map

Current ivi-demo is not showing map. It has some bugs.
 Not enabling the mapbox plugin in qtlocation.
 Not enabling the sqlite in qt-base.
 Not including the font in image.
 Not including the ca-certificates in image.

This patch fix these issue.

Bug-AGL: SPEC-4095

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

2 years agoEnable network connection in ivi guest 52/26852/9
Naoto Yamaguchi [Tue, 12 Oct 2021 22:06:06 +0000 (07:06 +0900)]
Enable network connection in ivi guest

In ivi guest, must require to internet connections.
This patch enable network connection in ivi guest.

Detaille:
 Bind eth0 device to ivi guest.
 Enable systemd-networkd to manage network connection.
 Add network interface setting to set IP address using dhcp.

Bug-AGL: SPEC-4132

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

2 years agoInstall demo apps to ivi demo image 50/26850/9
Naoto Yamaguchi [Sun, 7 Nov 2021 15:24:30 +0000 (00:24 +0900)]
Install demo apps to ivi demo image

This patch add mominavi and momiplay to guest-image-ivi-demo
with dependent packages.

Bug-AGL: SPEC-4099

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

2 years agoRe-structure for guests 47/26847/10
Naoto Yamaguchi [Sat, 9 Oct 2021 15:47:06 +0000 (00:47 +0900)]
Re-structure for guests

In previously patch, I created new guest image for ivi demo.
As a trial result using initial patch, I think so need to common
OVERRIDES keyword and specific OVERRIDES keyword.

This patch create cluster specific config and modify OVERRIDES keyword.

Bug-AGL: SPEC-4099

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

2 years agoCreate new image for ivi container demo 46/26846/10
Naoto Yamaguchi [Wed, 6 Oct 2021 22:22:31 +0000 (07:22 +0900)]
Create new image for ivi container demo

AGL IC integration will have two guests, one of the cluster demo,
one of the simple ivi demo.

This patch add initial support for ivi container for demo.

Bug-AGL: SPEC-4099

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