riscv: implement VirtIO target

This allows running RISC-V tests in CI using QEMU, which should help
catch bugs.
This commit is contained in:
Ayke van Laethem
2020-03-22 20:11:46 +01:00
committed by Ron Evans
parent c4fd19be99
commit 980068543a
6 changed files with 132 additions and 33 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"inherits": ["riscv"],
"features": ["+a", "+c", "+m"],
"build-tags": ["virt", "qemu"],
"linkerscript": "targets/riscv-qemu.ld",
"emulator": ["qemu-system-riscv32", "-machine", "virt", "-nographic", "-bios", "none", "-kernel"]
}