@Oswalag
Hello,
I would like to follow up on one of the OP’s questions. What is a minimal OTPMK? I have access to the mentioned document (QorIQ TA 3.0 User Guide), but it does not contain much information about this. Maybe I am missing something, could you point to specific section? From what I understand:
* If we want to perform the Secure Boot process, the processor needs to be in the Secure or Trusted state.
* The processor can be in the Secure or Trusted state only if the OTPMK is fused.
* Once the OTPMK is fused, there is no way to read it back or rewrite it, since `ERROR_OTPMK_ALREADY_BLOWN` will be thrown.
I also went through the ATF code where the fuse FIP can be generated. It looks like we can create one with a minimal OTPMK inside, ready to be fused, which basically sets a number of bits to 1.
https://github.com/nxp-qoriq/atf/blob/lf_v2.10/drivers/nxp/sfp/fuse_prov.c#L162
Does this mean that we can fuse a minimal OTPMK, then reboot the platform - which should force the Secure Boot process on the next boot (if ITS or SB_EN is set) - and then fuse the final OTPMK in a verified environment (assuming that the Secure Boot process has completed successfully)?
So basically, the minimal OTPMK is just an OTPMK value that can be overwritten?
Looking forward to your reply.
Regards