Reprogramming the SRK_HASH bank in imx6

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

Reprogramming the SRK_HASH bank in imx6

1,659 次查看
rakesh3
Contributor V

Hi team,

 

I am trying to reprogram the SRK_HASH bank but not able to reprogram this.

I tried with =>fuse override 3 0 <hex> but this also didn't work and getting old values on reboot.

Could you please guide me, how to reprogram imx6d with different key so that we can use other device to check secure boot with other key.

 

Regards,

Rk

标签 (3)
标记 (2)
0 项奖励
回复
4 回复数

1,632 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @rakesh3 

Please note, Once the SRK Hash has been programmed we can't reprogram it, which we operate on an OTP. 

For i.MX6, you can refer to uboot-imx/mx6_mx7_secure_boot.txt at lf_v2022.04_var02 · varigit/uboot-imx · GitHub.

 

Best regards

Harvey

0 项奖励
回复

1,615 次查看
rakesh3
Contributor V

Thanks for reply ,

 

SO it means we can't test the secure boot in that board further.

 

 

Regards,

Rk

0 项奖励
回复

1,595 次查看
mason2036
Contributor I

This is my understanding.

fuse override is for test purpose. Could be used before you really burn the fuse. 

If you read the source code, you can find 

fuse override  means temporarily change the OTP shadow register, which makes override the value read from OTP fuse in shadow register before.

That is why it calls override. not overwrite.

You just test in this power cycle, if you test in another power cycle, it will read from OTP fuse again.

BTW, I should also say, OTP fuse only can write once. It could be not overwritten. 

 

NXP expert,

Question from rakesh3 is override, not overwrite. 

Like the following link, I could not believe you really understand the question. 

 

Re: IMX8 QXP AHAB secure boot OEM closed secure bo... - NXP Community

 

0 项奖励
回复

1,608 次查看
Harvey021
NXP TechSupport
NXP TechSupport

No, you can't test secure boot due to failing to establish root of trust.

 

Best regards

Harvey

0 项奖励
回复