Hi Wang
in uboot one can tweak #define PHYS_SDRAM parameter
imx8qxp_mek.h\configs\include - uboot-imx - i.MX U-Boot
rin ddr test i.MX 8/8X Family DDR Tools Release
For scfw copy the custom DDR CFG file to src/scfw_export_mx8qx_b0/platform/board/mx8qx_mek/dcd and build to the final SCFW. One can try to follow the steps:
1. copy custom CFG file to dcd directory
cp xxx.CFG src/scfw_export_mx8qx_b0/platform/board/mx8qx_mek/dcd
2.
make clean
3.
make qx R=B0 B=mek DDR_CON=xxx
May be recommended first not use OpTee, refer to sect.5.6.10 OP-TEE enablement
i.MX Yocto Project User’s Guide
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------