aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2020-08-11 11:04:16 -0700
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-12-16 20:50:41 +0000
commit90682909b0d83a133155651f1e04bb39cb37d8d9 (patch)
tree7e57618e858b0fc8394a0dac0f222f431c69db7d
parent4be167d442ce00b3e54d2a68842863664f2466a5 (diff)
templates: qemuriscv64: Initial commit of qemuriscv64 machine
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>
-rw-r--r--meta-agl-bsp/conf/include/agl_qemuriscv64.inc11
-rw-r--r--templates/machine/qemuriscv64/50_local.conf.inc3
-rw-r--r--templates/machine/qemuriscv64/README_machine_qemuriscv64.md9
3 files changed, 23 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_qemuriscv64.inc b/meta-agl-bsp/conf/include/agl_qemuriscv64.inc
new file mode 100644
index 000000000..a7353898b
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_qemuriscv64.inc
@@ -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
index 000000000..5eba64f0d
--- /dev/null
+++ b/templates/machine/qemuriscv64/50_local.conf.inc
@@ -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
index 000000000..00eb1d300
--- /dev/null
+++ b/templates/machine/qemuriscv64/README_machine_qemuriscv64.md
@@ -0,0 +1,9 @@
+---
+description: Machine qemuriscv64
+authors: Alistair Francis <alistair.francis@wdc.com>
+---
+
+### Machine qemuarm64
+
+The 64-bit RISC-V QEMU virt machine.
+