On Tue, Jun 25, 2019 at 6:19 AM Alistair Francis <alistair.fran...@wdc.com> wrote: > > Add support for loading a firmware file for the virt machine and the > SiFive U. This can be run with the following command: > > qemu-system-riscv64 -machine virt -bios fw_jump.bin -kernel vmlinux > > Signed-off-by: Alistair Francis <alistair.fran...@wdc.com> > --- > hw/riscv/boot.c | 26 ++++++++++++++++++++++++++ > hw/riscv/sifive_u.c | 4 ++++ > hw/riscv/virt.c | 4 ++++ > include/hw/riscv/boot.h | 2 ++ > 4 files changed, 36 insertions(+) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> Tested-by: Bin Meng <bmeng...@gmail.com>