From 2d05cfff33a010c2133f66e757d2f4850c584a1e Mon Sep 17 00:00:00 2001 From: Vasyl Vavrychuk Date: Thu, 14 Jan 2021 22:12:39 +0100 Subject: meta-agl-bsp, templates: Add virtio-aarch64 machine 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 Changes are moved here from meta-agl-devel. [1]: https://www.yoctoproject.org/docs/3.1.2/bsp-guide/bsp-guide.html#released-bsp-recommendations Bug-AGL: SPEC-3668 Signed-off-by: Vasyl Vavrychuk Change-Id: I653ca35fded3d3e38f25299f46629db1174b5008 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25915 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- templates/machine/virtio-aarch64/50_bblayers.conf.inc | 6 ++++++ templates/machine/virtio-aarch64/50_local.conf.inc | 3 +++ .../machine/virtio-aarch64/README_machine_virtio-aarch64.md | 10 ++++++++++ 3 files changed, 19 insertions(+) create mode 100644 templates/machine/virtio-aarch64/50_bblayers.conf.inc create mode 100644 templates/machine/virtio-aarch64/50_local.conf.inc create mode 100644 templates/machine/virtio-aarch64/README_machine_virtio-aarch64.md (limited to 'templates/machine') diff --git a/templates/machine/virtio-aarch64/50_bblayers.conf.inc b/templates/machine/virtio-aarch64/50_bblayers.conf.inc new file mode 100644 index 000000000..16c7ec5f8 --- /dev/null +++ b/templates/machine/virtio-aarch64/50_bblayers.conf.inc @@ -0,0 +1,6 @@ +BBFILES += " \ + ${METADIR}/meta-agl/meta-agl-bsp/virtualization-layer/recipes*/*/*.bb \ + ${METADIR}/meta-agl/meta-agl-bsp/virtualization-layer/recipes*/*/*.bbappend \ + " + +BBMASK += "meta-agl/meta-agl-bsp/virtualization-layer/recipes-extended/xen" diff --git a/templates/machine/virtio-aarch64/50_local.conf.inc b/templates/machine/virtio-aarch64/50_local.conf.inc new file mode 100644 index 000000000..3328d6ab8 --- /dev/null +++ b/templates/machine/virtio-aarch64/50_local.conf.inc @@ -0,0 +1,3 @@ +MACHINE = "virtio-aarch64" +# see meta-agl/meta-agl-bsp/conf/include/agl_virtio-aarch64.inc +require conf/include/agl_virtio-aarch64.inc diff --git a/templates/machine/virtio-aarch64/README_machine_virtio-aarch64.md b/templates/machine/virtio-aarch64/README_machine_virtio-aarch64.md new file mode 100644 index 000000000..8149c4324 --- /dev/null +++ b/templates/machine/virtio-aarch64/README_machine_virtio-aarch64.md @@ -0,0 +1,10 @@ +--- +description: Machine virtio-aarch64 +authors: Vasyl Vavrychuk +--- + +### Machine virtio-aarch64 + +This machine is intended to run in an ARMv8 virtualized environment that +provides VirtIO devices. For now, virtio-aarch64 machine was verified under QEMU +and OpenSynergy COQOS Hypervisor. -- cgit 1.2.3-korg