AGL/meta-agl-devel.git
7 months agoAdd support Salvator-x H3/M3 to IC container demo 06/29206/2 pike 16.0.2 16.0.3 16.0.4 16.0.5 pike/16.0.2 pike/16.0.3 pike/16.0.4 pike/16.0.5 pike_16.0.2 pike_16.0.3 pike_16.0.4 pike_16.0.5
Hau Vo [Fri, 29 Sep 2023 04:21:15 +0000 (13:21 +0900)]
Add support Salvator-x H3/M3 to IC container demo

This enable lxc auto start on Salvator-x H3/M3 and specify drm interface for M3.

Bug-AGL: SPEC-4808

Signed-off-by: Hau Vo <hau.vo.ra@renesas.com>
Change-Id: I45e9ff5453655f814f067ec1f48611ee4cea8442
(cherry picked from commit 88775acac57bdd2184180ad672a410b1155f1e1f)

7 months agoFix missing gles-user-module-firmware in agl-cluster-demo-lxc-host image 07/29207/1
Hau Vo [Fri, 29 Sep 2023 04:15:55 +0000 (13:15 +0900)]
Fix missing gles-user-module-firmware in agl-cluster-demo-lxc-host image

rcar platform need gles-user-module-firmware for graphics

Bug-AGL: SPEC-4808

Signed-off-by: Hau Vo <hau.vo.ra@renesas.com>
Change-Id: I0dfc229b185bbe039a01f1c8a2f4ce031fbbc728
(cherry picked from commit adbf2076b5ac6355f4e0b09b1d2baef3e515fb5c)

7 months agoUnified HMI: initial commit 42/29242/1
Fumiya Kohzu [Thu, 22 Jun 2023 11:17:58 +0000 (20:17 +0900)]
Unified HMI: initial commit

This is the initial commit for RVGPU of Unified HMI.

`Unified HMI` is a common platform that promotes UX innovation
in integrated cockpits and enables flexible information display
from various applications across multiple displays.

`RVGPU` is a client-server based rendering engine
that creates 3D commands on a client device, sends them to a server
for GPU rendering, and displays the results.

- create new layer, meta-uhmi
- create sub-layer, meta-rvgpu
- add 1 feature to enable basesystem, agl-rvgpu

Bug-AGL: SPEC-4744
Change-Id: I9b6f3966e3d5a859787f81c41b584fa686fd1f87
Signed-off-by: Fumiya Kohzu <kohzu.fumiya@jp.panasonic.com>
8 months agoFix agl IC demo is not show both screen 97/29197/1 16.0.1 pike/16.0.1 pike_16.0.1
Naoto Yamaguchi [Sun, 20 Aug 2023 02:10:24 +0000 (11:10 +0900)]
Fix agl IC demo is not show both screen

In R-Car platform such as ref-hw is not show cluster and ivi screen.
It cause by installing gles-user-module-firmware into guest image.
gles-user-module-firmware is installed by kernel-module-gles dependency.
kernel-module-gles is installed by MACHINE_EXTRA_RRECOMMENDS from agl_rcar.inc,
but this environment variable can't delete in guest build.

This patch fix this issue.

Bug-AGL: SPEC-4888

Change-Id: Ica0f8d6ef48d30333bbccdff7380471b11ad063c
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
(cherry picked from commit 452232c0acd8753bc70aa0af04171f606e132be0)

9 months agoAdd gitreview file for Prickly Pike branch 15.93.0 16.0.0 pike/15.93.0 pike/16.0.0 pike_15.93.0 pike_16.0.0
Jan-Simon Moeller [Mon, 31 Jul 2023 15:28:13 +0000 (17:28 +0200)]
Add gitreview file for Prickly Pike branch

Update the .gitreview file.

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

9 months agometa-agl-flutter/recipes-graphics/toyota: Hot fix for current mode 31/29031/3
Marius Vlad [Mon, 19 Jun 2023 07:48:07 +0000 (10:48 +0300)]
meta-agl-flutter/recipes-graphics/toyota: Hot fix for current mode

The flags entry is bitmasked between preferred and current mode, which
we didn't account at all. This adds a temporary patch to fix that until
meta-flutter is updated with it.

Bug-AGL: SPEC-4841
Change-Id: I930bbaed59e468803e16cbb2c72df440a0c30746
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
9 months agokbd: Add ptest support 38/29038/3 15.92.0 pike/15.92.0 pike_15.92.0
Qiu Tingting [Wed, 28 Jun 2023 02:53:25 +0000 (10:53 +0800)]
kbd: Add ptest support

