Encryption on imx6 cpus

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

Encryption on imx6 cpus

跳至解决方案
3,282 次查看
friederbaumgrat
Contributor III

Dear NXP community,

since I am able to encrypt the uboot successfully, I can't boot the linux kernel image (uImage).

I noticed, l that the kernel stops initialisation when he wants to load the caam drivers.

When I use the [Unlock] command in my CSF file (with Engine = CAAM; Features = RNG) the kernel boots!

Without this command he stopps at said drivers.

I am using the code signing tool 2.3.2

So my question is, is this Unlock cammand   necessary?

If so, why...

Regards,

Frieder Baumgratz

标签 (2)
0 项奖励
回复
1 解答
2,837 次查看
gary_bisson
Senior Contributor III

Hi,

Please read the Secure Boot using HAB application note:

https://cache.freescale.com/files/32bit/doc/app_note/AN4581.pdf 

The section "3.3.2. RNG Trim fuses" explains that behavior.

Regards,

Gary

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,838 次查看
gary_bisson
Senior Contributor III

Hi,

Please read the Secure Boot using HAB application note:

https://cache.freescale.com/files/32bit/doc/app_note/AN4581.pdf 

The section "3.3.2. RNG Trim fuses" explains that behavior.

Regards,

Gary

0 项奖励
回复
2,837 次查看
friederbaumgrat
Contributor III

I just noticed, that when I set the [Unlock] command (with Engine = CAAM; Features = RNG) I can no longer use the dek_blob function.

UBoot prints: RNG: Instantiation failed with error fffffffe

Regards,

Frieder

0 项奖励
回复
2,837 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  From section 3.3.2.2 [Option 2 – Defer RNG Instantiation for Post HAB

Software (Recommended Option)] of AN4581 :

"Any operations requiring the RNG are not available to software until it is initialized,

such as encryption and blob generation. This does not affect HAB-signed or encrypted

boot features"

Regards,

Yuri.

2,837 次查看
friederbaumgrat
Contributor III

Thank your for your answer.

Regards,

Frieder

0 项奖励
回复
2,837 次查看
friederbaumgrat
Contributor III

Hi,

thanks for your help.

Regards,

Frieder

0 项奖励
回复