Booting TF-A and U-Boot on Custom STM32MP257D Processor
Dear sir/mam
We are currently working with a custom board based on the STM32MP257D processor and are attempting to boot Trusted Firmware-A (TFA) and U-Boot. For this purpose, we have used the defconfig of the STM32MP257F-EV1 development kit as a reference.
Our hardware configuration differs from the EV1 kit in the following key aspects:
- The PMIC on our custom board is connected to I2C4, whereas the EV1 kit uses I2C7.
- Our board utilises LPDDR4 memory, while the EV1 kit is equipped with DDR4.
We have made the necessary adjustments in the device tree and platform files to reflect these changes. Despite this, we are encountering a panic during the boot process from the SD card.
To isolate the issue, we attempted to comment out the PMIC initialisation code located in the bl2_platSetup.c file. With this change, the boot process fails with the message ddr_power_init failed
Furthermore, when we bypass the stm32mp_board_ddr_power_init function, the boot log shows the following errors:
ERROR: ddrphy_phyinit_usercustom_g_waitfwdone_training has failed
ERROR: DDR PHY init
We would appreciate your guidance on how to proceed further to boot u boot in our custom board
Best Regards
Akshitha Pattem
