Age | Commit message (Collapse) | Author | Files | Lines |
|
Updates [v2]:
- Rename virtio-can recipe to solve SDPX error
Updates [v1]:
- Update virtio-can driver implementation and make it
compatible with all kernel versions between v5.10 and
v6.6. The implementation was tested on AGL refHW and
raspberry pi 4 boards.
Bug-AGL: SPEC-4966
Change-Id: I1b41d3e220b99f839e20b5b498aab8e1dc77c0ab
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
Specifically this commit enables virtio-can, virtio-input,
virtio-sound and virtio-loopback for linux-yocto kernel.
Bug-AGL: SPEC-4966
Change-Id: I856631c918129eb27f9dde7f594a0c601c8cc413
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
Include all virtio-loopback modules, devices and runtime dependencies
needed to run and test most of the supported devices (CAN, Sound, Console,
Blk, Rng, Input
Bug-AGL: SPEC-4966
Change-Id: I638a3a29b53cbea6e8884f438f94c038c339028b
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
Include only vhost-user-blk, remove vhost-user-rng/input
since their rust implementations (by vhost-device crate)
are already included.
Introduce a temporary solution for QEMU compilation error
by adding '--disable-werror' during configuration.
Bug-AGL: SPEC-4966
Change-Id: Ie6cd81228391b5e5cd2285a68aa7ab176c631f76
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
Updates [v2]:
Solve compatibility issue with virtio-loopback driver.
Update IOCTLs to be compatible with the latest driver version.
Updates [v1]:
This version adds multi-device support on virtio-loopback
adapter. With that the adapter is able to handle concurrently
requests coming from multiple vhost-user backends.
Bug-AGL: SPEC-4966
Change-Id: I42ed32b41daec3bd9c36176a49623a55174630e2
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
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>
|
|
Bug-AGL: SPEC-4966
Change-Id: I41cbe30549ebe923f8e3000ece072aa66c5e90a9
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
Bug-AGL: SPEC-4966
Change-Id: If5c6009c2730c6044cffc04a6c43ce116a35e656
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
Bug-AGL: SPEC-4966
Change-Id: Ice39bb44594802970618bf0a54f4ec633be83240
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
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>
|
|
Add multi-device feature
Bug-AGL: SPEC-4966
Change-Id: I448c539e78fb28de4dc64deb59471d8f5a329fe2
Signed-off-by: Timos Ampelikiotis <t.ampelikiotis@virtualopensystems.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
Change-Id: I3920dc90a6929e00d0a1491f8e63a7e982da9fe7
|
|
Change-Id: I9944c2d385363eda108bd1a585e25d5a3433116a
Signed-off-by: Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Bug-AGL: SPEC-4453
Change-Id: Ib3641884bac404c7281df37e5ed4f4939e2830b4
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
|
|
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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
Snippet has been updated using menuconfig/diffconfig tasks.
Bug-AGL: SPEC-3865
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Change-Id: I7c885d818f6ae80804f5ae9446072af05332bdf2
|
|
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
|
|
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
|
|
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
|
|
It is moved to meta-agl repository.
Bug-AGL: SPEC-3668
Change-Id: I7f02d5afe42f96a955ebd1ea7735a9b84fee9cc8
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
|
|
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>
|
|
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>
|
|
Part of the layer cleanup.
Bug-AGL: SPEC-2450
Change-Id: I3316e816c630ee47a5643f3efef72b01e67090a5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
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>
|