summaryrefslogtreecommitdiffstats
path: root/meta-egvirt
AgeCommit message (Collapse)AuthorFilesLines
2024-10-22Add dynamic layer for raspberrypi and rcar-gen3Timos Ampelikiotis22-0/+4234
Updates [v2]: It backports the virtio-sound module for rcar-gen3 and enables virtio-sound, virtio-can, virtio-input, virtio-console, virtio-loopback for both cases. Updates [v1]: Add linux-renesas kernel configuration Specifically this commit creates a new directory 'linux-renesas' for configuring the required modules to be loaded by that kernel. It is also backports the virtio-sound module and enables virtio-sound, virtio-can, virtio-input, virtio-console and virtio-loopback. Virtio-sound module sources: Source: https://lore.kernel.org/alsa-devel/20210302164709.3142702-1-anton.yakovlev@opensynergy.com Bug-AGL: SPEC-4966 Change-Id: Ie143e690695a526958e07a66ba481887b2e4a248 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
2024-10-22Update vhost-device-consoleTimos Ampelikiotis13-773/+3095
Bug-AGL: SPEC-4966 Change-Id: I41cbe30549ebe923f8e3000ece072aa66c5e90a9 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
2024-10-22Update vhost-device-soundTimos Ampelikiotis3-175/+172
Bug-AGL: SPEC-4966 Change-Id: If5c6009c2730c6044cffc04a6c43ce116a35e656 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
2024-10-22Add vhost-device-input (rust implementation)Timos Ampelikiotis2-0/+609
Bug-AGL: SPEC-4966 Change-Id: Ice39bb44594802970618bf0a54f4ec633be83240 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
2024-09-30Update virtio-loopback-adapterTimos Ampelikiotis1-1/+1
This version is compatible with the virtio-loopback driver supporting multi-device feature Bug-AGL: SPEC-4966 Change-Id: Ia36051ead939e89b35d283a57c015b77f3c2ffe5 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
2024-09-30Update virtio-loopback moduleTimos Ampelikiotis1-2/+2
Add multi-device feature Bug-AGL: SPEC-4966 Change-Id: I448c539e78fb28de4dc64deb59471d8f5a329fe2 Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
2024-05-13vhost-device-sound recipeMichele Paolino3-0/+286
This recipe compiles and installs the rust vhost-device-sound device to AGL. It works with scarthgap (for now tested with qemux86) Bug-AGL: SPEC-4966 Change-Id: I6acdbeabfb4e0b2d236d37ea62af973645f87b99 Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
2024-04-24Add Yocto Project scarthgap release compatibilityScott Murray1-1/+1
Switch to scarthgap in LAYERSERIES_COMPAT in layer.conf files. Bug-AGL: SPEC-4578 Change-Id: I50e341efd6a317a830352d44db1cd756d3589861 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
2024-02-09virtio: fix bblayer dependencies and include fileJan-Simon Moeller2-3/+8
To make the feature build, we need to adapt the dependencies. There are also 2 packages that do not build - mask them till they are fixed. Bug-AGL: SPEC-4834 Change-Id: Id35be44e14d2c0c429e403126953c3d5c78241a6 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2024-01-29New virtio-loopback-adapter repository addedquillback_16.93.0quillback/16.93.016.93.0Michele Paolino2-2/+3
This patch forces the use of the right virtio-loopback repository. We can now close SPEC-4966 Bug-AGL: SPEC-4966 Change-Id: I85c4e290d396e7189d297c101416662940db1f35 Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
2023-12-29Vhost-user-console device and can license fixesMichele Paolino16-2/+1755
This patch presents a new console device and fixes vhost-user-can license. vhost-device can and conosle devices will be proposed to rust-vmm/vhost-device community, and in case of acceptace this patch will be updated. Bug-AGL: SPEC-4834 Change-Id: I4dcded8733195158f848bd0e4fd4f4618a378c3a Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
2023-12-13CAN, GPIO, RNG vhost-devices for virtio-loopback [v6]quillback_16.92.0quillback/16.92.016.92.0Michele Paolino37-5695/+1941
This patch adds key components of the viritio-loopback architecture: - kernel-module-virtio-loopback: the virtio loopback kernel driver - CAN, GPIO and RNG vhost-user devices from meta-virtualization (commit a215d8320edee0a317a6511e7e2efa5bba867486) Notes: - libgpiod, comes from meta-openembedded commit 3029554ceb0b0bb52a8d8ec3f0a75c5113662fe6 - cleaned eg-virt from unused drivers (kernel-module-virtio-video) Bug-AGL: SPEC-4834 V2 changes: - related meta-virtualization commit message added in the cover letter - updated libgpio recipe to v2.1 - SPEC reference added in cover letter v3 - add vhost-device-can preliminary version. This is placed here with the objective to share the link when proposing the new device to the rust-vmm/vhost-device community - remove cargo-update-recipe-crates includes in bb file because it is not supported by the rust mixin layer - vhost-device folder README changes v4 - fixed libgpiod required version - tested ref hw and qemu x86/64 builds - vsock, scsi and i2c rust devices removed from the build as they are not yet integrated in virtiod-loopback - cleaned-up kernel modules kernel-module-virtio-video and gstreamer1.0-plugins-bad - virtio-loopback-driver set to 2-or-later v5 - Merge with Jan-Simon version v4: - remove broken kernel-module-virtio-video - use FEATURE_PACKAGES instead of IMAGE_INSTALL:append - rename virtio-loopback-driver.bb to kernel-module-virtio-loopback_git.bb for consistency v6 - adding version in the title - removing MODULE_GIT_REPOSITORY in kernel-modules Change-Id: Id6cc58e777b9edad03b6c50d0dddaac8601edeaf Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-11-23egvirt feature updates with virtio-loopbackquillback_16.91.0quillback/16.91.016.91.0Michele Paolino1-0/+19
Automatically installs virtio-loopback when eg-virt feature is enabled. This might be helpful to create images for CI testing. It also aligns egvirt with other featues moving the .inc file outside the template folder. v2: restrict effects only to h3ulcb machine for virtio-loopback components. v3: revert to v1. We don't restrict the append to a specific machine. Bug-AGL: SPEC-4834 Depends on change: 29407 Change-Id: I43222f1711b96e1c76028355611e9d8758204a17 Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
2023-11-07virtio-loopback-adapter: Update adapter recipe for sound and GPIO Yocto buildsAngelos Mouzakitis1-1/+1
Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> Change-Id: I3920dc90a6929e00d0a1491f8e63a7e982da9fe7
2023-11-07virtio-loopback kernel driver: Follow updates on the repoAngelos Mouzakitis1-1/+1
Change-Id: I9944c2d385363eda108bd1a585e25d5a3433116a Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
2023-10-13virtio-loopback: Update upstream to epsilon branchesAngelos Mouzakitis5-27/+28
These is the prerequisite work to enable support for feature vhost-devices on the adapter (gpu, sound, gpio) v2: Add sound support on virtio-loopback-adapter v2: Update recipe names of adapter and loopbackdriver with virtio- prefixes v2: Update recipes URI location to AGL-gerrit servers Change-Id: I15b45d37f0726864629749e8cb77dd6cf6d03628 Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
2023-05-05virtio-loopback: v5: Add recipes for virtio-loopback supportAngelos Mouzakitis8-0/+134
Includes the virtio-loopback kernel module, the adapter application, the vhost-user devices from QEMU and a Rust vhost-user-rng device implementation. v2: Update recipes to conform with the OE-Styleguide v3: Recipes fixes for generic builds v4: Generalize the recipes to build for different architectures v5: Update recipes to comply with the OE-Styleguide Change-Id: I67c14fd77e564c0aecdde40dc1cf7e893dae6de1 Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
2022-11-10virtualization: Add virtio-can driver as external module.Vasyl Vavrychuk4-0/+1235
This driver should conform RFC spec draft v2 [1]. This driver is based on RFC version [2]. Imported from internal OpenSynergy's revision: 3918336a7caab95a72442c33945a193ca893d5e8 Supply build file `Kbuild` and do not supply makefile [3] since external kernel module could be built without it. On the other hand, module BitBake class relies on wrapper makefile presence, therefore `MAKE_TARGETS` and `MODULES_INSTALL_TARGET` had to be set to specify arguments per [3]. Add driver as an external module to avoid unnecessary kernel rebuild and simplify future updates. [1]: https://lists.oasis-open.org/archives/virtio-dev/202208/msg00159.html [2]: https://lists.oasis-open.org/archives/virtio-dev/202208/msg00160.html [3]: https://www.kernel.org/doc/html/v6.0/kbuild/modules.html Change-Id: I9b654f58cc0c34983cd4103a5f7836263db79ec7 Bug-AGL: SPEC-4597 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-09-22egvirt: linux-yocto: Support linux-yocto-dev for VIRTIO.Vasyl Vavrychuk4-3/+128
Bug-AGL: SPEC-4453 Change-Id: Ib3641884bac404c7281df37e5ed4f4939e2830b4 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2022-09-22meta-egvirt: Bump layer priority to 61.Vasyl Vavrychuk1-1/+1
Bumped to have higher priority then meta-agl-bsp (60) to overlay recipes files (in particular linux-yocto) from meta-agl-bsp. Bug-AGL: SPEC-4453 Change-Id: Id558df0df39d7b3203da548a8c00db0cdd1a632c Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
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-03-24Update to SPDX license namesScott Murray1-1/+1
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-24Declare layer compatibility with kirkstoneScott Murray1-1/+1
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>
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-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-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-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-01-15meta-egvirt, templates: Remove virtio-aarch64 machine.koi_10.92.0koi/10.92.010.92.0Vasyl Vavrychuk9-142/+0
It is moved to meta-agl repository. Bug-AGL: SPEC-3668 Change-Id: I7f02d5afe42f96a955ebd1ea7735a9b84fee9cc8 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2020-11-17meta-egvirt, templates: Add virtio-aarch64 machineVasyl Vavrychuk9-0/+142
This machine is intended to run in ARMv8 virtualized environment that provides VirtIO devices. AGL machine configuration files are based on qemuarm64 machine from meta-agl branch master commit e1da0efcd2eece82b0326798cfeaeb8dd48797fc. Yocto machine configuration files are based on qemuarm64 machine from Poky branch dunfell commit 4e931b1d05018923dc145cd97f6f965f5cb6e1a5. Yocto Linux Kernel is used as recommended in [1]. Its metadata for the created machine are based on qemuarm64-standard.scc from yocto-kernel-cache branch yocto-5.4 commit 4aeda12f7f7eb84613ae1fe6e22cd9cd9790c20b. The rationale behind creating new machine is a wish to have a machine that could run on other hypervisor/virtual machine monitor that implements VirtIO, not necessary QEMU. For now, virtio-aarch64 machine runs under QEMU and OpenSynergy COQOS Hypervisor. virtio-aarch64 machine includes following changes comparing to qemuarm64: * use virtio-gpu instead of VGA display (to be upstreamed to work in conjunction with runqemu gl, sdl, etc. options) * use virtio-bus instead of PCI bus QEMU devices * remove unneeded configurations [1]: https://www.yoctoproject.org/docs/3.1.2/bsp-guide/bsp-guide.html#released-bsp-recommendations Bug-AGL: SPEC-3668 Change-Id: Iccfee8613de63770d371a57f0caab1c1eba8d912 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2020-11-06Return meta-egvirt layer for AGL virtualizationVasyl Vavrychuk3-0/+61
At the moment, this layer is planned to be used to implement virtio-aarch64 machine intended to be used in virtualized environments. This partially reverts commit: 0abaf1d Cleanup of meta-agl-devel for HH Bug-AGL: SPEC-3668 Change-Id: I73f140d7941edaad8e482f143bfcc296823d21b7 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2019-05-31Cleanup of meta-agl-devel for HHJan-Simon Möller5-68/+0
Part of the layer cleanup. Bug-AGL: SPEC-2450 Change-Id: I3316e816c630ee47a5643f3efef72b01e67090a5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-09Upgrade to thudScott Murray1-0/+1
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Disable pulseaudio-module-4a-client for now as it does not compile against PulseAudio 12.x - Remove meta-audio-4a-framework/recipes-devtools/python/python3-websockets_4.0.1.bb as it is superseded by upstream - Add OECMAKE_GENERATOR = "Unix Makefiles" to 4a-alsa-core, 4a-hal-generic, 4a-hal-unicens, and 4a-softmixer recipes for now to work around CMake+ninja issue - Remove alsa 1.1.6 recipes from meta-audio-4a-framework/recipes-multimedia/alsa as they are superseded by upstream. Local changes to the alsa-plugins recipe have been implemented in a bbappend. Known issues: - pulseaudio-module-4a-client has been disabled - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR Bug-AGL: SPEC-1837 Change-Id: I5355e9f74e2385a093ca21cda5bd52a80e1a6e67 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-08-10Install qemu and create agl-egvirt machine featureMichele Paolino3-0/+13
qemu is the userspace emulator needed to run KVM virtual machines. This patch adds a bbappend for qemu in the meta-egvirt layer, and includes it in the packages to be installed in the AGL distro. To do this, the new agl-egvirt machine feature has been created and is used to enable virtualization specific extensions created by the EG-VIRT group for AGL. In order to reduce its impact on the AGL image, the qemu targets have been limited to aarch64 and x86_64 only. Changelog v2: - agl-egvirt added to MACHINE_FEATURES - use of class_target to not create conflict by the QEMU version used in the SDK and the one used by KVM - README file updated accordingly Bug-AGL: SPEC-718 Change-Id: I27288382443ba2bfe14d574ade2e691a63da145d Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
2017-08-03New meta-egvirt layer for AGL virtualizationMichele Paolino3-0/+54
meta-egvirt is the AGL Virtualization Expert Group (EG-VIRT) layer. It is intended to be used to design, test, implement and assess virtualization technologies (containers, hypervisors, system partitioners and other solutions) for AGL ARMv8 and Intel platforms. The primary hardware target of such work is for the time being the Renesas R-Car M3 development platform (ARMv8). Other solutions will be added in future, depending on their availability and on the community interest. Changelog: added file 50_bblayers.conf.inc as a generic agl-egvirt feature Bug-AGL: SPEC-787 Change-Id: I8b5d9412a71a956d8c48e0dac0ea4c6e2f61fc3c Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>