Hi,
We are trying to have multiple device trees in SPL using evaluation kit board imx8mp-evk and uboot 2023.04.
To achieve this we enabled few u-boot configuration options: CONFIG_SPL_OF_CONTROL, CONFIG_SPL_MULTI_DTB_FIT and CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION.
And for start we are providing just one device tree in SPL list: CONFIG_SPL_OF_LIST="imx8mp-evk"
Reading specific value from EEPROM in board_fit_config_name_match() we set proper device tree.
Problem that we see now when we try to boot platform with multiple dtb fit image is that dram phy is hanging in SPL in DRAM phy training.
U-Boot SPL 2023.04-5.4.70-2.3.3 (Nov 26 2024 - 12:56:43 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
Adding some printouts to SPL functions we found out that code is stuck in infinite loop in call:
ddr_cfg_phy()->wait_ddrphy_training_complete()->get_mail()->poll_pmu_message_ready()
Read registry function in poll_pmu_message_ready() is returning all the time 0x10 value. Can you tell us if this feature is supported imx8mp, and if it is we missing some configuration options?
We are building ixm-boot image in custom yocto environment there recipe for imx firmware is "firmware-imx-8m-mp_8.10.1.bb". We tried booting platform from sdcard and using uuu-tool and behavior is same.
Thank you,
Sinisa