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...
@yanghongsing1
Hello,
U-boot v2021.04 is used with Linux LF5.10.35_2.0.0.
Please try it.
Regards,
Yuri.