Reprogramming the SRK_HASH bank in imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reprogramming the SRK_HASH bank in imx6

1,658 Views
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

Labels (3)
Tags (2)
0 Kudos
Reply
4 Replies

1,631 Views
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 Kudos
Reply

1,614 Views
rakesh3
Contributor V

Thanks for reply ,

 

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

 

 

Regards,

Rk

0 Kudos
Reply

1,594 Views
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 Kudos
Reply

1,607 Views
Harvey021
NXP TechSupport
NXP TechSupport

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

 

Best regards

Harvey

0 Kudos
Reply