Changes

Jump to: navigation, search

ConfigID and UniqueID

559 bytes added, 14:57, 15 October 2019
DAVE Embedded Systems' hardware implementation
{{Applies To Diva}}
{{Applies To Bora}}
{{Applies To BoraLite}}
{{AppliesToAxel}}
{{AppliesToAxelLite}}
An additional attribute is '''UniqueID''', which is a read-only code which univocally identifies a single product and is used for traceability.
 
 
{{ImportantMessage|text=It is worth remembering that ConfigID and UniqueID are independent from [[Product_serial_number|product serial number]].}}
== Hardware implementations of the ConfigID ==
The following paragraphs briefly describe the available solution solutions for storing the ConfigID.
=== OTP on the SOC ===
Some SOCs provides programmable OTPs (eg. for security, mac MAC address, boot modes, etc). Usually , some of these are general purpose registers and can be managed by the user.
This is the ideal implementation, because:
* ConfigID is stored in the most important component of the SOM
* the component that hosts the ConfigID is NOT optional
* typically, a very selective lock can be forced. In general, for reliability and/or security reasons, OTP areas used to store ConfigIDs may be locked during the manufacturing process.
=== OTP 1-wire memory ===
## DIVA and BORA use the first 32bytes OTP block on NOR SPI to store ConfigID (and its CRC32), UniqueID (and its CRC32)
# I2C Eeprom
## example: DIVA family processor (AM335x) or BORA Lite processor (ZYNQ) implements ConfigID using I2C Eeprom when NOR SPI is not present (module boots from NAND or SD)## DIVA and BORA use the first 32bytes on I2C EPROM to store ConfigID (and its CRC32), UniqueID (and its CRC32)
# 1-wire
## example: latest XELK, DIVELK, BELK Carrier Boards implement CB ConfigID using the onboard 1-wire device (DS2431)
It is possible to read the ConfigID/UniqueID via <code>procfs</code>; for example:
 
<pre>
root@axel-lite:~# cat /proc/device-tree/som/configid && echo
00000003
root@axel-lite:~# cat /proc/device-tree/som/uniqueid && echo
df646299:0b0579d4
root@axel-lite:~#
</pre>
 
Legacy device tree, has a sightly different <code>procfs</code> structure:
<pre>
8,154
edits

Navigation menu