From 4b02e98f87b437a5f028cdcb1eceefbf53cbca52 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Tue, 9 Mar 2021 08:10:05 -0800 Subject: machine: Initial commit of qemuriscv32 (From OE-Core rev: 5610a5b4ef7e95bf208821309ada70eeae47c4f8) Signed-off-by: Alistair Francis Signed-off-by: Richard Purdie --- meta/conf/machine/qemuriscv32.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta/conf/machine/qemuriscv32.conf (limited to 'meta/conf/machine/qemuriscv32.conf') diff --git a/meta/conf/machine/qemuriscv32.conf b/meta/conf/machine/qemuriscv32.conf new file mode 100644 index 0000000000..1413775ad6 --- /dev/null +++ b/meta/conf/machine/qemuriscv32.conf @@ -0,0 +1,17 @@ +#@TYPE: Machine +#@NAME: generic riscv32 machine +#@DESCRIPTION: Machine configuration for running a generic riscv32 + +require conf/machine/include/riscv/qemuriscv.inc + +DEFAULTTUNE = "riscv32" + +PREFERRED_VERSION_openocd-native = "riscv" +PREFERRED_VERSION_openocd = "riscv" + +XVISOR_PLAT = "riscv/virt32" + +# u-boot doesn't compile, error: "can't link hard-float modules with soft-float modules" +# EXTRA_IMAGEDEPENDS += "u-boot" +# UBOOT_MACHINE = "qemu-riscv32_smode_defconfig" +# UBOOT_ELF = "u-boot" -- cgit v1.2.3-54-g00ecf