summaryrefslogtreecommitdiff
path: root/configs/qemu-riscv32_defconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-09-26 06:55:21 -0700
committerAndes <uboot@andestech.com>2018-10-03 17:48:37 +0800
commit510e379c49ba8e0d90960d8cbc2ffb91091e229a (patch)
treeb0309877c972fa382c033802d72e2feb6976a353 /configs/qemu-riscv32_defconfig
parentcd1f45c21d7e152eba000bf7c2168aaff800ed37 (diff)
riscv: Add QEMU virt board support
This adds QEMU RISC-V 'virt' board target support, with the hope of helping people easily test U-Boot on RISC-V. The QEMU virt machine models a generic RISC-V virtual machine with support for the VirtIO standard networking and block storage devices. It has CLINT, PLIC, 16550A UART devices in addition to VirtIO and it also uses device-tree to pass configuration information to guest software. It implements RISC-V privileged architecture spec v1.10. Both 32-bit and 64-bit builds are supported. Support is pretty much preliminary, only booting to U-Boot shell with the UART driver on a single core. Booting Linux is not supported yet. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Diffstat (limited to 'configs/qemu-riscv32_defconfig')
-rw-r--r--configs/qemu-riscv32_defconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/qemu-riscv32_defconfig b/configs/qemu-riscv32_defconfig
new file mode 100644
index 0000000000..ff1fb1f30e
--- /dev/null
+++ b/configs/qemu-riscv32_defconfig
@@ -0,0 +1,6 @@
+CONFIG_RISCV=y
+CONFIG_TARGET_QEMU_VIRT=y
+CONFIG_NR_DRAM_BANKS=1
+CONFIG_DISPLAY_CPUINFO=y
+CONFIG_DISPLAY_BOARDINFO=y
+CONFIG_OF_BOARD=y