hw/riscv: Use pre-built bios image of generic platform for virt & sifive_u
commit2cacd8414daf6a0643926392f05fd397ed1e9b66
authorBin Meng <bin.meng@windriver.com>
Fri, 1 May 2020 13:45:55 +0000 (1 21:45 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Sat, 22 Aug 2020 05:37:55 +0000 (21 22:37 -0700)
treecd08ef04f19ac882ecbcbcdaeb04a7215964b95c
parent00db05fbedf60f6722e881cfa7f01320e579c321
hw/riscv: Use pre-built bios image of generic platform for virt & sifive_u

Update virt and sifive_u machines to use the opensbi fw_dynamic bios
image built for the generic FDT platform.

Remove the out-of-date no longer used bios images.

Note:

1. To test 32-bit Linux kernel on QEMU 'sifive_u' 32-bit machine,
   the following patch is needed:
   http://lists.infradead.org/pipermail/linux-riscv/2020-July/001213.html

2. To test 64-bit Linux 5.3 kernel on QEMU 'virt' or 'sifive_u' 64-bit
   machines, the following commit should be cherry-picked to 5.3:

   commit 922b0375fc93fb1a20c5617e37c389c26bbccb70
   Author: Albert Ou <aou@eecs.berkeley.edu>
   Date:   Fri Sep 27 16:14:18 2019 -0700

       riscv: Fix memblock reservation for device tree blob

   Linux 5.4 or above already contains this commit/fix.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <1596439832-29238-5-git-send-email-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Makefile
hw/riscv/sifive_u.c
hw/riscv/virt.c
pc-bios/opensbi-riscv32-generic-fw_dynamic.bin [new file with mode: 0644]
pc-bios/opensbi-riscv32-sifive_u-fw_jump.bin [deleted file]
pc-bios/opensbi-riscv32-virt-fw_jump.bin [deleted file]
pc-bios/opensbi-riscv64-generic-fw_dynamic.bin [new file with mode: 0644]
pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin [deleted file]
pc-bios/opensbi-riscv64-virt-fw_jump.bin [deleted file]