[PATCH v2 10/11] riscv: qemu: Switch to use binman to generate u-boot.itb

Simon Glass sjg at chromium.org
Sat May 8 17:49:17 CEST 2021


Hi Bin,

On Sat, 8 May 2021 at 08:15, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> By utilizing the newly introduced BINMAN_DTB option, along with a
> new dedicated device tree source file for the QEMU virt target used
> for binman only, we can now use binman to generate u-boot.itb.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - new patch: "riscv: qemu: Switch to use binman to generate u-boot.itb"
>
>  arch/riscv/cpu/generic/Kconfig     | 1 +
>  arch/riscv/dts/Makefile            | 1 +
>  arch/riscv/dts/binman.dtsi         | 8 ++++++++
>  arch/riscv/dts/qemu-virt.dts       | 8 ++++++++
>  configs/qemu-riscv32_spl_defconfig | 2 ++
>  configs/qemu-riscv64_spl_defconfig | 2 ++
>  6 files changed, 22 insertions(+)
>  create mode 100644 arch/riscv/dts/qemu-virt.dts

Reviewed-by: Simon Glass <sjg at chromium.org>

Do you think it would be better to have qemu use a completely
different DT? Do 'normal' boards define OF_PRIOR_STAGE?

Regards,
Simon


More information about the U-Boot mailing list