templates: qemuriscv64: Initial commit of qemuriscv64 machine 05/25105/7
authorAlistair Francis <alistair.francis@wdc.com>
Tue, 11 Aug 2020 18:04:16 +0000 (11:04 -0700)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 16 Dec 2020 20:50:41 +0000 (20:50 +0000)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Change-Id: I50a966dcbe051ae5369e28291e5bb62cd40267b9
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25105
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/conf/include/agl_qemuriscv64.inc [new file with mode: 0644]
templates/machine/qemuriscv64/50_local.conf.inc [new file with mode: 0644]
templates/machine/qemuriscv64/README_machine_qemuriscv64.md [new file with mode: 0644]

diff --git a/meta-agl-bsp/conf/include/agl_qemuriscv64.inc b/meta-agl-bsp/conf/include/agl_qemuriscv64.inc
new file mode 100644 (file)
index 0000000..a735389
--- /dev/null
@@ -0,0 +1,11 @@
+# Build updatable image. Only takes effect when sota.bbclass is inherited
+DISTRO_FEATURES_append = " sota"
+
+# Root device
+ROOT_VM = "root=PARTUUID=${DISK_SIGNATURE}-02"
+
+# Over-ride setting in oe-core's qemuriscv64.conf
+QB_MEM_qemuriscv64 = "-m 2048"
+
+# Use our own wks file
+WKS_FILE="directdisk.wks.in"
diff --git a/templates/machine/qemuriscv64/50_local.conf.inc b/templates/machine/qemuriscv64/50_local.conf.inc
new file mode 100644 (file)
index 0000000..5eba64f
--- /dev/null
@@ -0,0 +1,3 @@
+MACHINE = "qemuriscv64"
+#see meta-agl/meta-agl-bsp/conf/include/agl_qemux86-64.inc
+require conf/include/agl_qemuriscv64.inc
diff --git a/templates/machine/qemuriscv64/README_machine_qemuriscv64.md b/templates/machine/qemuriscv64/README_machine_qemuriscv64.md
new file mode 100644 (file)
index 0000000..00eb1d3
--- /dev/null
@@ -0,0 +1,9 @@
+---
+description: Machine qemuriscv64
+authors: Alistair Francis <alistair.francis@wdc.com>
+---
+
+### Machine qemuarm64
+
+The 64-bit RISC-V QEMU virt machine.
+