Add a ptest for kbd.

It is a backport for
  https://lists.openembedded.org/g/openembedded-core/topic/patch_v4_kbd_add_ptest/99258821
It should be deleted after yocto version up.

SPEC-4753

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Change-Id: I98d0781239f17b01bb9cba3f06a3dfc100fc201f

10 months ago[wam][cef] Add the agl-cef feature to use cef as a wam backend 47/29047/2
Roger Zanoni [Thu, 13 Jul 2023 21:08:22 +0000 (23:08 +0200)]
[wam][cef] Add the agl-cef feature to use cef as a wam backend

Bug-AGL: SPEC-3872

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

10 months agoAdapt basesystem image to the packagegroup changes 51/29051/1
Jan-Simon Moeller [Fri, 14 Jul 2023 01:58:12 +0000 (03:58 +0200)]
Adapt basesystem image to the packagegroup changes

This brings the image up-to-date with the recent changes.

Bug-AGL: SPEC-4813

Change-Id: I99769ef011ba8d6c6ae3e9e2f6b65172797feb9d
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agoFix a parse error for weston and kmscube 05/29005/3 15.91.0 15.91.1 pike/15.91.0 pike/15.91.1 pike_15.91.0 pike_15.91.1
Naoto Yamaguchi [Thu, 8 Jun 2023 15:08:52 +0000 (00:08 +0900)]
Fix a parse error for weston and kmscube

After the this patch https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/28877
These recipe out error for patch file not found.
This patch fix to it.

Bug-AGL: SPEC-4825

Change-Id: Ic8aa59f3571ed873f62a0513d85c77764407bc1b
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agometa-agl-flutter: update for meta-agl-core changes 98/28998/2
Scott Murray [Tue, 6 Jun 2023 21:06:54 +0000 (17:06 -0400)]
meta-agl-flutter: update for meta-agl-core changes

Changes:
- Pull in image .bb files instead of .inc files.
- Use agl-image-compositor as the base image for agl-image-flutter.
  instead of the appending done to agl-image-weston and its
  packagegroup previously.
- Rework flutter-gallery systemd unit to work again, and update our
  bbappend to install it as disabled as an option for starting up
  flutter-gallery in agl-image-flutter.  It seems useful to keep it
  present to serve as an example of starting Flutter apps via
  systemd and using the agl-flutter-env package.
- Some minor documentation updates in README.md.
- Replace some :append usage with += to avoid creating problems
  for downstream users.

Bug-AGL: SPEC-4813

Change-Id: I8a61d6365ce69ac50b88abc7bc451486b3e1b339
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agometa-agl-ic-container: update for meta-agl-core changes 97/28997/2
Scott Murray [Tue, 6 Jun 2023 20:44:20 +0000 (16:44 -0400)]
meta-agl-ic-container: update for meta-agl-core changes

Changes:
- Pull in image .bb files instead of .inc files.
- Remove IMAGE_LINGUAS definitions, as they were the same as the
  default value in meta-agl-core.
- Replace some :append usage with += to avoid creating problems
  for downstream users.

Bug-AGL: SPEC-4813

Change-Id: I78a865057c9679fa7dd010ee8f99ee6424ecfb40
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agometa-agl-flutter: fix flutter-gallery build 95/28995/1
Scott Murray [Wed, 7 Jun 2023 15:05:56 +0000 (11:05 -0400)]
meta-agl-flutter: fix flutter-gallery build

Add a SRCREV override for flutter-gallery to pick up the version
that was used with Flutter 3.3.x in meta-flutter. This matches our
override of FLUTTER_SDK_TAG to use Flutter 3.3.7, and fixes the
build of it and hence agl-image-flutter.  The override has been
added in agl-flutter.inc to be visible beside the Flutter version
override so they can be updated/removed at the same time easily.

Bug-AGL: SPEC-4819

Change-Id: I27207baa78a498d9e52c21f0b093a3d3bb671f37
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agoflutter-auto: refresh agl-shell platform channel plugin patch 89/28989/1
Scott Murray [Mon, 5 Jun 2023 21:55:13 +0000 (17:55 -0400)]
flutter-auto: refresh agl-shell platform channel plugin patch

