
On Tue, Jan 18, 2022 at 6:56 PM Anup Patel anup@brainfault.org wrote:
On Tue, Jan 18, 2022 at 3:41 PM Bin Meng bmeng.cn@gmail.com wrote:
On Sat, Jan 15, 2022 at 12:20 AM Anup Patel apatel@ventanamicro.com wrote:
We can use same U-Boot binary compiled using qemu-riscv64_smode_defconfig on QEMU virt machine and QEMU spike machine. To achieve this, we need HTIF console support for U-Boot QEMU RISC-V board hence this series.
To test this series with latest OpenSBI, we can use the following command: qemu-system-riscv64 -M spike -m 256M -display none -serial stdio \ -bios opensbi/build/platform/generic/firmware/fw_jump.bin -kernel \
I think you forgot to mention this needs an updated QEMU too, due to plain binary is now used for spike?
Ahh, yes. I should have provided the link to the QEMU spike machine patch.
QEMU patch link: https://lore.kernel.org/all/20220114160457.70134-1-apatel@ventanamicro.com/
Please also include a patch to update the QEMU riscv board doc, with the updated instructions on QEMU for Spike machine.
Regards, Bin