Re: [Qemu-devel] [RFC v1 2/5] hw/riscv: Add support for loading a firmware

2019-06-19 Thread Bin Meng
On Wed, Jun 19, 2019 at 8:53 AM Alistair Francis 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.elf -kernel vmlinux > > Signed-off-by: Alistair Francis

[Qemu-devel] [RFC v1 2/5] hw/riscv: Add support for loading a firmware

2019-06-18 Thread Alistair Francis
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.elf -kernel vmlinux Signed-off-by: Alistair Francis --- hw/riscv/boot.c | 41 +++