IMX6 dek_blob values

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

IMX6 dek_blob values

Jump to solution
1,502 Views
omar_aberkan
Contributor III

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 Solution
1,337 Views
omar_aberkan
Contributor III

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

2.8.0.0

View solution in original post

4 Replies
1,338 Views
omar_aberkan
Contributor III

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

2.8.0.0
1,337 Views
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 Kudos
Reply
1,337 Views
omar_aberkan
Contributor III

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

0 Kudos
Reply
1,337 Views
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 Kudos
Reply