[U-Boot] [PATCH 00/30] General fixes / cleanup for RISC-V and improvements to qemu-riscv

Bin Meng bmeng.cn at gmail.com
Fri Oct 26 13:20:31 UTC 2018


Hi Lukas,

On Mon, Oct 22, 2018 at 5:37 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> Hi Lukas,
>
> On Sat, Oct 20, 2018 at 6:08 AM Lukas Auer
> <lukas.auer at aisec.fraunhofer.de> wrote:
> >
> >
> > This patch series includes general fixes and cleanup for RISC-V. It also
> > adds support for booting Linux on qemu-riscv. At the moment, only
> > single-core systems are supported. Support for multi-core systems will
> > be added with a future patch series.
> >
> > To boot Linux on qemu-riscv, Linux must be compiled into BBL as a
> > payload. BBL must be included in a FIT image and supplied to QEMU with
> > the -kernel parameter. Its location in memory is embedded in the device
> > tree, which QEMU passes to u-boot.
> > To test this, QEMU and riscv-pk (BBL) must be modified. QEMU is modified
> > to add support for loading binary files (FIT images in this case) in
> > addition to ELF files. riscv-pk must be modified to adjust the link
> > address and to ignore the kernel address from the device tree. A pull
> > request for QEMU, which implements this, is available at [1]. A modified
> > version of riscv-pk is available at [2].
> >
> > [1]: https://github.com/riscv/riscv-qemu/pull/175
> > [2]: https://github.com/lukasauer/riscv-pk/tree/riscv-u-boot
> >
>
> Thanks for these patches. I have reviewed all patches and sent out my
> comments. Good work!

When you spin the v2 series, is it possible to rebase the series on
top of u-boot-dm/next [1]  branch, which contains the virtio support,
so that we can test QEMU RISC-V with virtio? Thanks!

[1] http://git.denx.de/?p=u-boot/u-boot-dm.git;a=shortlog;h=refs/heads/next

Regards,
Bin


More information about the U-Boot mailing list