[PATCH v1 00/12] Support OF_UPSTREAM for StarFive JH7110

Hal Feng hal.feng at starfivetech.com
Thu Oct 3 19:23:34 CEST 2024


> On 01.10.24 01:56, Heinrich Schuchardt wrote:
> On 30.09.24 17:59, Hal Feng wrote:
> > This patchset add OF_STREAM support for StarFive JH7110 based boards.
> > All the JH7110 based boards can use the DT from upstreaming linux kernel.
> > The v1.3b board device tree is set as the default device tree.
> >
> > This patchset should be applied after the DT from dts/upstream/
> > updating to the latest version.
> 
> Hello Hal,
> 
> Thanks a lot for making the move to upstream device-trees for JH7110 based
> boards.
> 
> With the current patchset you suggest to specify the relevant device-tree
> when building, e.g.
> 
> make
> OPENSBI=$(opensbi_dir)/build/platform/generic/firmware/fw_dynamic.bin \
> DEVICE_TREE=starfive/jh7110-milkv-mars
> 
> Another approach would be to build all device-trees into U-Boot and use the
> EEPROM information to select the correct one at runtime.
> 
> This approach is selected by Wandboard defconfig and other boards by
> specifying CONFIG_MULTI_DTB_FIT and CONFIG_OF_LIST. The choice of the
> device-tree is made in board_fit_config_name_match().
> 
> The advantage from the standpoint of a Linux distro would be that one distro
> image can be provided that will run on all JH7110 boards.

That is a good idea. I will try to do this after my five-day vacation.
By the way, I wanna know whether jh7110-milkv-mars-cm.dts and
jh7110-milkv-mars-cm-lite.dts are in the process of upstreaming?
I don't see them in the kernel mainline.

Thanks for your suggestions.

Best regards,
Hal


More information about the U-Boot mailing list