On Tue, Jan 18, 2022 at 6:56 PM Anup Patel <a...@brainfault.org> wrote: > > On Tue, Jan 18, 2022 at 3:41 PM Bin Meng <bmeng...@gmail.com> wrote: > > > > On Sat, Jan 15, 2022 at 12:20 AM Anup Patel <apa...@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-apa...@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