| 1 |
# QEMU RISC-V emulator |
| 2 |
|
| 3 |
## Building coreboot and running it in QEMU |
| 4 |
|
| 5 |
- Configure coreboot and run `make` as usual |
| 6 |
|
| 7 |
Run QEMU |
| 8 |
``` |
| 9 |
qemu-system-riscv64 -M virt -m 1G -nographic -bios build/coreboot.rom \ |
| 10 |
-drive if=pflash,file=./build/coreboot.rom,format=raw |
| 11 |
``` |