Skip to main content
Explorer
April 16, 2024
Solved

STM32MP157A DDR size detected wrong

  • April 16, 2024
  • 1 reply
  • 1333 views

I have a running system (based on bootlin buildroot) with kernel 5.10 and I wanted to update it to use the latest 6.1 and now I have a problem that the BL2 panics:

 

 

NOTICE: CPU: STM32MP157AAC Rev.Z
NOTICE: Model: STMicroelectronics custom STM32CubeMX board - openstlinux-6.1-yocto-mickledore-mp1-v23.06.21
NOTICE: BL2: v2.8-stm32mp1-r1.0(release):custom()
NOTICE: BL2: Built : 12:30:08, Apr 11 2024
ERROR: DDR size: 0x10000000 does not match DT config: 0x20000000
PANIC at PC : 0x2ffeae01

 

 

The board is custom and it has 512MB. Any ideas?

    This topic has been closed for replies.
    Best answer by jhi

    Never mind. I forgot to update the DDR settings (stm32mp15-mx.dtsi) for tfa.

    1 reply

    jhiAuthorAnswer
    Explorer
    April 16, 2024

    Never mind. I forgot to update the DDR settings (stm32mp15-mx.dtsi) for tfa.