summaryrefslogtreecommitdiff
path: root/Documentation/mainboard/emulation/qemu-riscv.md
blob: 9ccc1b7265a18bed7fedd4ef53db00ed7259d741 (plain)
1
2
3
4
5
6
7
8
9
10
11
# QEMU RISC-V emulator

## Building coreboot and running it in QEMU

- Configure coreboot and run `make` as usual

Run QEMU
```
qemu-system-riscv64 -M virt -m 1G -nographic -bios build/coreboot.rom \
                    -drive if=pflash,file=./build/coreboot.rom,format=raw
```