[PATCH v2 1/2] common: misc: add soc_uid_hex to globalvar

Jonas Rebmann jre at pengutronix.de
Wed Apr 15 04:14:49 PDT 2026


On 2026-04-15 13:10, Fabian Pflug wrote:
> uidstr and uidbuf could be the same, but don't have to be. This results
> in uncertainty on what exactly is the current UID used for
> machine_set_hashable and to compare against with TLV.
> 
> Add an additional global var, that encodes SoC-UID registers in a
> manner uniform across SoCs/manufacturers.
> 
> This can now be used to feed as data for bound-soc-uid into
> `bareboxtlv-generator.py` or as the value for
> `CONFIG_HABV4_CSF_UNLOCK_UID`
> 
> Signed-off-by: Fabian Pflug <f.pflug at pengutronix.de>

Reviewed-by: Jonas Rebmann <jre at pengutronix.de>



More information about the barebox mailing list