Refresh our platform channel plugin patch to fix fuzz warnings
after the latest flutter-auto update.

Bug-AGL: SPEC-4819

Change-Id: I5b7a40235d3601d95fe7c6f07d2bfddb83bdba64
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agometa-agl-flutter: add agl-flutter-env 82/28982/1
Scott Murray [Fri, 2 Jun 2023 14:48:45 +0000 (10:48 -0400)]
meta-agl-flutter: add agl-flutter-env

Add agl-flutter-env recipe that installs a /etc/default/flutter
environment file that can be sourced to get the default Flutter
version and runtime type.  The variable AGL_FLUTTER_DEFAULT_RUNTIME
can be overridden at build time to switch the default runtime from
release to something else.

Bug-AGL: SPEC-4819

Change-Id: I33ef50c932116aecddb746007722ce8163079389
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agoFlutter bbclass refactor 72/28972/3
Joel Winarske [Thu, 1 Jun 2023 01:35:35 +0000 (18:35 -0700)]
Flutter bbclass refactor

-remove use of bbclass runtime modes
-use external automation-workspace repo

Scott Murray:
- update flutter-auto agl-shell platform channel plugin patch with
  reworked version from Marius Vlad.

Bug-AGL: SPEC-4819

Change-Id: I7510f916ab70d8bab78fdb9ab235092f84c3713a
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
11 months agoEnsure meta-agl-drm-lease does pass yocto-check-layer and has run-yocto-check-layer... 77/28877/3
Jan-Simon Moeller [Thu, 11 May 2023 15:09:44 +0000 (17:09 +0200)]
Ensure meta-agl-drm-lease does pass yocto-check-layer and has run-yocto-check-layer.sh scripts

Ensure the layers do pass again and that the scripts are up-to-date.

Bug-AGL: SPEC-4680
Bug-AGL: SPEC-4686
Change-Id: Id1279d4a43b89d50731dd85e9347d35d524e14b7
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agoe2fsprogs: fix ptest bug for second running 22/28922/2
Qiu Tingting [Tue, 23 May 2023 07:09:54 +0000 (15:09 +0800)]
e2fsprogs: fix ptest bug for second running

At second running, there are four new failed case:
  d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize

The test_data.tmp is necessary, but it is deleted by run-ptest.
So it should be restored after testing.

It is a backport for
  http://cgit.openembedded.org/openembedded-core/commit/?h=master-next&id=d0d08dd9a8a179e25b9cfcbac696c1d212a1910c
It should be deleted after yocto version up.

SPEC-4753

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Change-Id: I9206ec35ed9964a9136cdddee084a4c80ca13560

11 months agoagl-test-framework: Bump SRCREV 96/28896/2
duerpei [Tue, 16 May 2023 01:45:46 +0000 (09:45 +0800)]
agl-test-framework: Bump SRCREV

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

Bug-AGL: SPEC-4755

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

11 months agoDeclare dependencies of meta-agl-ic-container layer 82/28882/2
Jan-Simon Moeller [Fri, 12 May 2023 13:16:31 +0000 (15:16 +0200)]
Declare dependencies of meta-agl-ic-container layer

The layer is missing its dependencies in conf/layer.conf.
Add them to conf/layer.conf.

Also add a first draft of the yocto-check-layer wrapper.

Bug-AGL: SPEC-4777
Change-Id: I84e9c1dd917e3037c838021e146d7f66965c963d
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
11 months agoImprovement to psplash recipe using service override 20/28920/3
Naoto Yamaguchi [Sun, 21 May 2023 05:04:04 +0000 (14:04 +0900)]
Improvement to psplash recipe using service override

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

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

Bug-AGL: SPEC-4804

Change-Id: I350a4627b8062ec418016a72b20af2e9d0f2a9a0
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
11 months agoEnable logging solution in AGL IC container integration 19/28919/2
Naoto Yamaguchi [Sat, 20 May 2023 22:58:26 +0000 (07:58 +0900)]
Enable logging solution in AGL IC container integration

In case of container isolation, a logs of each container
record inside a container.  When developer want to analyze
system using logs, they need to combine log file
between host and guest.

This patch enable system wide logging solution for
AGL IC container integration.
This architecture describe in
https://confluence.automotivelinux.org/display/IC/Architecture+design+for+logging

Bug-AGL: SPEC-4005

