We have a custom board which uses imx6ul processor. The board signed with keys using cst tool. If we enable CONFIG_CRYPTO_DEV_FSL_CAAM in deconfig then the board stops booting midway. But if we disable CONFIG_CRYPTO_DEV_FSL_CAAM in deconfig then board boots normally and and there is no problem in board functioning. Why does the board doesn't work on enabling CONFIG_CRYPTO_DEV_FSL_CAAM? We are official yocto available for imx6ul.
Hello,
Please check if you have unlocked RNG in CSF script.
[Unlock]
Engine = CAAM
Features = RNG
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I tried this but it still doesn't work.
Hello,
Have You ever manged to use CAAM under Linux, using unsigned images?
Regards,
Yuri.
No I have never used CAAM under linux using unsigned image. I don't need to use CAAM. Actually I need to use key blob but I was facing problem unknown symbol sm_detect_keystore_units . I thought it might be because I have disabled CAAM in defconfig but I guess there is no relation between 2 problems. I am using following in defconfig file
CONFIG_CRYPTO_DEV_FSL_CAAM is not set
CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
CONFIG_CRYPTO_DEV_FSL_CAAM_SM_KEY_BLOB=y
CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y