summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-11-16Importing the mediaplayer demo appNaoto Yamaguchi3-0/+54
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
2021-11-16Importing the navigation demo appNaoto Yamaguchi3-0/+54
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
2021-11-13Create simple layout manager recipeNaoto Yamaguchi3-0/+103
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
2021-11-12Fix url and recipe style error in wayland-ivi-extension recipeNaoto Yamaguchi1-18/+16
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
2021-11-12Add patch to fix weston crash in no input device sceneNaoto Yamaguchi2-1/+57
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
2021-11-10Import wayland-ivi-extensionNaoto Yamaguchi4-0/+120
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
2021-11-10Fix: weston is not running after BSP 5.5 merged in cluster-demoNaoto Yamaguchi6-4/+79
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
2021-11-10Divide firmware from gles-user-moduleNaoto Yamaguchi2-0/+22
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
2021-11-09Fix the lxc-host-image-demo build error with R-Car BSP 5.5Naoto Yamaguchi1-0/+4
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
2021-11-04Prepare master for new framework integrationJan-Simon Moeller19-687/+0
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
2021-11-02Update github.com git:// SRC_URIsmarlin_12.90.1marlin/12.90.112.90.1Scott Murray3-3/+3
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
2021-11-01virtualization/linux-yocto: iio/scmi: Add reading "raw" attribute support.Andriy Tryshnivskyy3-0/+143
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
2021-11-01Fix cmake issue for libclusterapi and libclusteripc.Naoto Yamaguchi2-10/+2
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
2021-11-01Fix multiple container installation failingNaoto Yamaguchi1-1/+1
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
2021-11-01Fix multiple container installation issueNaoto Yamaguchi1-1/+1
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
2021-11-01Create AGL Instrument Cluster core package groupNaoto Yamaguchi2-0/+20
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
2021-11-01Import cluster api and ipc library recipe from EG repoNaoto Yamaguchi2-0/+38
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
2021-10-29[RCAR] Dynamic-layer update rcar-du support for BSP v5.5.0Ronan Le Martret1-3/+3
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>
2021-10-27Fix fuzz for 0004-launcher-direct-handle-seat0-without-VTs.patchNaoto Yamaguchi1-6/+6
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
2021-10-26Fix some issue for the cluster-refgui recipeNaoto Yamaguchi3-6/+6
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
2021-10-26meta-agl-lxc: Support rcar3 kernel module headers in guestsScott Murray7-0/+63
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
2021-10-18meta-agl-ros2: Support for ros2 minimal & ydlidarShankho Boron Ghosh10-7/+242
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
2021-10-14virtualization/linux-yocto: Add SCMIv3.0 Sensor Extensions patches.Andriy Tryshnivskyy7-0/+1484
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
2021-10-14virtualization/linux-yocto: Enable IIO SCMI.Andriy Tryshnivskyy2-0/+2
Snippet has been updated using menuconfig/diffconfig tasks. Bug-AGL: SPEC-3865 Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com> Change-Id: I7c885d818f6ae80804f5ae9446072af05332bdf2
2021-10-14virtualization/linux-yocto: Backport IIO SCMI based sensors driver.Andriy Tryshnivskyy2-0/+802
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
2021-10-14virtualization/linux-yocto: Enable virtio SCMI driver.Andriy Tryshnivskyy2-0/+6
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
2021-10-14virtualization/linux-yocto: Backport virtio SCMI driver.Andriy Tryshnivskyy11-0/+1489
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
2021-10-04Return agl-egvirt featureVasyl Vavrychuk1-0/+3
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
2021-08-30[PATCH] meta-agl-jailhouse: Add support for virtio over IVSHMEM blockAnmol7-27/+619
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
2021-08-26aac-module-system-audio: Update PipeWire gstreamer pluginsScott Murray2-0/+48
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
2021-08-20Convert to new override syntaxScott Murray78-143/+143
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
2021-08-10Add placeholders for agl-ros2Jan-Simon Möller3-0/+21
These are the placeholders for the GSoC project. Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I1286e3cd63c55de1f292e3b2070764781fac92a7
2021-08-09meta-agl-jailhouse: Update the Jailhouse configuration filesAnmol49-3976/+5389
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>
2021-07-30lxc-host-image-minimal: Handle Kingfisher image namesScott Murray1-1/+4
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
2021-07-30meta-agl-lxc: integrate pipewire-ic-ipc and pull in agl-pipewireGeorge Kiagiadakis5-2/+44
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
2021-07-13Drop agl-virt dependencyNaoto Yamaguchi3-5/+11
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
2021-07-05meta-agl-jailhouse: Fix memmap command line parameterAnmol1-2/+2
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
2021-06-29meta-agl-lxc: Update host kernel configurationmarlin_12.90.0marlin/12.90.012.90.0Scott Murray5-8/+42
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
2021-06-29meta-agl-lxc: Fix lack of gles modules in demo imageHiroyuki Ishii1-0/+2
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
2021-06-24meta-agl-lxc: add packagegroup-core-tools-profile bbappendScott Murray1-0/+8
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
2021-06-14meta-agl-lxc: add initial rcar3 supportScott Murray5-1/+27
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
2021-06-07Add meta-agl-lxcScott Murray25-0/+378
Add meta-agl-lxc layer with LXC container integration recipes, and "agl-lxc" feature to enable its use. The changes are based on the previous prototypes by Tadao Tanikawa and the updates done for the trial integration layers on the agl-ic-eg github by Naoto Yamaguchi, Hiroyuki Ishii, and Jan-Simon Moeller. The layer can be used by running aglsetup.sh with just the "agl-lxc" feature, then building lxc-host-image-demo with bitbake. Notes: - The agl-lxc feature enables a "agl-container-guest" multiconfig configuration for building the guest image(s). This suffices for demonstrating integrated builds with multiconfig, but may change in the future with extension of aglsetup.sh to add more flexibility. - There are guest-image-minimal and guest-image-cluster-demo recipes that are intended as a base container template and a demo of its use. The cluster-demo image contains the demo cluster reference UI application, and is roughly equivalent to what is named cluster-guest in the agl-ic-eg trial integration configuration. - There are likewise lxc-host-image-minimal and lxc-host-image-demo images. The host demo is configured to pull in the cluster-demo guest image, and configuration has been added such that it will automatically boot and start the cluster reference UI application. - Unlike previous work where the guest container image is added to the host image via a recipe that packages up the guest image's contents, a more direct scheme is used where the guest image is unpacked inside the host image rootfs via the use of the ROOTFS_POSTPROCESS_COMMAND mechanism. This avoids some hassles around potentially mismatched user and group id lists in the host and guest images, with the additional benefit of being faster. However, using this scheme is to some degree only necessary due to the use of LXC with unpacked guest image hierarchies. With other container tooling that uses e.g. OCI images, a revert to using packages may be preferable. - The reusable logic in the lxc-host-image-minimal recipe makes some assumptions wrt naming. They are: - guest image names have the format guest-image-<name> - guest images have a corresponding LXC configuration file recipe with the name lxc-config-<name> The intent is to simplify reuse of the base minimal recipes, but this can be reworked if deemed too restrictive. - packagegroups for e.g. pipewire and weston have purposefully not been defined at this time. It seems better to wait until it is more obvious how useful they would be. Limitations: - The host image is currently rebuilt every time to work around an issue with multiconfig dependencies that is being investigated upstream. This can hopefully be removed in the near future. - The demo images are currently in meta-agl-lxc for convenience. It may make more sense for them to reside in another location to ease shifting some things into meta-agl. - At the moment, only qemux86-64 has been tested. The changes to enable host and guest configuration tweaks for the rcar3 BSP need further investigation and discussion on where they should be maintained. Bug-AGL: SPEC-3953, SPEC-3955 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I69d41f1d1c736f05cf3b4997dbda147879e2e25d
2021-06-07meta-agl-drm-lease: Improve usabilitylamprey_11.92.0lamprey/11.92.011.92.0Scott Murray5-1/+6
Changes: - Switch to using AGL_FEATURES instead of just directly modifying IMAGE_INSTALL in the feature template. - Move rcar3 kernel recipe bbappend to a dynamic-layer addition so the layer is usable on other platforms. Bug-AGL: SPEC-3955 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ie109cc3606d68d354aae9d902a60ef82272244bf
2021-04-30fix mis-spelling in markdown filelamprey_11.91.0lamprey/11.91.011.91.0seigot1-1/+1
fix mis-spelling "mesauring" to "measuring". Bug-AGL: SPEC-3507 Signed-off-by: seigot <s.takada.3o3@gmail.com> Change-Id: I39fd6fe96715eb8e9c77e4d2ab9d0878c4379065
2021-04-28Divide package drm-lease-manager and libdlmclientNaoto Yamaguchi1-0/+3
In guest container, the dlm client (weston,kmscube) is only to use client library, but all file is installing to guest. This patch divide package drm-lease-manager and libdlmclient. Bug-AGL: SPEC-3892 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp> Change-Id: I3fe15c28213f15455c9fb0ae441cc773c0ea5bd7
2021-04-22Rework for drm-lease-manager.serviceNaoto Yamaguchi1-0/+5
The drm-lease-manager.service is losing some discriptions such as 'After', 'Wants' and 'Type'. When 'After' and 'Wants' is not having, the drm-lease-manager service can't enable. This patch add these configurations. Bug-AGL: SPEC-3892 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> Signed-off-by: Naoto Yamaguchi <i33399_yamaguchi@aisin-aw.co.jp> Change-Id: Ic95b2df33a0be61cd318e900da58efa02c189dc7
2021-04-16drm-lease: Update to latest versionDamian Hobson-Garcia1-1/+1
Adds support for detecting when a lease client application crashes and preventing the screen from blanking. Bug-AGL: SPEC-3862 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I7ae74087ccb2d847bc6fd1b0bfe4585459c98657
2021-04-06libweston: Don't request repaint in output enableDamian Hobson-Garcia2-0/+37
Allow for the compositor to start without first displaying a blank screen when no startup transition is used. This patch is under review in the mainline weston repository. It should be useable for other use cases besides drm-lease, but right now this patch causes the weston test suite to fail by unconvering an unrelated problem with wayland event handling[1]. For now, keep this with the drm-lease support under agl-devel until the weston test suite issue is resolved and the patch is merged upstream. [1]: https://gitlab.freedesktop.org/wayland/wayland/-/issues/201 Bug-AGL: SPEC-3816 Change-Id: Ib5a2f0dde833d88a17bd4e659ff1acee81acd21f Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2021-04-06drm-lease: Add seamless-transition supportDamian Hobson-Garcia1-1/+1
Update DRM lease manager to add DRM lease transition support. Bug-AGL: SPEC-3816 Change-Id: Ie8f003548db23b4d9f824c76e7927e4aebe67ceb Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
2021-03-17drm-lease: Enable DRM render node on R-CarDamian Hobson-Garcia3-0/+71
When using DRM lease, wayland clients applications must be able to create an EGL context without DRM authentication. The latest R-Car OpenGL driver, can do this when the R-Car display driver must provides a render node. Enable the rcar-du render node and allow it to allocate of scanout buffers. Bug-AGL: SPEC-3730 Change-Id: Iae4f74afb69de3a7f9ddf3ec5113938ade81fda4 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>