[PATCH 0/3] QEMU spike machine support for U-Boot

Anup Patel apatel at ventanamicro.com
Tue Jan 25 07:03:41 CET 2022


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

Okay, I will add a separate patch in the next revision.

Regards,
Anup

>
> Regards,
> Bin


More information about the U-Boot mailing list