Using MX8 DDR tool generated code with GA U-Boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using MX8 DDR tool generated code with GA U-Boot

Jump to solution
1,343 Views
baruchsiach
Contributor II

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

Tags (1)
0 Kudos
1 Solution
748 Views
baruchsiach
Contributor II

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

View solution in original post

0 Kudos
2 Replies
748 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I apologize for the delay.

Which is the revision of your i.MX8M?

Best Regards,

Diego.

0 Kudos
749 Views
baruchsiach
Contributor II

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

0 Kudos