Hi hong
for OPTEE usage one can look at sect.5.6.10 OP-TEE enablement
attached Yocto Guide, For memory check #define PHYS_SDRAM_SIZE
mx6ullevk.h\configs\include - uboot-imx - i.MX U-Boot
pay attention to cma size.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------