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

Rick Chen
2022-02-07T06:10:51Z

HI Anup,

> From: Anup Patel <anup@brainfault.org>
> Sent: Sunday, February 06, 2022 4:41 PM
> To: Rick Jian-Zhi Chen(陳建志) <rick@andestech.com>
> Cc: Bin Meng <bmeng.cn@gmail.com>; Atish Patra <atishp@atishpatra.org>; Alistair Francis <Alistair.Francis@wdc.com>; Anup Patel <apatel@ventanamicro.com>; U-Boot Mailing List <u-boot@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@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