On Tue, Dec 11, 2018 at 9:03 PM Bin Meng <bmeng...@gmail.com> wrote: > > Hi Anup, > > On Tue, Dec 11, 2018 at 11:02 PM Anup Patel <a...@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 OR # qemu-system-riscv64 -M virt -m 256M -display none -serial stdio -kernel ./u-boot Regards, Anup _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot