[PATCH V2 3/7] riscv: dts: binman: add condition for opensbi os boot

Simon Glass sjg at google.com
Thu Oct 12 17:28:57 CEST 2023


On Wed, 11 Oct 2023 at 23:43, Randolph <randolph at andestech.com> wrote:
>
> Add condition for OpenSBI OS boot mode, by default it is not enabled.
> By default, binman creates the output file u-boot.itb.
> If SPL_OPENSBI_OS_BOOT is enabled, linux.itb will be created
> after compilation instead of the default u-boot.itb.
>
> Signed-off-by: Randolph <randolph at andestech.com>
> ---
>  arch/riscv/dts/binman.dtsi | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>

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

You do have the option of creating two images, so you can support both
boot approaches. Then you would need to do the check at runtime,
somehow.


More information about the U-Boot mailing list