Open main menu

DAVE Developer's Wiki β

BELK-TN-011: Lock OTP Areas

Revision as of 15:45, 25 September 2020 by U0007 (talk | contribs) (U0007 moved page BELK-TN-011: Fix Lock OTP Areas to BELK-TN-011: Lock OTP Areas)

Info Box
Bora5-small.jpg Applies to Bora
BORA Xpress.png Applies to BORA Xpress


Warning-icon.png This technical note was validated against specific versions of hardware and software. What is described here may not work with other versions. Warning-icon.png

Contents

HistoryEdit

Version Date Notes
1.0.0 Sep 2020 First release

IntroductionEdit

As decribed on ConfigID management page, these informations are stored inside a general purpose OTP area of the SoC.

This technical note shows how to fix lock this OTP area on BORA systems running BSP versions older than BELK/BXELK-4.1.2

ConfigID programmingEdit

All Bora SOMs are shipped with ConfgID and UniqueID programmed and locked. The OTP lock ensure that nobody can change this data (unattempted code execution, etc).

It is possibile to execute these operations only using the devel versions of u-boot with the following commands:

configid som_configid <16 byte code>
configid som_uniqueid <32 byte code>
configid som_lock 0

Older BSP issueEdit

In older BSP, due to a u-boot limitation, this OTP area is not really locked and therefore it should be possible to overwrite its value, with possible identification errors during updates.

Starting from the BELK/BXELK-4.1.2 release this issue have been solved.

Lock OTP areaEdit

It is suggested to update the systems running BSP releases older then BELK 4.1.2 performing the following steps:

  • program on internal storage or alternatively boot from uSD using the u-boot devel version belk-4.1.2
  • run the command configid som_lock 0
  • program your u-boot release version to restore the normal operations (this is not required if previous operations have been executed using an external boot from SD)