AnsweredAssumed Answered

Using MX8 DDR tool generated code with GA U-Boot

Question asked by Baruch Siach on Mar 22, 2018
Latest reply on Apr 11, 2018 by Baruch Siach

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

Outcomes