summaryrefslogtreecommitdiffstats
path: root/meta-egvirt
AgeCommit message (Collapse)AuthorFilesLines
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>