Board not booting if CONFIG_CRYPTO_DEV_FSL_CAAM enabled

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Board not booting if CONFIG_CRYPTO_DEV_FSL_CAAM enabled

2,335 次查看
pratyushtomar
Contributor IV

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.

标签 (3)
0 项奖励
回复
4 回复数

2,036 次查看
Yuri
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

2,036 次查看
pratyushtomar
Contributor IV

I tried this but it still doesn't work.

0 项奖励
回复

2,036 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  Have You ever manged to use CAAM under Linux, using unsigned images? 

Regards,

Yuri.

0 项奖励
回复

2,036 次查看
pratyushtomar
Contributor IV

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

0 项奖励
回复