Change-Id: I331474530131e6a87b41639444d705c8293d4c0c
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoRe-migrate r-car specific package installation from dynamic layer to machine overrides 98/28898/1
Naoto Yamaguchi [Tue, 16 May 2023 15:44:04 +0000 (00:44 +0900)]
Re-migrate r-car specific package installation from dynamic layer to machine overrides

At https://jira.automotivelinux.org/browse/SPEC-4794, we are discuss
shall use dynamic layer or machine overrides.
As a result, we got common agreement to use machine overrides.

Bug-AGL : SPEC-4794

Change-Id: I83583dbf9f7fa2c67cb12b477bf915d2433bffa3
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoRevert "Write back group setting to original at 72-pvr-seat.rule" 91/28891/1
Naoto Yamaguchi [Sat, 13 May 2023 15:09:11 +0000 (00:09 +0900)]
Revert "Write back group setting to original at 72-pvr-seat.rule"

This reverts commit cd80954328cef8b9ec1e878f6bead91c8752d65c.

Bug-AGL : SPEC-4797

Change-Id: I702b359c074531b4ca1fd9013275c23b4338318e
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoChange package arch for cm-config from all arch to machine arch 81/28881/1
Naoto Yamaguchi [Thu, 11 May 2023 16:01:40 +0000 (01:01 +0900)]
Change package arch for cm-config from all arch to machine arch

Container Manager config is highly depend to board, on the
other hand that set all arch to package.

This patch change package arch for cm-config from all arch
to machine arch.

Bug-AGL : SPEC-4777

Change-Id: I925f7bec9db24dcc13095a1fc7d836fa95307dcf
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoMove configuration files to subdirectory for rcar-gen3 80/28880/1
Naoto Yamaguchi [Thu, 11 May 2023 15:56:56 +0000 (00:56 +0900)]
Move configuration files to subdirectory for rcar-gen3

In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/28799,
I got a review comment for place of configuration files.

This patch fix place of configuration files for rcar gen3.

Bug-AGL : SPEC-4790

Change-Id: I68444e05848817c52908009d33b7d62d7921a377
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoMove configuration files to subdirectory for raspberrypi4 79/28879/1
Naoto Yamaguchi [Thu, 11 May 2023 15:16:58 +0000 (00:16 +0900)]
Move configuration files to subdirectory for raspberrypi4

In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/28799,
I got a review comment for place of configuration files.

This patch fix place of configuration files for raspberry pi 4.

Bug-AGL : SPEC-4790

Change-Id: I6d2acc2a4f611dd68d34146a40d93abb4e0eed51
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoFix conditional check to out of tree image directory setting 78/28878/1
Naoto Yamaguchi [Thu, 11 May 2023 15:00:59 +0000 (00:00 +0900)]
Fix conditional check to out of tree image directory setting

In https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/28812,
I receive review comment from reviewer to change conditional check.

This patch fix that conditional check.

Bug-AGL : SPEC-4790

Change-Id: Ie2f96d099a6186555cd190d86530ec2ba8df6e7a
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months ago[Bug] Fix udev boot up fail in case of connecting CH57x keyboard 35/28835/3
Naoto Yamaguchi [Sun, 7 May 2023 14:40:25 +0000 (23:40 +0900)]
[Bug] Fix udev boot up fail in case of connecting CH57x keyboard

When CH57x keyboard connect USB port, a systemd-udev-settle.servic
fail boot up in boot time.

This patch change udev rule to fix this bug.

Bug-AGL: SPEC-4766

Change-Id: I7f0002c74050041d31d24fca5e95ad81830df193
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoImprove error handling in multi partition integration 32/28832/2
Naoto Yamaguchi [Sun, 7 May 2023 12:44:03 +0000 (21:44 +0900)]
Improve error handling in multi partition integration

Existing multi partition integration out the error of out
of tree image in wic creation process.  That error message
is difficult understanding.

This patch add out of tree image check at more earlier timing.

Bug-AGL: SPEC-4777

Change-Id: If1a0ba8d78b5ff1e7b19ef6a10a8f9fc98312b8a
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoAdd CH57x keyboard based UI for container demo 26/28826/3
Naoto Yamaguchi [Sat, 6 May 2023 23:22:51 +0000 (08:22 +0900)]
Add CH57x keyboard based UI for container demo

Container exchange user interface using CH57x keyboard.
This UI based on mock container manager for AGL CES2023
demo.
That is contributed by Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>

