aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2021-12-04Workaround for booting time crash in R-CarH3SK wth Kingfisher boardNaoto Yamaguchi2-0/+64
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>
2021-11-23virtualization: linux-yocto build fail due to missing FILESEXTRAPATHS:prepend.Vasyl Vavrychuk1-0/+2
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>
2021-11-22meta-agl-jailhouse: Change kernel branchAnmol Karn1-3/+3
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
2021-11-22Improvement flexibility for lxc-configNaoto Yamaguchi25-63/+114
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
2021-11-22Create image specific weston setting methodNaoto Yamaguchi7-11/+69
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
2021-11-17Add automatic start support for IVI guest.Naoto Yamaguchi4-2/+6
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
2021-11-17BUG FIX: Some guest apps don't show own GUI frequentlyNaoto Yamaguchi3-0/+98
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
2021-11-17Change map style in momnaviNaoto Yamaguchi1-2/+2
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
2021-11-17Add momiscreen into ivi guestNaoto Yamaguchi5-21/+94
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
2021-11-17BUG FIX: mominavi is not showing mapNaoto Yamaguchi4-0/+63
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
2021-11-17Enable network connection in ivi guestNaoto Yamaguchi5-1/+31
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
2021-11-17Install demo apps to ivi demo imageNaoto Yamaguchi1-0/+7
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
2021-11-16Re-structure for guestsNaoto Yamaguchi5-7/+42
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
2021-11-16Create new image for ivi container demoNaoto Yamaguchi10-3/+89
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
2021-11-16Change cluster display from HDMI-A-1 to HDMI-A-2 in r-car gen3 with kfNaoto Yamaguchi1-0/+2
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