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

Rick Chen rickchen36 at gmail.com
Mon Feb 7 07:10:29 CET 2022


HI Anup,

> From: Anup Patel <anup at brainfault.org>
> Sent: Sunday, February 06, 2022 4:41 PM
> To: Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>; Atish Patra <atishp at atishpatra.org>; Alistair Francis <Alistair.Francis at wdc.com>; Anup Patel <apatel at ventanamicro.com>; U-Boot Mailing List <u-boot at lists.denx.de>
> Subject: Re: [PATCH v2 0/4] QEMU spike machine support for U-Boot
>
> Hi Rick,
>
> On Thu, Jan 27, 2022 at 11:41 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 \
> > ./u-boot/u-boot.bin
> >
> > These patch can be found in qemu_riscv_htif_v2 branch at:
> > https://github.com/avpatel/u-boot.git
> >
> > Changes since v1:
> >  - Use ofnode_by_compatible() in PATCH3
> >  - Updated QEMU RISC-V documentation in PATCH4
> >
> > Anup Patel (4):
> >   serial: Add RISC-V HTIF console driver
> >   riscv: qemu: Enable HTIF console support
> >   riscv: qemu: Implement is_flash_available() for MTD NOR
> >   doc: qemu-riscv: Update documentation for QEMU spike machine
>
> Can this series be considered for the upcoming v2022.04 release ?

Yes,  cc Leo and he will follow this series and apply ASAP.

Thanks,
Rick


More information about the U-Boot mailing list