cancel
Showing results for 
Search instead for 
Did you mean: 

problem with own machine. DDR error

TStas.2
Associate II

Hello 

I created own machine based of seeed module. 

at the strartup there is info 

NOTICE: CPU: STM32MP157CAC Rev.B
 
NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-5.10-dunfell-mp1-21-03-31
 
WARNING: VDD unknown
 
INFO:  Reset reason (0x15):
 
INFO:   Power-on Reset (rst_por)
 
INFO:  FCONF: Reading TB_FW firmware configuration file from: 0x2ffe3000
 
INFO:  FCONF: Reading firmware configuration information for: stm32mp_io
 
INFO:  Using SDMMC
 
INFO:   Instance 1
 
INFO:  Boot used partition fsbl1
 
NOTICE: BL2: v2.4-r1.0(debug):v2.4-dirty
 
NOTICE: BL2: Built : 16:43:51, Nov 17 2020
 
INFO:  BL2: Doing platform setup
 
INFO:  RAM: DDR3-DDR3L 16bits 533000kHz
 
WARNING: Couldn't find property st,phy-cal in dtb
 
ERROR:  DDR addr bus test: can't access memory @ 0xc0000004
 
PANIC at PC : 0x2ffedb39
 
 
 
Exception mode=0x00000016 at: 0x2ffedb39

I'm pretty new in linux on low lvl. Do anyone know where should i look for mistakes? Hardware is ok, i checked it on official image.

4 REPLIES 4
OlivierK
ST Employee

Hello TStas.2 (Community Member)

When you say you checked the h/w on official image, then you can boot normally?

Otherwise it be worth looking at this article for exploring DDR issues.

STM32MP1 bring-up troubleshooting guide

FAQ: STM32MP1 how to validate the STM32MP1-DRAM connection on PCB, DDR test suite

Rgds,

Olivier

Yes i mean that all works ok

But i see

-Check configuration I2Cbus connection to STPMIC
I2C bus for pmic is done at early phase and raises a panic when the bus fails to be enabled.
In OpenSTLinux by default, TF-A expects STPMIC on I2C4. If this is not the case on your design device tree and TF-A code have to be modified.

In fact STPMIC is connected to I2C2. Maybe it will be solution. Tomorow i will check it. Thank You

OlivierK
ST Employee

Hi TStas.2 (Community Member)

Any progress with this issue? I guess you've already made the changes in TF-A regarding I2C2?

Regards,

Olivier

meanwhile i had different tasks, so i didn't focus 100% on that. But after changes i Have still some problem. Now i tryind test it step by step and compare with refference files. 

/PANIC at PC : 0x2fff08eb

Exception mode=0x00000016 at: 0x2fff08eb