Debug imx8m mini

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

Debug imx8m mini

879 Views
inigovicentewal
Contributor III

Hi,

1.-

I am trying to debug the secure world of OP-TEE, with what mechanisms can I debug it? How can I get to the secure hardware keys?

2.-

OP-TEE uses the platform's HUK to derive keys such as SSK (secure storage key), can you find out what the board's HUK is or verify what key it uses?

Thanks

Labels (1)
0 Kudos
1 Reply

790 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Iñigo Vicente,

I’m sorry if it’s too late but starting in L4.14.98_2.0.0_GA release OP-TEE includes a Hardware Unique Key (HUK) which is generated by a derivation of the OTPMK (Master Key Verification Blob) and used by OP-TEE to manage its secure storage. You can find more information on this process on the following code:

https://source.codeaurora.org/external/imx/imx-optee-os/commit/core?h=imx_4.14.98_2.0.0_ga&id=a7cb2e...

I hope this helps!

Regards,

0 Kudos