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.
Solved! Go to Solution.
Upgrading u-boot to v2018.09 fixed all my caam issues.
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!
Still no success. I am using the imx6ul and the device is closed.
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.