Bug-AGL: SPEC-4766

Change-Id: I3654bb0fd22787c66af554db71fc3adb82440702
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoRemove cgroup cpuset setting from default config 24/28824/3
Naoto Yamaguchi [Sat, 6 May 2023 13:31:57 +0000 (22:31 +0900)]
Remove cgroup cpuset setting from default config

Existing container manager config based on ces 2023
development, that include cgroup cpuset setting.
In case of R-Car Gen3, R-CarH3 has 8 cores, R-Car M3
has 6cores, we are difficult provide common configs.

This patch remove cgroup cpuset setting from config.

Bug-AGL: SPEC-4777

Change-Id: I1d4cf679951b8f1e6e333a69e2c794c6259997b9
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoWrite back group setting to original at 72-pvr-seat.rule 15/28815/4
Naoto Yamaguchi [Sat, 6 May 2023 08:19:09 +0000 (17:19 +0900)]
Write back group setting to original at 72-pvr-seat.rule

The access permission of /dev/pvr_sync is set group=display by
72-pvr-seat.rule.  This setting replace from video to display at
meta-agl/meta-agl-bsp/meta-rcar-gen3/recipes-graphics/
gles-module/gles-user-module.bbappend.
This change is not necessary in current AGL IVI demo.
Because the similar device files set video group such as /dev/dri/cardX.

This patch write back group setting to original at 72-pvr-seat.rule.

Bug-AGL: SPEC-4777

Change-Id: I2bfbd8f387876207f2d09ee9e84eced61ada0904
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoEnable lease transfer option at drm-lease-manager 14/28814/4
Naoto Yamaguchi [Sat, 6 May 2023 07:02:45 +0000 (16:02 +0900)]
Enable lease transfer option at drm-lease-manager

When leaser side has two or more drm master such as splash
screen and compositor, drm master need to transfer from
early user(splash) to main(compositor) user.

This patch enable lease transfer option at drm-lease-manager.

Bug-AGL: SPEC-4777

Change-Id: Ide31167888d34f482a7e20b93e7364c46aa580b8
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoAdd AGL IC container integration demo web UI 13/28813/4
Naoto Yamaguchi [Sat, 6 May 2023 03:39:23 +0000 (12:39 +0900)]
Add AGL IC container integration demo web UI

Momi web is a Web UI for AGL IC container demo. That support
IVI guest change and force rebooting to ivi guest.

This patch add support momi web to use full demo integration.
It use lighttpd.

Bug-AGL: SPEC-4766

Change-Id: Ie0a91b80cee7462e580706d89abca8ece8142712
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoAdd support out of three image install to support agl demo ivi guests 12/28812/4
Naoto Yamaguchi [Sat, 6 May 2023 03:18:41 +0000 (12:18 +0900)]
Add support out of three image install to support agl demo ivi guests

Existing AGL IC container integration build host and all guest
using multi config.  When we want to add support agl demo ivi
guests, multiconfig based integration require to long build time
by single build tree.

This patch enable support out of tree image install to support.
This method support prebuild ext4 image installation.  This method
realize to reduce build time for AGL IC developer.

Bug-AGL: SPEC-4766

Change-Id: Id4ba092ce89c05bad3440e75845e6602bb0a50ab
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoUpdate raspberrypi4 support for AGL IC container integration 97/28797/6
Naoto Yamaguchi [Fri, 5 May 2023 02:10:46 +0000 (11:10 +0900)]
Update raspberrypi4 support for AGL IC container integration

The raspberrypi4 and R-CarH3-refhw board is main supporting
board for AGL IC container integration.  The raspberrypi4 is
require few patches.

This patch update raspberrypi4 support for AGL IC container
integration.

Bug-AGL: SPEC-4777

Change-Id: I719e01aa8d603eced73e99fc54652b89d2d612b9
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoReworking environment variable setting for guest 96/28796/6
Naoto Yamaguchi [Fri, 5 May 2023 02:03:42 +0000 (11:03 +0900)]
Reworking environment variable setting for guest

After the drm-lease-manager update, the drm-lease socket
file setting is move on each environment variable setting.
On the other hand, previous setting was not remove from
system.conf for each guest.

This patch remove drm-lease-manager and qt environment
variable setting from system.conf for each guest.

Bug-AGL: SPEC-4777

