Board not booting if CONFIG_CRYPTO_DEV_FSL_CAAM enabled

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

Board not booting if CONFIG_CRYPTO_DEV_FSL_CAAM enabled

1,267 Views
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.

Labels (3)
0 Kudos
4 Replies

968 Views
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 Kudos

968 Views
pratyushtomar
Contributor IV

I tried this but it still doesn't work.

0 Kudos

968 Views
Yuri
NXP Employee
NXP Employee

Hello,

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

Regards,

Yuri.

0 Kudos

968 Views
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 Kudos