How to write OTPMK on wandboard using C++ code

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to write OTPMK on wandboard using C++ code

921 次查看
vikas_sh1
Contributor I

Hi All,

I need to write the OTPMK on wandboard using c++ code on evaluation board. can anyone help me how we can write this on board.

BR

Vikas Sharma

标签 (1)
0 项奖励
3 回复数

599 次查看
Yuri
NXP Employee
NXP Employee

From the "i.MX_6_Linux_High_Assurance_Boot_(HAB)_User's_Guide.pdf" :

On production parts, the OTPMK are be burned by Freescale prior to shipping the device.

The value burned by Freescale is random and not recorded. The intent of the

OTPMK is to be a secret key that is only known to CAAM so the value

below is only meant for testing purposes. In order to use HAB, these fuses

should be programmed. One can determine if a valid OTPMK has been

burned by checking the OTPMK_ZERO bit in the SNVS_HP Status Register.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

599 次查看
vikas_sh1
Contributor I

Thank Yuri.

If that is the case then where can we write the Keys?

If we want to use the ZMK (Zeroizable Master Key), and a security event happens (erasing the key) can it be re-programmed from software? How can we use ZMK.

BR

Vikas Sharma

0 项奖励

599 次查看
Yuri
NXP Employee
NXP Employee

The following may be helpful.i.MX6 CAAM : sm_test.c in 3.0.35 kernel broken

Regards,

Yuri.

0 项奖励