summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-02-04Flutter updatesmarlin_12.92.0marlin/12.92.012.92.0Joel Winarske6-7/+28
- 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
2021-12-19Update the description of packagegroup-agl-basesystem.bbmarlin_12.91.0marlin/12.91.012.91.0Riku.Nomoto1-1/+1
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
2021-12-15meta-agl-jailhouse: Documentation for manual configurationAnmol Karn2-0/+36
Add Documentation for manually configuring the setup for virtio-over-ivshmem. Signed-off-by: Anmol Karn <anmol.karan123@gmail.com> Change-Id: I41d7c3aafc7a0f1828033c79c7621c9c58f19ce3
2021-12-10Add template extension to pull in meta-clang layer when building flutterJan-Simon Moeller1-0/+2
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
2021-12-09Add meta-agl-flutter layerJoel Winarske13-0/+95
- 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
2021-12-07templates/feature/agl-egvirt: Install virtio-video driver and necessary gst ↵Vasyl Vavrychuk1-0/+7
plugins. Bug-AGL: SPEC-4148 Change-Id: I565078680f6527185706b449700e2fc7ddf685e0 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2021-12-07virtualization: Add virtio-video driver as external module.Vasyl Vavrychuk16-0/+5847
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>
2021-12-06agl-lxc: rcar-gen3: Support agl-refhw-h3 in lxc demoHiroyuki Ishii3-5/+9
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