IMX6 dek_blob values

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

IMX6 dek_blob values

跳至解决方案
1,180 次查看
omar_aberkan
Contributor II

Where did the DEK address (0x10800000) and Output Address (0x10801000) came from?

I saw many examples but nobody explained where these values came from.

dek_blob <DEK address> <Output Address> <Key Size in Bits>

example: dek_blob 0x10800000 0x10801000 192

After i load the dek.bin into memory and execute the dek_blob command i get the following error:
Allocation of page 0 in partition 1 failed 0x1

I hope somebody can help me out please.

2.8.0.0
1 解答
1,015 次查看
omar_aberkan
Contributor II

Upgrading u-boot to  v2018.09 fixed all my caam issues.

2.8.0.0

在原帖中查看解决方案

4 回复数
1,016 次查看
omar_aberkan
Contributor II

Upgrading u-boot to  v2018.09 fixed all my caam issues.

2.8.0.0
1,015 次查看
Yuri
NXP Employee
NXP Employee

Hello,

 

   Try to disable caches in U-boot.

Also app note "Encrypted Boot on HABv4 and CAAM Enabled Devices" may be useful.

https://www.nxp.com/docs/en/application-note/AN12056.pdf 

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 项奖励
1,015 次查看
omar_aberkan
Contributor II

Still no success. I am using the imx6ul and the device is closed.

0 项奖励
1,015 次查看
Yuri
NXP Employee
NXP Employee

Hello,

   Free system memory area should be used in the dec_blob command. 

According to Table 2-1 (System memory map) of i.MX 6UltraLite Reference Manual,

Rev. 1, 04/2016, memory starts from address 0x8000_0000 (till 0xFFFF_FFFF).

Regards,

Yuri.

0 项奖励