Change-Id: I972ee51f593ab305e0ffa548083cff11cf0014d5
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoReworking config creation for lxc and container manager 94/28794/7
Naoto Yamaguchi [Thu, 4 May 2023 11:56:06 +0000 (20:56 +0900)]
Reworking config creation for lxc and container manager

At "Add initial container manager config for r-car gen3"
add container manager config recipes.  But it is not support
dynamic drm lease configuration, it require to static
configuration in each guest.

This patch enable dynamic drm lease configuration similar
to lxc-config.

Bug-AGL: SPEC-4777

Change-Id: I6161c5ff3d93ddbbde866c1c28d107d8f524d40b
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoEnable container manager in agl-instrument-cluster-container-demo 91/28791/7
Naoto Yamaguchi [Thu, 4 May 2023 07:32:00 +0000 (16:32 +0900)]
Enable container manager in agl-instrument-cluster-container-demo

This patch enable container manager in agl-instrument-cluster-container-demo.

Bug-AGL: SPEC-4777

Change-Id: I94d8b9d0e94a7f5f483e85b610557234c7ac6e9b
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoAdd initial container manager config for r-car gen3 90/28790/7
Naoto Yamaguchi [Thu, 4 May 2023 07:31:00 +0000 (16:31 +0900)]
Add initial container manager config for r-car gen3

This patch add config files for container manager to
launch guest by container manager.

Bug-AGL: SPEC-4777

Change-Id: I0b2fd8f87f3cdffbbda0688f3d6b4b980bdc2c2b
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoAdd support integration type of multi partition 86/28786/8
Naoto Yamaguchi [Thu, 4 May 2023 03:11:20 +0000 (12:11 +0900)]
Add support integration type of multi partition

Existing AGL IC container integration was not supporting
multi partition integration.

This patch enable multi partition integration using wic.

Bug-AGL: SPEC-4777

Change-Id: I8c926410177642953b3888751b774e71e924a074
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoMove out r-car specific description to dynamic-layer 85/28785/8
Naoto Yamaguchi [Wed, 3 May 2023 02:14:17 +0000 (11:14 +0900)]
Move out r-car specific description to dynamic-layer

Existing agl-cluster-demo-lxc-host.bb is including r-car
specific description.
 IMAGE_INSTALL:append:rcar-gen3 = " kernel-module-gles "

This patch move this to dynamic-layers/meta-rcar-gen3.

Bug-AGL: SPEC-4777

Change-Id: I421e96a65b8a2b09046283d9d9710551639ff1ac
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoRemove obsoleted weston configuration recipes 84/28784/7
Naoto Yamaguchi [Tue, 2 May 2023 18:38:16 +0000 (03:38 +0900)]
Remove obsoleted weston configuration recipes

The weston-init and the weston-ini-conf ware not
used in existing integration.

This patch remove these obsoleted recipes.

Bug-AGL: SPEC-4777

Change-Id: I8048bc311c1cece40ce5a78b3a0287bde74d2b25
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoInitial support for AGL Container Manager 53/28753/8
Naoto Yamaguchi [Tue, 2 May 2023 14:46:23 +0000 (23:46 +0900)]
Initial support for AGL Container Manager

The AGL Instrument Cluster container integration require to
container management daemon to support embedded use case
such as lifecycle, many device and other.  AGL IC-EG is
already starting development for that daemon.

This patch is initial support for that container management
daemon.

Bug-AGL: SPEC-4777

Change-Id: I02055c45dd53a80fc6d5ef0ab2c2206c6c0feae2
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoDisable guest reboot by lxc-monitor 52/28752/7
Naoto Yamaguchi [Sat, 17 Dec 2022 05:15:12 +0000 (14:15 +0900)]
Disable guest reboot by lxc-monitor

When guest container use reboot command, lxc-monitor will
reboot guest automatically.  In this case, the container
management daemon catch exit from guest init, but it cant
reboot guest.  This mean container manager can't re-assign
dynamic devices.

This patch disable automatic reboot.

Bug-AGL: SPEC-4777

Change-Id: I3fbd3fca61db29e483b782b0db9c64707b3e488c
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoRemove python dependency from packagegroup-selinux-minimal 51/28751/7
Naoto Yamaguchi [Tue, 2 May 2023 14:23:22 +0000 (23:23 +0900)]
Remove python dependency from packagegroup-selinux-minimal

