cannot initilize RNG in TEE

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

cannot initilize RNG in TEE

跳至解决方案
1,149 次查看
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 项奖励
回复
1 解答
1,133 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,134 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复