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
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
Thanks for reply ,
SO it means we can't test the secure boot in that board further.
Regards,
Rk
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
No, you can't test secure boot due to failing to establish root of trust.
Best regards
Harvey