I used the current MX8 DDR tool to generate DDR training code for U-Boot (ddr_init.c and ddrphy_train.c). The code runs successfully on my custom i.MX8 board with U-Boot from the imx_v2017.03_4.9.51_imx8m_beta branch.
I now updated U-Boot to the NXP imx_v2017.03_4.9.51_imx8m_ga release. But now U-Boot does not work anymore. SPL reports successful training, but hangs when jumping into the main U-Boot code. See the output below.
I updated ATF and imx-mkimage to the GA version. I am using the firmware files from the imx-firmware version 7.4 package.
Should I use an newer version of the DDR tool? If so, where can I get it?
U-Boot SPL 2017.03-00838-g8ab673031c2d (Mar 22 2018 - 13:15:37)
PMIC: PFUZE100 ID=0x10
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Training PASS
Training PASS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
Normal Boot
Trying to boot from MMC2
Thanks,
baruch
已解决! 转到解答。
Hi Diego,
Thanks for your reply.
The updated DDR script (mx8m_micron_lpddr4_3gb_2d_1600m_334m_32bit.ds) fixed the issue for me.
https://community.nxp.com/docs/DOC-340179
Thanks,
baruch
Hi Diego,
Thanks for your reply.
The updated DDR script (mx8m_micron_lpddr4_3gb_2d_1600m_334m_32bit.ds) fixed the issue for me.
https://community.nxp.com/docs/DOC-340179
Thanks,
baruch