Attention is currently required from: Arthur Heymans, Maximilian Brune, Philipp Hug, ron minnich.
Hello Arthur Heymans, Philipp Hug, build bot (Jenkins), ron minnich,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/80746?usp=email
to look at the new patch set (#7).
The following approvals got outdated and were removed: Code-Review+1 by Philipp Hug, Verified+1 by build bot (Jenkins)
Change subject: mb/emulation/qemu-riscv: Change to -bios option ......................................................................
mb/emulation/qemu-riscv: Change to -bios option
This changes the virt target so that it can be run with the -bios option and a pflash backend for the flash. QEMU can now be run as follows:
qemu -M virt -m 1G -nographic -bios build/coreboot.rom \ -drive if=pflash,file=./build/coreboot.rom,format=raw
coreboot will start in DRAM, but still have a flash to put CBFS onto and to load subsequent stages and payload from.
Tested bootflow: coreboot -> OpenSBI -> Linux -> u-root
Signed-off-by: Maximilian Brune maximilian.brune@9elements.com Change-Id: I009d97fa3e13068b91c604e987e50a65e525407d --- M Documentation/mainboard/emulation/qemu-riscv.md M src/mainboard/emulation/Kconfig M src/mainboard/emulation/qemu-riscv/Kconfig M src/mainboard/emulation/qemu-riscv/Makefile.mk A src/mainboard/emulation/qemu-riscv/cbmem.c A src/mainboard/emulation/qemu-riscv/chip.c M src/mainboard/emulation/qemu-riscv/devicetree.cb M src/mainboard/emulation/qemu-riscv/include/mainboard/addressmap.h M src/mainboard/emulation/qemu-riscv/mainboard.c M src/mainboard/emulation/qemu-riscv/memlayout.ld M src/mainboard/emulation/qemu-riscv/rom_media.c M src/mainboard/emulation/qemu-riscv/romstage.c M util/qemu/Makefile.mk 13 files changed, 98 insertions(+), 55 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/80746/7