Open main menu

DAVE Developer's Wiki β

Changes

ConfigID management (BELK/BXELK)

1,465 bytes removed, 15:09, 23 November 2021
no edit summary
{{Applies To Bora}}
{{Applies To BoraX}}
{{Applies To BoraLite}}
{{InfoBoxBottom}}
|[[Bora_Embedded_Linux_Kit_(BELK)#BELK_software_components|3.0.0]]
|First release
|-
|2.0.0
|December 2016
|[[Bora_Embedded_Linux_Kit_(BELK)#BXELK_software_components#BELK_3.0.2_.2F_BXELK_1.0.1|3.0.2 / 1.0.1]]<br>[[Bora_Embedded_Linux_Kit_(BELK)#BXELK_software_components#BELK_4.0.0_.2F_BXELK_2.0.0|4.0.0 / 2.0.0]]
|Changed page name
|-
|2.1.0
|October 2019
|[[Bora_Embedded_Linux_Kit_(BELK)#BXELK_software_components#BELK_4.1.0|4.1.0]]
|Added BORA Lite
|-
|}
<section begin=BELK/>=Introduction=ConfigID management==
''ConfigID'' is a new feature of DAVE Embedded Systems products. It's main purpose is providing an automatic mechanism for the identification of the product model and configuration.
With General information about ''ConfigID'', we aim at:*completing the hardware configuration are provided [[ConfigID_and_UniqueID|here]]. The following sections details some Bora/BoraX specific information that the software can't normally auto-detect (i.e. RAM chip version,...), *implementing a dedicated reliable detect procedure*when required, overriding the auto-detected ===ConfigID hardware configuration information.implementation on Bora/BoraX/BoraLite===When implemented, this mechanism allows for:*initializing in BORA uses the proper way the hardware platform, based first 32bytes OTP block on the specific features NOR SPI to store ConfigID (and parameters of the productits CRC32), using a common software base UniqueID (eg: a typical case is the SDRAM controller parameters, which must be configured by U-Boot depending on the particular memory chip, which can be different for the various SOM modelsand its CRC32)*getting the complete hardware configuration (combining ''==== ConfigID'' with the information collectable at runtime) of a product deployed on the field.BoraLite====In simple wordsFor [[BORA Lite SOM | BORA Lite]] module configured for booting from NAND, model identification means the capability of reading a numerical code, ConfigID is stored in an available device (SOC's OTP , on internal I2C EEPROM, 1-wire memories, protected NOR flash, etcEPROM: see [[ConfigID_and_UniqueID#DAVE_Embedded_Systems.27_hardware_implementation | here]] for more information.)
There are two ''ConfigIDs'':*SOM ConfigID: which reflects the characteristics of the SOM (stored on the SOM itself)*Carrier Board (CB) ConfigID: which reflects the characteristics of the carrier board that hosts the SOM (stored on the carrier board itself and read by the SOM at boot time)An additional attribute is ''UniqueID'', which is a read-only code which univocally identifies a single product and is used for traceability. For more details see also [[ConfigID_and_UniqueID|this section]].==Customer's action==DAVE Embedded Systems recommends to be up-to-date with Official SOM's BSPs for taking advantages of ConfigID/UniqueId features: this is the only required action.*ConfigID advantage: to allow U-Boot bootloader to be executed only with the correct configuration (if the U-Boot loaded is not the proper one, it may stop execution avoiding incorrect behavior)*UniqueID advantage: to trace univocally each individual SOMs and, in turn, all the on-the-field equipments==ConfigID values==ConfigID is a N-bit (typically N>8) signed integer, that can have the following values:*< 0: error*-1: not initialized*0: ConfigID legacy**for prototypes (ConfigID not yet defined) or for products manufactured before the introduction of the ConfigID feature*> 0: valid ConfigID**values are reported accordingly with the specific product table==ConfigID hardware software implementation on Bora/BoraX/BoraLite==BORA uses the first 32bytes OTP block on NOR SPI to store ConfigID (and its CRC32), UniqueID (and its CRC32)==ConfigID software implementation on Bora==
U-Boot integrates the software routines for reading and displaying the ConfigID. Hereunder an example of SOM ConfigID at startup:
<pre>
root@axel-lite:~#
</pre>
<section end=BELK/>
8,226
edits