]> git.proxmox.com Git - mirror_qemu.git/commit
hw/riscv: Extend the kernel loading support
authorAlistair Francis <alistair.francis@wdc.com>
Mon, 24 Jun 2019 22:11:54 +0000 (15:11 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 27 Jun 2019 09:47:06 +0000 (02:47 -0700)
commit395fd69582a00b76a89c12d9c074055a9d207997
tree12358d3ce47df93e58629faf0714d6caca2a99e1
parentb30422231b90c089ce73aa4b40461bfdc1be0371
hw/riscv: Extend the kernel loading support

Extend the RISC-V kernel loader to support Image and uImage files.
A Linux kernel can now be booted with:

    qemu-system-riscv64 -machine virt -bios fw_jump.bin -kernel Image

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/boot.c