Dear NXP,
We have a new project . srg_imx8mplus (imx8mplus HW base.)
We use a new memory MT53D512M32D2 in srg_imx8mplus platform. It must do DDR calibration.
(1) repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-gatesgarth -m imx-5.10.9-1.0.0.xml
(2) repo sync
(3) Load the srg_imx8_plus_1.ds to srg_imx8mplus platform . Do MT53D512M32D2 DDR calibration
and stress test in srg_imx8mplus platform. Test result : Pass .
(4) Select format is array and gen code . It get the lpddr4_timing.c .
(5) Update the new lpddr4_timing.c to ../u-boot-imx/1_2020.04-r0/git/board/freescale/imx8mp_evk/
(6) Build uboot image and get the imx-boot-imx8mpevk-sd.bin-flash_evk.
(7) Update the imx-boot-imx8mpevk-sd.bin-flash_evk to SD card ,and select the switch to SD card boot
mode (0011).
(8) Uboot message :Training FAILED .
Are there any errors in my steps? How to solve this problem ?
Dear Padkov ,
(1) I modify "#define PHYS_SDRAM_SIZE 0x80000000 /* 2 GB */ " in the imx8mp_EVK.h .
(2) I add DISTRO_FEATURES_remove = " optee" in the local.conf.
(3)
bitbake optee-os -f -c cleanall
bitbake imx-atf -f -c cleanall
bitbake imx-boot -f -c cleanall
bitbake u-boot-imx -c compile -f
bitbake u-boot-imx -c deploy
bitbake imx-boot -c compile -f
bitbake imx-boot -c deploy
(4) Build imx-boot-imx8mpevk-sd.bin-flash_evk ,and update the file to SD card.
(5) Uboot message :Training FAILED
Please tell me how to solve this problem.
for i.MX8M Plus you should use MX8M_Plus_LPDDR4_RPA_v6.xlsx, not MX8M_Mini_LPDDR4_RPA_v18 (1).xlsx (sorry I overlooked it in my first answer).
Best regards
igor
you should adjust it yourself for your custom lpddr4 part.
Best regards
igor
Hi Albert
xlsx file looks as correct, additionally one can try to adjust ddr size in uboot
(#define PHYS_SDRAM_SIZE)
and try to build image without OPTee using sect. 5.6.10 OP-TEE enablement i.MX Yocto Project User’s Guide
Best regards
igor