2022-09-12 07:02 AM
I would like to bring up the openocd and gdb debugger on a custom board with STM32MP157D processor with 1 GB (2x512MB 16 bit DDR3 chips) x 32 bit. The modified device-tree and SPL gives me the following issue:
U-Boot SPL 2022.01-rc3 (Sep 07 2022 - 16:35:59 +0200)
RAM: EK470 DDR3-DDR3L 32bits 533000kHz
stm32mp1_clk rcc@50000000: stm32mp1_clk_disable: id clock 228 has been disabled
stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 220 has been enabled
stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 222 has been enabled
stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 226 has been enabled
stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 229 has been enabled
stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 224 has been enabled
id=15 clock = 1fc4ef40 : 533000 kHz
stm32mp1_clk rcc@50000000: computed rate for id clock 224 is 533000000 (parent is PLL2_R)
stm32mp1_clk rcc@50000000: stm32mp1_clk_enable: id clock 228 has been enabled
get_ram_size(c0000000, 40000000)
info.size: 4
DDR invalid size : 0x4, expected 0x40000000
DRAM init failed: -22
### ERROR ### Please RESET the board ###
I would like to debug if the PMIC is driving the SDRAM Chips correctly...
2022-09-14 05:22 AM
Hi @gianlucarenzi (Community Member) ,
I notice : u-boot 2022-01-rc3 as bootloader and using SPL
Likely Vanilla U-boot version not yet integrated and ST no more support SPL for MP1.
I recommend you to use an OpenSTLinux delivery to get better support.
STM32 MPU OpenSTLinux release note - v4.0.0 - stm32mpu
Olivier