[U-Boot] [PATCH v2 0/2] SiFive UART support
Bin Meng
bmeng.cn at gmail.com
Tue Dec 11 16:15:45 UTC 2018
Hi Anup,
On Wed, Dec 12, 2018 at 12:07 AM Anup Patel <anup at brainfault.org> wrote:
>
> On Tue, Dec 11, 2018 at 9:03 PM Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > Hi Anup,
> >
> > On Tue, Dec 11, 2018 at 11:02 PM Anup Patel <anup at brainfault.org> wrote:
> > >
> > > This patchset adds SiFive UART driver for SiFive UART
> > > found on SiFive boards.
> > >
> > > The driver is tested on QEMU sifive_u machine. In fact,
> > > with this patchset same U-Boot binary boots on QEMU virt
> > > machine and QEMU sifive_u machine in both M-mode and
> > > S-mode.
> > >
> >
> > Could you please specify how to test this? I tried your v1 patch but
> > U-Boot did not boot. I must have missed something ...
>
> To try this patches in M-mode do the following (in u-boot source directory):
> # ARCH=riscv
> # CROSS_COMPILE=riscv64-unknown-linux-gnu-
> # make qemu-riscv64_defconfig
> # make
> # qemu-system-riscv64 -M sifive_u -m 256M -display none -serial stdio
> -kernel ./u-boot
I tried exactly the same, but no console output.
> OR
> # qemu-system-riscv64 -M virt -m 256M -display none -serial stdio
> -kernel ./u-boot
>
Regards,
Bin
More information about the U-Boot
mailing list