RFC: Adding U-Boot version in FDT chosen node

Tom Rini trini at konsulko.com
Wed Apr 20 19:33:03 CEST 2022


On Wed, Apr 20, 2022 at 07:01:43PM +0200, Francesco Dolcini wrote:
> +Tom
> 
> On Mon, Apr 11, 2022 at 08:17:55PM +0200, Francesco Dolcini 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).
> 
> Any concern on this Tom? I'm asking you directly since you recently
> acknowledged another change [0] related to the chosen node.
> 
> [0] https://lore.kernel.org/all/20220412201444.GN14282@bill-the-cat/

So, the patch I applied had a matching update to the relevant DT schema.
I don't see a problem with adding this information as well, but would
suggest starting by having a matching schema change and explanation of
use cases there.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220420/11f04653/attachment.sig>


More information about the U-Boot mailing list