RFC: Adding U-Boot version in FDT chosen node

Rob Herring robh at kernel.org
Tue Apr 12 15:35:33 CEST 2022


On Mon, Apr 11, 2022 at 1:18 PM Francesco Dolcini
<francesco.dolcini at toradex.com> wrote:
>
> Hello all,
> I have a need to pass the u-boot version string to the operating
> system and I'm thinking at adding `u-boot,version` property storing
> `version_string` in it in the FDT `chosen` node.
>
> Is this something that would be generally useful? Would be a patch like
> that acceptable in upstream u-boot? Is there any other obvious way to
> achieve something like that already implemented (using the cmdline would
> work without any code change, but probably not the nicest solution).

Seems fine to me. Please add it here[1].

Rob

[1] https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/chosen.yaml


More information about the U-Boot mailing list