cancel
Showing results for 
Search instead for 
Did you mean: 

DDR PHY Init Failure on STM32MP257 Custom Board (Based on stm32mp257f-ev1.dts) , but boots with ev1 kit

srinivas_mv
Associate II

Hi ST Community,

I'm working with a custom board based on the STM32MP257F and using the stm32mp257f-ev1.dts as the base device tree for development.

After flashing the firmware and booting the board, I'm encountering a DDR initialization failure during the BL2 stage. Here's a snippet from the boot log (via UART, Docklight):

ERROR: ddrphy_phyinit_usercustom_g_waitfwdone Training has failed.ERROR: DDR PHY init: Error -1 BACKTRACE: START: stm32mp2_ddr_init
PANIC at PC : 0x0000000000e01f9fc

The specific error seems related to DDR PHY training failure:

ERROR: ddrphy_phyinit_usercustom_g_waitfwdone Training has failed.

We're using DDR4 2x16Gbits @ 1200MHz as indicated in the log:

and attached a image of boot log and the error what we are getting while booting with custom board, but boots successfully with stm32mp257f-ev1.

i performed the DDR utility test on the custom board , the image of ddr test report  also attached for you reference

 

how can i rectify this issue

0 REPLIES 0