Hello,
I'm working on iMX8QM product.
I need to use CAAM to derive key.
and I'm working on uboot of version :origin/lf_v2021.04.
As I checked, it doesn't support CAAM for iMX8 serial product.
I tried to apply previous patch to enable spl to access JR3.(as I heared JR1/ JR2 are used for seco)
but it failed to power on and initial step. with the codes below:
sc_pm_set_resource_power_mode(-1, SC_R_CAAM_JR3, SC_PM_PW_MODE_ON);
sc_pm_set_resource_power_mode(-1, SC_R_CAAM_JR3_OUT, SC_PM_PW_MODE_ON);
please help to check how to enable CAAM for iMX8 ?
BRs.
Hi Jiankang
for caam usage one can look at AN12554 Demo Application to Generate Red/Black Blobs Using CAAM and Encrypt/Decrypt Data
https://source.codeaurora.org/external/imxsupport/imx_sec_apps/tree/demo-caam-blobs
Best regards
igor
>is there any document about how to config and use CAAM in SPL/Uboot stage ?
I am afraid not, sorry.
Best regards
igor