A meta-selinux has issue for force install many packages.
A packagegroup-selinux-minimal may support desktop and server
runtime use case, may not match AGL (embedded) runtime use case.
One of the big issue, that force install unnecessarily python
runtime to image.  It's caused by backward compatibility for
policycoreutils package, maybe.

This patch fix this issue temporally.
Shall fix at meta-agl layer at SPEC-4778.

Bug-AGL: SPEC-4777

Change-Id: I2b844cd928448b024e4a6830ea98e7dc76f0832b
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoRework images to support some integration types 50/28750/6
Naoto Yamaguchi [Tue, 2 May 2023 11:01:14 +0000 (20:01 +0900)]
Rework images to support some integration types

Existing lxc-host-image-minimal support multiconfig based
single root filesystem integration.  On the other hand,
when we want to use multi partition integration, we need
to fully replace lxc-host-image-minimal recipe.

This patch divide lxc-config installation and
single root filesystem integration feature from
lxc-host-image-minimal to agl-lxc-install-single-imgage.inc
and agl-lxc-autostart.inc.
This change realize to support integration types
using lxc-host-image-minimal.

Bug-AGL: SPEC-4777

Change-Id: I95d866ff6eaddf793927aacb056334e573389804
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoDivide lxc autostart from main package 49/28749/5
Naoto Yamaguchi [Tue, 2 May 2023 08:57:33 +0000 (17:57 +0900)]
Divide lxc autostart from main package

Existing lxc package is including autostart feature.
In this case, that can't enable/disable using package install.

This patch achieve autostare feature enable/disable
by package install.

Bug-AGL: SPEC-4777

Change-Id: I0373b294b677a39a670b79e3149a6d8a1d5b4432
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoForce enable SELinux feature in agl-ic-container 46/28746/2
Naoto Yamaguchi [Fri, 4 Nov 2022 23:44:22 +0000 (08:44 +0900)]
Force enable SELinux feature in agl-ic-container

AGL is already select SELinux for default LSM.
This patch follow to this policy.

Bug-AGL: SPEC-4777

Change-Id: I20078b87d2caa3a1d76af68957d0056e0d0f6adf
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agoEnable drm-lease support at psplash 92/28692/2
Naoto Yamaguchi [Sun, 23 Apr 2023 11:25:45 +0000 (20:25 +0900)]
Enable drm-lease support at psplash

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

This patch enable drm-lease support at psplash.

This work contributed by Hiroyuki Ishii at CES2023 demo development.

Bug-AGL: SPEC-4766

Change-Id: I50b382c7f8ca4b46a8fb06fd649d0cfa49800c6d
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
12 months agolz4: Add ptest support 00/28800/2
Qiu Tingting [Fri, 5 May 2023 07:23:55 +0000 (15:23 +0800)]
lz4: Add ptest support

Add a ptest for lz4.
It is a backport for
  http://cgit.openembedded.org/openembedded-core/commit/?id=2ee144a0bfb88823bfa788697bb7afc9a572c413
It should be deleted after yocto version up.

SPEC-4753

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Change-Id: Ibca25bbafc7857d30a1c487ac130fb22774cad97

12 months agoAdd templates for gitlab issues and merge requests 16/28716/3
Jan-Simon Möller [Thu, 27 Apr 2023 16:46:08 +0000 (18:46 +0200)]
Add templates for gitlab issues and merge requests

Notify users to use jira.automotivelinux.org and
gerrit.automotivelinux.org in the default messages.

Bug-AGL: SPEC-4774
Change-Id: I01b4e849aba18fc1982bfe65257b462c4b231f77
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
12 months agovirtio-loopback: v5: Add recipes for virtio-loopback support 57/28257/6
Angelos Mouzakitis [Mon, 12 Dec 2022 11:41:38 +0000 (12:41 +0100)]
virtio-loopback: v5: Add recipes for virtio-loopback support

Includes the virtio-loopback kernel module, the adapter
application, the vhost-user devices from QEMU and a Rust
vhost-user-rng device implementation.

v2: Update recipes to conform with the OE-Styleguide
v3: Recipes fixes for generic builds
v4: Generalize the recipes to build for different architectures
v5: Update recipes to comply with the OE-Styleguide

Change-Id: I67c14fd77e564c0aecdde40dc1cf7e893dae6de1
Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
12 months agoe2fsprogs: fix ptest error when using usrmerge DISTRO_FEATURES 11/28711/3
Qiu Tingting [Fri, 28 Apr 2023 02:24:15 +0000 (10:24 +0800)]
e2fsprogs: fix ptest error when using usrmerge DISTRO_FEATURES

