cannot initilize RNG in TEE

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

cannot initilize RNG in TEE

Jump to solution
1,147 Views
jiankang
Contributor III

hello,

I'm working on imx8qm products.

after I enable OPTEE in my project.

TEE launch failed with RNG initialization error:

 

U-Boot SPL 2021.04 (Dec 17 2021 - 07:41:39 +0000)

Normal Boot

Trying to boot from MMC1

Booting from bootloader_a...

UE/TC:0 0 sc_rm_enable_jr:76 JK:: power on CAAM of jr index:0x3; jr_res:0x1f6; jr_out_res:0x204

E/TC:0 0 sc_seco_start_rng:102 Unable to start RNG or get RNG status

E/TC:0 0 sc_seco_start_rng:103 sc_error code is: 7

E/TC:0 0 caam_hal_rng_instantiated:20 RNG instantiation failed

E/TC:0 0 crypto_driver_init:56 caam_rng_init() (1)

E/TC:0 0 crypto_driver_init:172 CAAM Driver initialization (0xffff0000)

E/TC:0 0 Panic at core/drivers/crypto/caam/caam_ctrl.c:173 <crypto_driver_init>

E/TC:0 0 TEE load address @ 0xfe000000

E/TC:0 0 Call stack:

E/TC:0 0 0x00000000fe008f50

 

please help to check how can I fix this RNG initialization issue ?

thanks a lot.

0 Kudos
Reply
1 Solution
1,131 Views
jimmychan
NXP TechSupport
NXP TechSupport

Could you tell me which version of BSP are you using?

View solution in original post

0 Kudos
Reply
1 Reply
1,132 Views
jimmychan
NXP TechSupport
NXP TechSupport

Could you tell me which version of BSP are you using?

0 Kudos
Reply