summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-07-14agl-lxc: Stably start lxc service after drm-lease-managerneedlefish_13.91.0needlefish/13.91.013.91.0Hiroyuki Ishii2-0/+28
Since there is some race condition between initialization of drm-lease-manager and startup of lxc guest images in lxc-host-image-demo currently, we sometimes observe a startup failure of the cluster-guest, especially on refhw platform, due to delay of lease device creation. This change adds unit dependencies between lxc and drm-lease-manager so that lxc guests can be started after lease devices creation stably. Bug-AGL: SPEC-4427 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: I16183c784d8e1132ba316f842e5dedc664ec2853
2022-07-14drm-lease-manager: Enable systemd notify supportHiroyuki Ishii2-2/+5
We'd like to enable this for solving some timing issue between drm-lease-manager and lxc in lxc-host-image-demo. Bug-AGL: SPEC-4427 Signed-off-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Change-Id: I60b7b0cfd8f5caee4cf0bfc9b9828edfd700b12a
2022-07-08jailhouse: Delete patch ↵Zhou Mingying1-290/+0
0001-configs-arm64-Add-support-for-RPi4-with-more-than-1G.patch not used any longer The patch 0001-configs-arm64-Add-support-for-RPi4-with-more-than-1G.patch is no longer used in jailhouse because of the update in https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-devel/+/26546. So delete this patch. Bug-AGL: SPEC-4434 Signed-off-by: Zhou Mingying <zhoumy@fujitsu.com> Change-Id: I086b5ba98c6ff2a01b39c7205fdba7323fb9931c
2022-07-07Fix build error at wireplumber in case of agl-lxc buildingNaoto Yamaguchi1-1/+1
meta-agl-lxc/recipes-multimedia/wireplumber/wireplumber_git.bbappend has recipe error. This patch fix this recipe error. Bug-AGL: SPEC-4458 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I54e6937c1cf61122666ca843de66b8615f6f0dfe
2022-06-15Feature cleanup for Nifty NeedlefishJan-Simon Moeller18-377/+0
Remove features with upstream deprecated or unmaintained: - meta-ros - agl-service-alexa and the voiceagent service Bug-AGL: SPEC-4407 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I8a1e3886897af5b2cf591d0952b1feb980b8708e
2022-06-10Enable Wireplumber Policy instance in ivi guest image.Ashok Sidipotu9-1/+87
-add wireplumber-policy-config-agl recipe to guest, while wireplumber-config-agl remains in host. -add packagegroup-pipewire-base which is needed by the policy recipe. -mount host pipewire server socket in /var directory in guest image and define a PIPEWIRE_RUNTIME_DIR environment variable based on this new mount point. -make the needed service file changes to have wireplumber policy instance start on its own with out depending on pipewire service, limit this change to lxc layers. -install wireplumber@policy.service in sockets.targets.want directory, this is need for its self start, limit this change to lxc layers Bug-AGL: SPEC-4100 Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com> Change-Id: Ifbd7a026c75a199bb540c1593d5a93f67a4bde02
2022-06-09Fix wayland socket nameNaoto Yamaguchi7-1/+14
The default socket name was changed to wayland-1 in weston 10.0. Each wayland client is using wayland-0 that is previous default name. This patch change wayland socket name using environment variable. Bug-AGL : SPEC-4394 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: Ia6c8dff50e7979c0f3b809e6df76a57be6dca7df
2022-06-09Fix firmware path at gles-user-moduleNaoto Yamaguchi1-1/+1
At commit 4f5cf5dc8de803407fa9d3ffa13994309edde985 in meta-agl change firmware installation path /lib/firmware to ${nonarch_base_libdir}/firmware. The gles-user-module.bbappend of meta-agl-lxc has divided firmware only package from library packages. This patch fix firmware installation path in file lists, that is firmware only package. Bug-AGL : SPEC-4394 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I638885b97db50aa8beac2f2df31ab6d52e44c831
2022-06-09Workaround for boot time crash issue in ivi-demo guestNaoto Yamaguchi1-1/+1
After the multi connector support patch, weston crash in boot time in ivi-demo guest. It depend on drm-lease-manager multi connector support and weston with ivi-shell. But that detail doesn't clear now. This patch is workaround for this issue. Bug-AGL : SPEC-4372 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I08e0a19f65eaa3c9e021f409c7df880ccb374038
2022-06-09Revert "drm-lease-manager: Add lease-manager deamon to runtime dependencies"Naoto Yamaguchi2-4/+0
The original patch added drm-lease-manager runtime dependency to wayland compositor recipes. As a result, when wayland compositor install to image, drm-lease-manager is force install to that image. In case of container integrations, drm-lease-manager shall install to one root file system image only. Because drm master (leaser) can run only one process in one linux system. This patch broke this limitations silently. The other images of rootfs with drm-master cause runtime error of drm-lease-mabager. This runtime dependency need to delete. Bug-AGL : SPEC-4373 This reverts commit 0452f5635eac8105a7fb3bd4fb78af1f016c7ee7. Change-Id: Ifc471f2597e43897c0c2315851258d62b832ac8e Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2022-06-09Change weston setting to connect to the drm-lease-manager.Naoto Yamaguchi5-5/+7
Previously, weston.service is using environment specific setting, it propagated from bind mounted host side config file. . This patch remove this propagation. After this patch, these setting bring to lxc config files. Bug-AGL: SPEC-4370 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I4f73a8ca08e149a82648ac5fcdf647c97edc2429
2022-06-09Create drm lease configuration for AGL IC container integration in R-Car H3 ↵Naoto Yamaguchi2-0/+9
and M3 environment The drm-lease-manager improved multi connector support in one lease. A meta-drm-lease layer has example config for generic use case only. This patch add drm lease config for AGL IC integrations. Currently rpi4 and qemu support is under working, this patch support only a R-Car H3 and M3 environment. Bug-AGL: SPEC-4370 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I25113be28a541adc073637caf9180810eedd7ea9
2022-06-09Fix build issue for wayland-ivi-extension in kirkstoneNaoto Yamaguchi8-72/+153
The wayland-ivi-extention has some issue in kirkstone. Fail to find_package task. Fail to build source code. This patch fix these issue and up rev to Upstream HEAD. Bug-AGL : SPEC-4329 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Change-Id: I5bc34ec35d7af62939b08df143b37cc695613304
2022-06-09Fix a recipe issue cased by yocto updateNaoto Yamaguchi8-9/+9
After the yocto update to kirkstone, meta-agl-lxc caused some recipe issue. Some r-car bsp modification recipe has mismatch to new version. Container config recipe has md5 hash mismatch with common license. Fix path from /lib/systemd/ to ${D}/${systemd_unitdir}/. This patch fix these issue. Bug-AGL : SPEC-4394 Change-Id: Ibf40f74f028b59dcd59431916eeaeac4f4c56e16 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
2022-06-08egvirt: linux-yocto: Add virtio_bt driver.Vasyl Vavrychuk3-0/+91
virtio-bt is not part of OASIS standard yet (v1.2) but Linux kernel has driver for virtio transport for BT HCI. Submit driver to meta-agl-devel since patch [1] is WIP and has a known issue. [1]: 0002-Bluetooth-virtio_bt-fix-device-removal.patch Bug-AGL: SPEC-4363 Change-Id: Ib6851df24d430e991a4e9078345bef7e440fb6de Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-06-08egvirt: linux-yocto: Remove virtio-scmi patches.Vasyl Vavrychuk5-184/+0
Those patches are now in mainline kernel, so they are moved to meta-agl. Bug-AGL: SPEC-3865, SPEC-4365 Change-Id: I08a184c6db63afef67a2e0906bc6a9a61ec4286f Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-06-08egvirt: linux-yocto: Adapt for kernel v5.15.Vasyl Vavrychuk22-3791/+70
* Remove changes already present in v5.15. * Refresh other patches. * Document how to recreate kernel configs for future reference. Bug-AGL: SPEC-4365 Change-Id: If8f900c9de7d8536364d71288902fd842d3ddc5f Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-06-06meta-flutter updatesJoel Winarske6-5/+4
-move flutter apps to common folder -move do_compile[network] to app recipe Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Change-Id: Iac543d404ec5a56576998194687bd35dc61b68fc
2022-05-13Replace "/etc" with "${sysconfidir}"duerpei3-13/+13
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
2022-05-12flutter-gallery: Add network access workaroundMarius Vlad4-0/+4
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
2022-05-04meta-agl-basesystem: fix kernel-module-evklib buildScott Murray2-1/+63
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
2022-05-04Remove generic-arm64 machine templateScott Murray3-15/+0
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
2022-05-04meta-agl-basesystem: fix LIC_FILES_CHKSUM in a couple of recipesScott Murray2-2/+2
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
2022-05-04ivi-homescreen_aglflutter: Use the agl-session for starting upMarius Vlad1-4/+15
Bug-AGL: SPEC-4330 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id09825fe02c0cf39d36c19291bc89113770c2d34
2022-04-27drm-lease: Add missing pkgconfig dependency to drm-lease-managerDamian Hobson-Garcia1-1/+1
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>
2022-04-27drm-lease: Update support for weston 10.0Damian Hobson-Garcia6-181/+72
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>
2022-04-27drm-lease: RPi4: Disable DRM_AUTH checks on wayland_clientsDamian Hobson-Garcia2-0/+46
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>
2022-04-27drm-lease: add drm-lease-manager configuration for R-CarDamian Hobson-Garcia2-0/+9
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>
2022-04-27drm-lease: add drm-lease-manager configuration for RPi4Damian Hobson-Garcia3-0/+11
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>
2022-04-27drm-lease-manager: Add configuration file suppportDamian Hobson-Garcia6-4/+47
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>
2022-04-27drm-lease-manager: Add lease-manager deamon to runtime dependenciesDamian Hobson-Garcia2-0/+4
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>
2022-04-27drm-lease-manager: Rebase agl-compositor support patchDamian Hobson-Garcia1-9/+9
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>
2022-04-17meta-agl-flutter: Initial Kirkstone updatesScott Murray3-5/+11
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
2022-04-11meta-agl-lxc: rename LXC bbappendScott Murray1-0/+0
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
2022-04-11meta-agl-drm-lease: rename Weston bbappendScott Murray1-0/+0
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
2022-04-11Fix remaining use of old override syntaxScott Murray8-11/+11
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
2022-04-11meta-agl-lxc: Update license in config recipesScott Murray3-6/+6
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
2022-03-24Update to SPDX license namesScott Murray11-11/+11
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
2022-03-24Add template for the generic-arm64 machineJan-Simon Moeller3-0/+15
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
2022-03-24Declare layer compatibility with kirkstoneScott Murray9-10/+10
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>
2022-03-18meta-agl-jailhouse: Add kernel config. notes in DocumentationAnmol Anmol1-10/+26
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>
2022-03-11SRCREV override fixmarlin_12.93.0marlin/12.93.012.93.0Joel Winarske7-25/+23
-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
2022-03-08Extend drm-lease-manager support - Qt6.x eglfs-kmsNaoto Yamaguchi4-0/+338
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
2022-03-07meta-agl-drm-lease: Add DRM lease support to agl-compositorDamian Hobson-Garcia3-0/+221
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
2022-03-07drm-lease: Make drm-lease-manager sockets available to video groupDamian Hobson-Garcia1-0/+2
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
2022-02-26Revert "Workaround for booting time crash in R-CarH3SK wth Kingfisher board"Naoto Yamaguchi2-64/+0
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
2022-02-26Revert "BUG FIX: Some guest apps don't show own GUI frequently"Naoto Yamaguchi3-98/+0
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
2022-02-26Update render node patch to fix build error in BSP 5.9Naoto Yamaguchi2-6/+8
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
2022-02-24Enable agl-compositor using agl-compositor-initJan-Simon Moeller1-0/+1
Add it to agl-image-flutter.inc. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I221ae00f66474c2d4f26d945e6bac6941f6ded0a
2022-02-12Input device support in ivi-demo guestNaoto Yamaguchi4-0/+14
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