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

Bin Meng bmeng.cn at gmail.com
Mon Oct 22 09:37:12 UTC 2018


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!

Regards,
Bin


More information about the U-Boot mailing list