I am trying to build SPL/u-boot from source code and boot from SD, but SPL gets stuck in lpddr4_800M_cfg_phy() when calling wait_ddrphy_training_complete().
I am building the code from https: //source.codeaurora.org/external/imx/uboot-imx , branch is imx_v2017.03_4.9.51_imx8m_beta.
I am using the imx8mq_evk_defconfig configuration. Below is the SPL output.
Any idea what am I missing?
U-Boot SPL 2017.03-dirty (Mar 07 2018 - 16:08:12)
PMIC: PFUZE100 ID=0x10
start to config phy: p0=3200mts, p1=667mts with 1D2D training
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
config to do 3200 1d training.