2025-02-24 03:01 AM
Simple question:
If i'm right the serial number returned by cat /sys/firmware/devicetree/base/serial-number is the UID from BSEC. Where is the code responsible for setting this value? I've seen the function get_board_serial in u-boot but it doesnt seem to be implement for the stm32mp1 board.
2025-02-24 08:52 AM
Hi @allard ,
not sure it answer your question.
The 96-bits UID is set in factory (i.e. fused inside OTP), readable thru BSEC. It cannot be altered and it is guaranteed to be unique within a STM32MP serie.
Regards.