Because usrmerge DISTRO_FEATURES is uesed,
in test_script and test_one of ptest scripts, SRCDIR has the wrong path.
  SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test
So we should check and modify SRCDIR in test_script and test_one.

It is a backport for
  https://lists.openembedded.org/g/openembedded-core/message/180486
It should be deleted after yocto version up.

SPEC-4753

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Change-Id: Iff23c1db2b39d9e3e924068cf6ea2c5e26b952bf

12 months agoagl-test-framework: fix installation bug 09/28709/1
Yan [Wed, 26 Apr 2023 00:32:26 +0000 (08:32 +0800)]
agl-test-framework: fix installation bug

aio-stress should be installed to the "aio_stress" folder.

Bug-AGL: SPEC-4733

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

13 months agoagl-test-framework: Bump SRCREV 40/28640/1
duerpei [Fri, 14 Apr 2023 02:15:22 +0000 (10:15 +0800)]
agl-test-framework: Bump SRCREV

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

Bug-AGL: SPEC-4755

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

13 months agoic-container: qemu: Set connector name for IVI layer manaager 20/28620/1
Damian Hobson-Garcia [Mon, 3 Apr 2023 20:35:13 +0000 (16:35 -0400)]
ic-container: qemu: Set connector name for IVI layer manaager

The ivi-layer manager configuration file needs to know the name
of display connector to set up the layer configuration.

Adjust the connector name in the configuration file to reflect
the connector names in us on the platform being built.  This
currently only applies to qemu, but could be applied to other
build configurations in future.

Bug-AGL: SPEC-4464

Change-Id: Ie52c9b8639a2bd5c83c4686ff9b557d05a2a7e1e
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
13 months agometa-agl-test: add "linus_stress" 20/28520/4
yanxk [Sun, 23 Jul 2023 19:06:57 +0000 (03:06 +0800)]
meta-agl-test: add "linus_stress"

get this old core test into current agl-test-framework.

re-write old bb file, make it working for agl-test-framework.

Bug-AGL: SPEC-4345

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

14 months agoic-container: Add default configuration for qemu 12/28512/3
Damian Hobson-Garcia [Thu, 16 Feb 2023 16:35:27 +0000 (11:35 -0500)]
ic-container: Add default configuration for qemu

Define the defaults to launch the cluster and ivi containers on qemu.
Platform specific customizations can be added in dynamic layers.

Bug-AGL: SPEC-4464

Change-Id: I3d2bc4e3dfa8afdad4d29fc29700833f5bc7ecaa
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
14 months agoagl-test-framework: Bump SRCREV 17/28517/2
duerpei [Fri, 14 Jul 2023 20:40:58 +0000 (04:40 +0800)]
agl-test-framework: Bump SRCREV

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

Bug-AGL: SPEC-4345

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

15 months agometa-agl-ic-container: fix kernel-module-gles build for guests 97/28497/1
Scott Murray [Mon, 13 Feb 2023 23:49:04 +0000 (18:49 -0500)]
meta-agl-ic-container: fix kernel-module-gles build for guests

Update the kernel-module-gles bbappend so it will actually build with
linux-dummy in the guest multiconfigs.

Bug-AGL: SPEC-4703

Change-Id: Icc083aecff9f7dd3d5359c843bf04681925db031
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 months agoagl-ic-container: Fix host configuration when using agl-demo 76/28476/1
Scott Murray [Mon, 13 Feb 2023 23:43:30 +0000 (18:43 -0500)]
agl-ic-container: Fix host configuration when using agl-demo

Changes:
- Switch to pulling in a agl-ic-container.inc include file from the
  feature local.conf.inc template to simplify development.
- Add include files for the host ("default" in BitBake) multiconfig
  to allow disabling agl-demo and related features in the host build.
  This reduces the impact on the host image when using the images
  from meta-agl-demo as guest containers.  At present the
  "agl-selinux" feature is left alone, as support pretty much needs
  to be present in the host to allow using it at all.  This likely
  needs to be investigated further and discussed with respect to the
  IC EG requirements.

Bug-AGL: SPEC-4703

Change-Id: I833fa8754f0044552a8b775bcc06c4ccd3fcac3e
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
15 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>
15 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>
15 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>
18 months 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

16 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

17 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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>