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
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
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
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
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
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
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>
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>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
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>
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
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>
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>
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
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
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
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
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
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
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
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
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
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
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
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
Naoto Yamaguchi [Wed, 6 Oct 2021 14:46:13 +0000 (23:46 +0900)]
Change cluster display from HDMI-A-1 to HDMI-A-2 in r-car gen3 with kf
AGL IC integration use two display, one of the ivi, one of the cluster
in R-Car H3/M3 with Kingfisher environment.
This patch change cluster display from HDMI-A-1 to HDMI-A-2 only
a R-Car H3/M3 with Kingfisher environment.
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Idf1db5daba668e62a05bc7795da2e9d4a3e7e7cf
Naoto Yamaguchi [Sun, 7 Nov 2021 16:15:43 +0000 (01:15 +0900)]
Fix recipe style error at momiplay recipe
The bitbake recipe has style guide at
https://www.openembedded.org/wiki/Styleguide
Existing momiplay recipe does not fit this style guide.
This patch fix this issue.
Bug-AGL: SPEC-4094
Change-Id: Icb28faa991c8dd66807fcaadac77318c66dd77aa
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Naoto Yamaguchi [Sun, 7 Nov 2021 15:48:52 +0000 (00:48 +0900)]
Fix recipe style error at mominavi recipe
The bitbake recipe has style guide at
https://www.openembedded.org/wiki/Styleguide
Existing mominavi recipe does not fit this style guide.
This patch fix this issue.
Bug-AGL: SPEC-4095
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I150ab671248be800c1d955c5e47a1792510ea4c7
Naoto Yamaguchi [Tue, 12 Oct 2021 21:58:03 +0000 (06:58 +0900)]
Add automatically App Key setting method
When we want to use mapbox map drawing that use in mominavi,
we have to set App Key. This App Key need to get oneself
from mapbox developer site.
This patch add automatically App Key setting method.
How to do.
at local.conf/site.conf
MOMIMAP_MAPBOX_ACCESS_TOKEN = "mapbox App Key"
Bug-AGL: SPEC-4095
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Iaa87798b8794dd5bf409df2f3bf3a585fec506d8
Naoto Yamaguchi [Sun, 10 Oct 2021 03:07:50 +0000 (12:07 +0900)]
Fix boot up issue for guest apps
The mominavi and momiplay have boot up issue such
as service dependency and environment variable.
This patch fix this issue.
Bug-AGL: SPEC-4099
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ia276c40e47a010bc2f93482aa0be5ce7416642d8
Naoto Yamaguchi [Mon, 4 Oct 2021 06:50:40 +0000 (15:50 +0900)]
Importing the mediaplayer demo app
The momiplay is a mediaplayer example based on AGL sample app at CC release.
Existing agl-appfw is difficult to integrate into linux container guest,
because agl-appfw strongly depend SMACK label in host.
The mominavi is not require agl-appfw. It's temporally solution for MM release.
This patch import momiplay to create ivi guest for demo.
Bug-AGL: SPEC-4094
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ic0213f50ba570db56282d07b3f4f775664f05f78
Naoto Yamaguchi [Mon, 4 Oct 2021 06:23:26 +0000 (15:23 +0900)]
Importing the navigation demo app
The mominavi is a navigation example based on mapbox. It's based on
aglqtnavigation, that initial version of existing AGL demo navigation app.
Existing agl-appfw is difficult to integrate into linux container guest,
because agl-appfw strongly depend SMACK label in host.
The mominavi is not require agl-appfw.
It's temporally solution for MM release.
This patch import mominavi to create ivi guest for demo.
Bug-AGL: SPEC-4095
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ia84a291b6f9f50075a3dfe5e5dc2c6ff5bca4672
Naoto Yamaguchi [Sun, 3 Oct 2021 16:10:54 +0000 (01:10 +0900)]
Create simple layout manager recipe
The ivi guest for demo use wayland-ivi-extension. That need to window manager.
This patch add tiny window manager for demo.
Bug-AGL: SPEC-4097
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I8392db39a7e2de5d8c61d511421afea9586d7922
Naoto Yamaguchi [Wed, 10 Nov 2021 14:44:54 +0000 (23:44 +0900)]
Fix url and recipe style error in wayland-ivi-extension recipe
The recipe of wayland-ivi-extension has some issue.
1. GENIVI was rebrands as COVESA. As a resule, Github organization name
change to COVESA from GENIVI.
2. Original recipe has some error for recipe style.
3. Using http protocol at downloading.
This patch fix these issue.
Bug-AGL: SPEC-4096
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ic961ddecf7f2f30a024a4caef0c444391e493224
Naoto Yamaguchi [Sat, 9 Oct 2021 06:34:35 +0000 (15:34 +0900)]
Add patch to fix weston crash in no input device scene
The weston with ivi-extention crash in no input device scene.
This patch add staging patch to wayland-ivi-extention to fix this issue.
Bug-AGL: SPEC-4096
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I8d3e6627c073213b2fe20df634889a19a730a4d5
Naoto Yamaguchi [Sun, 3 Oct 2021 16:04:39 +0000 (01:04 +0900)]
Import wayland-ivi-extension
The ivi guest for demo require wayland-ivi-extension on weston.
Current AGL is already removed it.
This patch import wayland-ivi-extension for weston-8 from meta-arago.
git://arago-project.org/git/meta-arago.git
Bug-AGL: SPEC-4096
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ib2c47e603334ae4ab590fdf48b8723956f73022b
Naoto Yamaguchi [Sat, 6 Nov 2021 15:11:36 +0000 (00:11 +0900)]
Fix: weston is not running after BSP 5.5 merged in cluster-demo
weston is not running after BSP 5.5 merged.
This patch create new weston-init for gest usage.
Bug-AGL: SPEC-4131
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I9b6edc1c45aad0f985a307f3ffb0fe6a47195dd5
Naoto Yamaguchi [Thu, 30 Sep 2021 15:38:30 +0000 (00:38 +0900)]
Divide firmware from gles-user-module
The powervr firmware is including in gles-user-module in R-Car Gen3.
Typical container integration, gles-user-module only to installing in guest,
powervr kernel module only to installing in host.
In this case, powerver firemware is only to installing in guest,
but it is required by powervr kernel module.
This patch divide powervr firmware from gles-user-module, creating new package
gles-user-module-firmware. In addition, this patch add runtime dependency of
that firmware package to powervr kernel module.
Bug-AGL: SPEC-4130
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ie8751bd618d076c9617870c367dacb3a9fdf1e7b
Naoto Yamaguchi [Sat, 6 Nov 2021 01:06:14 +0000 (10:06 +0900)]
Fix the lxc-host-image-demo build error with R-Car BSP 5.5
The lxc-host-image-demo can't build after BSP 5.5 merged.
Error message as a follow:
ERROR: Nothing PROVIDES 'linux-renesas' (but mc:agl-container-guest:
/../gstreamer1.0-plugins-bad_1.16.3.bb DEPENDS on or otherwise requires it)
linux-renesas was skipped: Set PREFERRED_PROVIDER_virtual/kernel to linux-renesas to enable it
Missing or unbuildable dependency chain was:
['cluster-refgui', 'qtmultimedia', 'gstreamer1.0-plugins-bad', 'linux-renesas']
ERROR: Required build target 'guest-image-cluster-demo' has no buildable providers.
Missing or unbuildable dependency chain was:
['guest-image-cluster-demo', 'cluster-refgui', 'qtmultimedia', 'gstreamer1.0-plugins-bad', 'linux-renesas']
This patch fix this build error.
Bug-AGL: SPEC-4129
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I0284a70aa38f855eb21e83e8c91e2df5a36cd7ef
Jan-Simon Moeller [Mon, 18 Oct 2021 12:24:52 +0000 (14:24 +0200)]
Prepare master for new framework integration
During the last workshop the transition to the new framework was presented.
This change essentially deprecates the SMACK-based application framework.
To prepare the integration of it, we remove the deprecated components:
- meta-speech-framework and the voiceagent services
Bug-AGL: SPEC-4121
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I803dd18184338a1f5519af27136e1d5a58ee9369
Scott Murray [Tue, 2 Nov 2021 23:16:37 +0000 (19:16 -0400)]
Update github.com git:// SRC_URIs
GitHub is dropping unauthenticated git protocol access in
January 2022, per:
https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
While a workaround in the BitBake git fetcher is forthcoming, not
specifying protocol=https for github.com git:// SRC_URIs will start
resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade
path, go ahead and update our affected SRC_URIs. Note that this has
been done by running the scripts/contrib/convert-srcuri.py script
from latest poky, which also makes git branch specification explicit
since the git fetcher is likely to require that in the future due
to widespread switches from master to main branches.
Bug-AGL: SPEC-4126
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ic3550f08b92916bede2f21442499836b882f2db8
Andriy Tryshnivskyy [Mon, 4 Oct 2021 18:07:10 +0000 (21:07 +0300)]
virtualization/linux-yocto: iio/scmi: Add reading "raw" attribute support.
agl-service-iiodevices reads IIO device "raw" attribute.
Patches were adapted for current kernel version.
Bug-AGL: SPEC-3865
Upstream-Status: Submitted [https://lore.kernel.org/all/
20211024091627.28031-1-andriy.tryshnivskyy@opensynergy.com/]
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: I4f3e14e9d557a13ff955de43035e564d80873038
Naoto Yamaguchi [Tue, 26 Oct 2021 22:22:38 +0000 (07:22 +0900)]
Fix cmake issue for libclusterapi and libclusteripc.
Previously, libclusterapi and libclusteripc require to HACK in cross building time.
This issue was fixed by Hiroyuki Ishii at
https://gerrit.automotivelinux.org/gerrit/c/src/libcluster-ipc/+/26744
https://gerrit.automotivelinux.org/gerrit/c/src/libcluster-api/+/26745
This patch update revision to fixing point.
Bug-AGL: SPEC-4092
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I317db0612243c87530388eabf54e4fdd9c6abca0
Naoto Yamaguchi [Sat, 9 Oct 2021 15:35:39 +0000 (00:35 +0900)]
Fix multiple container installation failing
When new container image add into lxc-host-image-demo, existing
image will not build.
In case of:
CONTAINER_IMAGES ?= "agl-container-cluster:guest-image-cluster-demo \
agl-container-ivi:guest-image-ivi-demo \
"
agl-container-ivi:guest-image-ivi-demo will be building,
but agl-container-cluster:guest-image-cluster-demo will not be building.
This patch fix issue for the build dependency creation to guests.
Bug-AGL: SPEC-4109
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I2ed6f91f0d4db90f337a6148d6630f85c1b5c97d
Naoto Yamaguchi [Wed, 6 Oct 2021 22:07:47 +0000 (07:07 +0900)]
Fix multiple container installation issue
When I build lxc-host-image-demo, that out error message;
Nothing RPROVIDES 'lxc-config-cluster-demolxc-config-ivi-demo'
(but ~/meta-agl-devel/meta-agl-lxc/recipes-platform/images/
lxc-host-image-demo.bb RDEPENDS on or otherwise requires it)
The 'lxc-config-cluster-demolxc-config-ivi-demo' is must
describe to 'lxc-config-cluster-demo lxc-config-ivi-demo',
that need space between image name and image name.
This patch fix this issue.
Bug-AGL: SPEC-4109
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I3e3f057264c0e05872a1f04f9bf5c72af54115e1
Naoto Yamaguchi [Sun, 3 Oct 2021 14:14:57 +0000 (23:14 +0900)]
Create AGL Instrument Cluster core package group
AGL Instrument Cluster has common api library and framework.
This patch create package group for instrument cluster core packages.
Bug-AGL: SPEC-4092
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Id9ec55dfc22cc7135f0973ef8a3421f8a614383d
Naoto Yamaguchi [Sun, 3 Oct 2021 03:03:52 +0000 (12:03 +0900)]
Import cluster api and ipc library recipe from EG repo
The cluster api and ipc library was contributed by Nippon Seiki at SPEC-3952.
Original recipe of these was created by Tetsuro Komatsu from Panasonic.
https://github.com/agl-ic-eg/meta-agl/commit/
476497689794ec37d5cbfd1f1797dfa060b0bd9b
This patch import these recipe from experimental repository.
Bug-AGL: SPEC-4092
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I25cb9773753e18621d2ee0e44f54ab9e9f1b4aaf
Ronan Le Martret [Mon, 4 Oct 2021 09:31:51 +0000 (11:31 +0200)]
[RCAR] Dynamic-layer update rcar-du support for BSP v5.5.0
Bug-AGL: SPEC-4081
Change-Id: I1d8b3b0bdb9d969cfe25e76915965a21f0612fcc
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Naoto Yamaguchi [Tue, 5 Oct 2021 13:23:13 +0000 (22:23 +0900)]
Fix fuzz for 0004-launcher-direct-handle-seat0-without-VTs.patch
The drm-lease patch cause fuzz in weston building.
Applying patch 0004-launcher-direct-handle-seat0-without-VTs.patch
patching file libweston/launcher-direct.c
Hunk #1 succeeded at 290 with fuzz 2.
Hunk #2 succeeded at 302 (offset -2 lines).
This patch update that patch.
Bug-AGL: SPEC-4106
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I9bac494e712f3cb8d13576c57d81bac7631b8615
Naoto Yamaguchi [Sat, 2 Oct 2021 03:52:56 +0000 (12:52 +0900)]
Fix some issue for the cluster-refgui recipe
Cluster refgui upstreamd at SPEC-3942. But recipe was not changed.
Current refgui recipe has some issue.
* Referring to github repository now.
* Not changed recipe name from refgui to cluster-refgui.
* License description is old, that is already changed from MIT to Apach-2.0.
This patch fix these issue.
Bug-AGL: SPEC-4090
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I2742caf36ed50a2dbf41274d172a11be33708841
Scott Murray [Mon, 25 Oct 2021 16:30:36 +0000 (12:30 -0400)]
meta-agl-lxc: Support rcar3 kernel module headers in guests
Add a bbclass that can be used to disable compilation in
module.bbclass based recipes, and dynamically activated bbappends for
the rcar3 kernel module recipes that use it and guest-build-specific
do_install overrides to get the userspace API headers installed
transparently to the userspace recipes. This avoids the complications
that would arise from using a full linux-renesas kernel build for
guest container images.
Bug-AGL: SPEC-4089
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I917e66ca024a2a507e615ba3a2a58c603a691142
Shankho Boron Ghosh [Fri, 13 Aug 2021 13:11:32 +0000 (18:41 +0530)]
meta-agl-ros2: Support for ros2 minimal & ydlidar
v1 : Added support for ros2 in AGL and ydlidar driver support by creation of recipes for ydlidar driver and sdk and packagegroup-agl-ros2-minimal & packagegroup-agl-ros2-ydlidar. Concurrently, created a feature template to allow for BBLAYERS and local conf dependencies.
v2 : Removed ALLOW_EMPTY_${PN} = "1" and trailing whitespaces. Set AGL_META_PYTHON = "${METADIR}/external/meta-openembedded/meta-python" otherwise multiple layers might include meta-python and bitbake will choke if a folder is present twice.
v3 : Removed trailing whitespaces. Removed AGL_META_PYTHON, just set it.
v4 : Rebased
v5 : Converted to new syntax: RDEPENDS:${PN}, do_install:append(), IMAGE_INSTALL:append
v6 : Added ${METADIR}/meta-agl-devel/meta-agl-ros2 to bblayers
configuration.
v7 : Added meta-ros-backports-hardknott layer.
v8 : Added packagegroup-agl-ros-native-qt5 to remove dependency to
agl-demo.
Signed-off-by: Shankho Boron Ghosh <shankhoghosh123@gmail.com>
Change-Id: If169fde42e3f51571e2776adc574b7f8437a61fa
Andriy Tryshnivskyy [Mon, 4 Oct 2021 18:05:23 +0000 (21:05 +0300)]
virtualization/linux-yocto: Add SCMIv3.0 Sensor Extensions patches.
IIO SCMI driver assumes that those changes are present. It fails to
compile without them.
Bug-AGL: SPEC-3865
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: Ia0011b5b621fc08321a1d74f3ae00e2780f3188a
Andriy Tryshnivskyy [Mon, 4 Oct 2021 18:03:58 +0000 (21:03 +0300)]
virtualization/linux-yocto: Enable IIO SCMI.
Snippet has been updated using menuconfig/diffconfig tasks.
Bug-AGL: SPEC-3865
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: I7c885d818f6ae80804f5ae9446072af05332bdf2
Andriy Tryshnivskyy [Mon, 4 Oct 2021 18:01:22 +0000 (21:01 +0300)]
virtualization/linux-yocto: Backport IIO SCMI based sensors driver.
This patch series is the latest implementation of ARM SCMI Protocol
based IIO Device. Patch was cherry-picked from branch [1] created by IIO
maintainer.
[1]: https://lore.kernel.org/lkml/
20210311210844.
34371d8d@archlinux/
Bug-AGL: SPEC-3865
Upstream-Status: Submitted [https://lore.kernel.org/lkml/
20210309231259.78050-1-jbhayana@google.com/]
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: Idef6f0630887c49c1d8e651a5ac753ad74b20dc0
Andriy Tryshnivskyy [Mon, 4 Oct 2021 17:59:45 +0000 (20:59 +0300)]
virtualization/linux-yocto: Enable virtio SCMI driver.
Snippet has been generated using menuconfig/diffconfig tasks.
Enabled VIRTIO_SCMI and ARM_SCMI_PROTOCOL.
Switch off enabled by default ARM_SCMI_POWER_DOMAIN since it is not
planned to be used at the moment.
Bug-AGL: SPEC-3865
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: Ic4d3623c0fe330513a04b503c2037f0769d6ce69
Andriy Tryshnivskyy [Mon, 4 Oct 2021 17:31:34 +0000 (20:31 +0300)]
virtualization/linux-yocto: Backport virtio SCMI driver.
This patch series is a "RFC v2" implementation of a driver for
virtio SCMI device [1].
[1]: https://github.com/oasis-tcs/virtio-spec/blob/master/virtio-scmi.tex
Bug-AGL: SPEC-3865
Upstream-Status: Submitted [https://lore.kernel.org/linux-arm-kernel/
20201105212116.411422-1-peter.hilber@opensynergy.com/]
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: I653cb44769232ae5434bd54169910fd0518f1db8
Vasyl Vavrychuk [Mon, 4 Oct 2021 19:20:37 +0000 (21:20 +0200)]
Return agl-egvirt feature
This feature enables meta-agl-devel/meta-egvirt layer intended for work
in progress changes by eg_virt. In future, those changes can be moved to
meta-agl/meta-agl-bsp/virtualization-layer
This partially reverts commit:
0abaf1d Cleanup of meta-agl-devel for HH
Bug-AGL: SPEC-3865
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: Ia374641c876980c99b7f414f2a515dd9eb22ffea
Anmol [Fri, 20 Aug 2021 22:39:46 +0000 (00:39 +0200)]
[PATCH] meta-agl-jailhouse: Add support for virtio over IVSHMEM block
This patch adds the support for the virtio over IVSHMEM block for AGL with Jailhouse.
Current state of the Patchset:
- Add PCI devices from (00:0c.0 - 00:0f.0), for various virtio devices(virtio-ivshmem-{block, console, NET, custom}), primarily for virtio-blk.
- Add Common memory regions for virtio-blk in the Root-Cell and Non-Root-Linux-Cell configurations.
- Add Documentation `meta-agl-jailhouse.md` for usage and Instructions.
- Add `virtio-ivshmem-block` and `virtio-ivshmem-console` recipes for ott Kernel modules.
v2 (Anmol): Update `agl-linux-x86-demo.c` and `qemu-agl.c` for PCI macros and small descriptions for IVSHMEM PCI devices.
V3 (Anmol):
- [RFC] Add packagegroup for the virtio-ivshmem-{block, console} applications.
- Update the `meta-agl-jailhouse.md` for architecture specific information.
v4 (Anmol): Update recipe files according to the new syntax(3.4-honister).
v5 (Anmol):
- Update recipe files for virtio-ivshmem binaries.
- Update `50_local.conf.inc` for `packagegroup-agl-jailhouse`.
v5 (Anmol): Update syntax for `50_local.conf.inc`.
Signed-off-by: Anmol <anmol.karan123@gmail.com>
Change-Id: I1bed4c6f1d3d9b0792a18544ad18edca85a5f4f7
Scott Murray [Thu, 26 Aug 2021 17:24:34 +0000 (13:24 -0400)]
aac-module-system-audio: Update PipeWire gstreamer plugins
Update PipeWire sink and source to handle drop of pwaudiosink and
pwaudiosrc in favor of pipewire* replacements. However, testing
has found that Alexa does not work with pipewiresrc (input hangs
after first interaction), so for now use "alsasrc device=pipewire"
as a workaround as recommended by upstream. This should be
revisited when PipeWire is next updated.
Bug-AGL: SPEC-4058
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I558d87fbdb9b0b9d9af72913c865943d5c03c2bb
Scott Murray [Fri, 20 Aug 2021 17:57:33 +0000 (13:57 -0400)]
Convert to new override syntax
This is mostly the result of running a slightly customized version
of the convert-overrides.py script from poky with additional
overrides added. A few minor fixups were done by hand afterwards
during a review of the changes.
The intent of these changes is to minimize the effort to keep the
"next" branch that builds against poky master up to date and tested
in preparation for the switch to the next Yocto LTS release in
early 2022.
Bug-AGL: SPEC-4052
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I0bbae97331abee1367b368ce54ab39e3162a12ec
Jan-Simon Möller [Tue, 10 Aug 2021 09:54:46 +0000 (11:54 +0200)]
Add placeholders for agl-ros2
These are the placeholders for the GSoC project.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I1286e3cd63c55de1f292e3b2070764781fac92a7
Anmol [Tue, 27 Jul 2021 20:15:00 +0000 (22:15 +0200)]
meta-agl-jailhouse: Update the Jailhouse configuration files
The current state and Information about the patch:
- Updated Jailhouse root-cell(qemu-agl.c), apic-demo(agl-apic-demo.c), ivshmem-demo(agl-ivshmem-demo.c).
- Jailhouse non-root cell(agl-linux-x86-demo.c) is also working, but need some more tweak for UART redirection.
- Linux Kernel updated to the latest `queues/jailhouse` kernel branch.
- Updated the `recipes-kernel` structure to a more custom one.
- Updated conf/local.conf according to new `recipes-kernel` structure.
- Removed the Linux Kernel patches from the `recipes-kernel` as updated kernel already contain those patches.
This patch is the initial block for the virtio-blk support.
v2 (Anmol): Add descriptive comments for serial in cell configuration files
v3 (Anmol): Remove the ` IMAGE_INSTALL_append` and `EXTRA_IMAGE_FEATURES` from `50_local.conf.inc`
v4 (Anmol): Minor changes in `50_local.conf.inc`
v5 (jsmoeller): add meta-arm-toolchain to fix layer dependencies
v6 (jsmoeller): remove linux-yocto_5.14%.bbappend
v7 (Anmol):
- Update the `SRCREV` for Jailhouse in `jailhous_git.bb`
- Remove the patch `configs: arm64: Add support for RPi4 with more than 1G of memory` from `SRC_URI` in `jailhouse_git.bb`
- Add the helper-scripts for the `runqemu-x86_64` and non-root linux cell.
v8 (Anmol): Updated the `agl-ivshmem-demo.c`.
v9 (Anmol):
- Resolve build errors and update `jailhouse_git.bb`.
- Add `PERF_forcevariable := "bash"` in `50_local.conf.inc`.
v10 (Anmol): Disable perf build.
v11 (jsmoeller): update qemu-agl.c to the 2G setup of runqemu after runtime test
v12 (jsmoeller): add sample inmate tarball (to be used later)
Change-Id: Idfa3e513488b5ecc8dfe9573f15c4b1c0edfd54f
Signed-off-by: Anmol <anmol.karan123@gmail.com>
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Scott Murray [Tue, 27 Jul 2021 19:51:51 +0000 (15:51 -0400)]
lxc-host-image-minimal: Handle Kingfisher image names
To handle the Kingfisher supporting ULCB builds modifying the
IMAGE_LINK_NAME variable, add a MACHINE_SUFFIX variable that is
defined based on a new "kingfisher" feature being present in
AGL_FEATURES. Since so far only one platform has this issue,
this simple approach seems better than attempting to derive
the suffix from IMAGE_LINK_NAME using anonymous Python.
Bug-AGL: SPEC-4023
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ida769fbeb57208934f738dc5d1c867ab63c40bff
George Kiagiadakis [Thu, 15 Jul 2021 13:38:49 +0000 (16:38 +0300)]
meta-agl-lxc: integrate pipewire-ic-ipc and pull in agl-pipewire
pipewire-ic-ipc offers a small unix socket server that listens
for the SUSPEND & RESUME requests from its clients and sets the
"suspend.playback" metadata on pipewire. This allows wireplumber
instances to catch changes to this metadata property and suspend
or resume playback from applications appropriately.
The purpose of this is to allow Instrument Cluster applications to
suspend audio from other containers and play certain sounds exclusively.
The server-side is implemented as a pipewire module that gets loaded
in a separate pipewire process and behaves as a client to the actual
pipewire daemon. It is not affected by pipewire daemon's stops & reloads,
as it re-connects automatically to pipewire and synchronizes the
"suspend.playback" status.
The icipc-client application is an example that is not meant to be
used in production. IC applications are expected to use the library
directly. It is provided for testing & demo purposes.
v2:
- removed the client from the host image
- updated the pipewire-ic-ipc git URI to point to AGL's gerrit
Bug-AGL: SPEC-4027
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Change-Id: I9e326797ce899c2579a0d7794202091e455c6c98
Naoto Yamaguchi [Mon, 5 Jul 2021 05:40:23 +0000 (05:40 +0000)]
Drop agl-virt dependency
The agl-lxc depend to only lxc from meta-virtualization. On the other hand,
current setting depend to agl-virt to import meta-virtualization.
In this case, the change of agl-virt propagate to agl-lxc, it's broken to
quality assessment software stack.
This patch drop to agl-virt dependency.
Bug-AGL: SPEC-4014
Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp>
Change-Id: I7863a00576ead96b33428907a67c0ab6af33358c
Anmol [Mon, 5 Jul 2021 21:22:46 +0000 (23:22 +0200)]
meta-agl-jailhouse: Fix memmap command line parameter
Jailhouse requires a contiguous piece of RAM for itself and additional
cells. This has to be preallocated during emulation of the image and
is typically done by adding `memmap=<size>$<memory_address>`, and here
escape sequencing before the dollar should only be added when there is
a need to put this parameter in GRUB2 variables in /etc/default/grub.
Fix it by removing `\` escape sequence from memmap command line parameter
of the virtual machine's kernel.
Signed-off-by: Anmol <anmol.karan123@gmail.com>
Change-Id: I9981a359d1cb00900153e7692c6c1175cb0a3ce6
Scott Murray [Sun, 27 Jun 2021 19:06:18 +0000 (15:06 -0400)]
meta-agl-lxc: Update host kernel configuration
Add a generic kernel bbappend and associated conditional include
file that uses the new AGL_KCONFIG_FRAGMENTS to disable all other
AGL provided kernel configuration, replacing it with a local fragment
to enable minimal required features for LXC support. The previous
linux-renesas bbappend to leverage the meta-virtualization provided
kernel configuration has been removed, and the agl-lxc template has
been updated to drop the "virtualization" distro feature (thus
disabling all meta-virtualization additions).
Bug-AGL: SPEC-3983
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iea91c3e273fe01d764adb644efc212f92e4a92fe
Hiroyuki Ishii [Tue, 29 Jun 2021 07:12:14 +0000 (16:12 +0900)]
meta-agl-lxc: Fix lack of gles modules in demo image
With current integration of lxc-host-image-demo for rcar-gen3,
weston fails to start due to lack of gles modules so that demo
application doesn't come up. This change fixes it with adding
kernel-module-gles into lxc-host-image-demo image, only for
rcar-gen3 boards as of this moment (since lxc-host-image-demo is
maintained only for h3/m3 ulcb boards currently).
Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com>
Change-Id: I7874b125e6937c43bc706f63c971cb33d1a47a6c
Scott Murray [Thu, 24 Jun 2021 18:59:47 +0000 (14:59 -0400)]
meta-agl-lxc: add packagegroup-core-tools-profile bbappend
Add a bbappend for packagegroup-core-tools-profile to disable the
LTTng related tools and perf when building for container guests to
avoid issues with kernel source dependencies.
Bug-AGL: SPEC-3983
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I394495bcc36505103066c62dd075edd1c5c360b0
Scott Murray [Mon, 14 Jun 2021 23:38:23 +0000 (19:38 -0400)]
meta-agl-lxc: add initial rcar3 support
Note that these changes do allow building and booting the
lxc-host-image-demo image, and the cluster-demo container does
get autostarted, but currently Weston fails to start in the
container.
Changes:
- Add a meta-rcar-gen3 dynamic layer with some bbappends to
disable problematic kernel module dependencies when building for
the container guest configuration. The ones used are based on
the ones in the IC EG container-bsp github repo, but fewer are
needed due to the use of linux-dummy, and the changes are done
via aglcontainerguest overrides.
- Add linux-renesas bbappend that disables the problematic default
addition of virtio.scc to KERNEL_FEATURES done in the
meta-virtualization layer, which currently is dependent on the
file coming from the linux-yocto kernel metadata, which is not
the case with linux-renesas. Upstream have been engaged on this
being a problem, so this may not be required in the future.
- Add lxc.scc to KERNEL_FEATURES in linux-renesas bbappend to
leverage the .cfg from meta-virtualization.
- Borrow a couple of tweaks from the IC EG container-bsp github
repo to disable firmware and disable the serial consoles in the
container guest build.
Bug-AGL: SPEC-3953
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I30fe6a940c5c44ee2ad71410a97a4495829c0b45