Using MX8 DDR tool generated code with GA U-Boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Using MX8 DDR tool generated code with GA U-Boot

跳至解决方案
1,592 次查看
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

标记 (1)
0 项奖励
回复
1 解答
997 次查看
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 项奖励
回复
2 回复数
997 次查看
diegoadrian
NXP Employee
NXP Employee

Hello,

I apologize for the delay.

Which is the revision of your i.MX8M?

Best Regards,

Diego.

0 项奖励
回复
998 次查看
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 项奖励
回复