aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.
+