
On Wed, Dec 12, 2018 at 12:20 AM Anup Patel anup@brainfault.org wrote:
On Tue, Dec 11, 2018 at 9:45 PM Bin Meng bmeng.cn@gmail.com wrote:
Hi Anup,
On Wed, Dec 12, 2018 at 12:07 AM Anup Patel anup@brainfault.org wrote:
On Tue, Dec 11, 2018 at 9:03 PM Bin Meng bmeng.cn@gmail.com wrote:
Hi Anup,
On Tue, Dec 11, 2018 at 11:02 PM Anup Patel anup@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.
Ahh, understood your problem.
There is a bug in QEMU FDT generation for sifive_u.
Here's the QEMU fix (which I have send to QEMU mailing list):
With the new info, now I am able to boot U-Boot on QEMU sifive_u.
Regards, Bin