summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/qemuriscv64.conf
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2019-06-18 17:55:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-19 13:10:27 +0100
commit11b6020dff4550fc3a42e04bc1e86baf37942c62 (patch)
treef7b24cbd49a6ea5a721e959f8209d2846d146ee8 /meta/conf/machine/qemuriscv64.conf
parent112ca2174dd97f5ca9ea25f83007d44054abc487 (diff)
downloadopenembedded-core-contrib-11b6020dff4550fc3a42e04bc1e86baf37942c62.tar.gz
qemuriscv64: Add the QEMU RISC-V 64-bit machine
The include is split ready to add the 32-bit RISC-V machine as soon as glibc supports 32-bit RISC-V. This is based on the work in the meta-riscv layer, thanks to Khem for starting this. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/qemuriscv64.conf')
-rw-r--r--meta/conf/machine/qemuriscv64.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/conf/machine/qemuriscv64.conf b/meta/conf/machine/qemuriscv64.conf
new file mode 100644
index 0000000000..f1be7b8a71
--- /dev/null
+++ b/meta/conf/machine/qemuriscv64.conf
@@ -0,0 +1,11 @@
+#@TYPE: Machine
+#@NAME: generic riscv64 machine
+#@DESCRIPTION: Machine configuration for running a generic riscv64
+
+require conf/machine/include/riscv/qemuriscv.inc
+
+QB_OPT_APPEND = "-show-cursor -monitor null -device loader,file=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE},addr=0x80200000"
+
+EXTRA_IMAGEDEPENDS += "u-boot"
+UBOOT_MACHINE = "qemu-riscv64_defconfig"
+UBOOT_ELF = "u-boot"