[PATCH v7 3/7] ARM: tegra: add SoC UID calculation function
Thierry Reding
thierry.reding at gmail.com
Fri Jun 23 13:24:37 CEST 2023
On Fri, Jun 23, 2023 at 08:55:56AM +0300, Svyatoslav Ryhel wrote:
> This is a small tool for calculation of SoC UID based on the same
> Linux function. It can be further used for generation of device
> unique data like mac address or exposing it as serial number.
It's a very bad idea to use the SoC UID as a MAC address. There are
better ways (such as MAC address randomization) to generate one if for
some reason you don't have a real MAC address or are concerned about
privacy.
The SoC UID is also not very well suited as a serial number because it
identifies only the SoC, but doesn't say anything about any of the other
components of a device. Many devices have serial numbers in some EEPROM
chip, so those would be more appropriate.
I suppose not all devices have such a system-wide serial number, so
perhaps there are cases where this would be better than nothing.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230623/f1e72c3f/attachment.sig>
More information about the U-Boot
mailing list