Failed to Generate the DEK Blob in imx8mm evk in uboot

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

Failed to Generate the DEK Blob in imx8mm evk in uboot

596 Views
yanghongsing1
Contributor III

I followed the instruction in the file of "mx8m_encrypted_boot.txt" and build a uboot image of "flash.bin" which is written into a microSD card. I boot up my imx8mm evk from the card and enter into u-boot prompt and run command below:

=> mmc list
FSL_SDHC: 1 (SD)
FSL_SDHC: 2
=> fatload mmc 1:1 0x40400000 dek_spl.bin
=> dek_blob 0x40400000 0x40401000 128

I got the error message below:

Cannot get OP-TEE device
dek_blob - Data Encryption Key blob encapsulation

Usage:
dek_blob src dst len - Encapsulate and create blob of data
$len bits long at address $src and
store the result at address $dst.

The bl31 is built by using command below:

make PLAT=imx8mm  SPD=opteed bl31

imx-atf version :lf-5.4.y

tee.bin is built by using command below:

CFG_NXPCRYPT=y CFG_GEN_DEK_BLOB=y source ./scripts/nxp_build.sh mx8mmevk

I have tried imx-optee-os version of imx_5.4.70_2.3.0 and lf-5.10.y_1.0.0

uboot-imx version: lf_v2021.04

 

Please advise what wrong with me? Thanks...

1 Reply

575 Views
Yuri
NXP Employee
NXP Employee
0 Kudos
Reply