[PATCH v2 0/4] riscv: dts: starfive: simplify binman config

Hal Feng hal.feng at starfivetech.com
Tue Feb 18 03:50:52 CET 2025


> On 10.02.25 19:18, Heinrich Schuchardt wrote:
> All StarFive JH7110 are supported via starfive_visionfive2_defconfig.
> Up to now we have explicitly specified the multi-device-tree FIT configuration.
> This more complicated than needed.
> 
> Binman can use the information from CONFIG_OF_LIST to automatically
> generated a FIT image containing the necessary device-trees and
> configurations.
> 
> This also removes the non-functional default configuration without a device-
> tree that binman added up to now.
> 
> Before the patch set booting on an unsupported device would fail in main U-
> Boot due to the lack of a device-tree in the default configuration.
> 
> With this patch set booting will fail in SPL because there is no default
> configuration.
> 
> v2:
> 	do not use a default configuration
> 
> Heinrich Schuchardt (4):
>   riscv: dts: add OF_LIST handling to binman.dtsi
>   board: starfive: spl: strip off 'starfive/' prefix
>   riscv: dts: starfive: remove duplicate itb entries
>   riscv: dts: starfive: don't use a default configuration
> 
>  arch/riscv/dts/binman.dtsi                    |  7 +-
>  .../dts/starfive-visionfive2-binman.dtsi      | 75 ++-----------------
>  board/starfive/visionfive2/spl.c              |  4 +
>  3 files changed, 14 insertions(+), 72 deletions(-)

Tested-by: Hal Feng <hal.feng at starfivetech.com>

Tested successfully on VisionFive 2 1.3b, SPL can successfully enumerate
each dtb in OF_LIST.

Best regards,
Hal


More information about the U-Boot mailing list