cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure 512MB*2 DDR ram in u boot?

Sindhu Vadde
Associate III

Hi,

We are using stm32mp157a processorin Ubootv2018.11-stm32mp1-r2.1 version. In this DDR has 512MB of memory. We want to change DDR size 512MB to 1 GB ,how can we do that? and what are the files we need to modify for changing ddr size in uboot?

Please help us.

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

Hi @Sindhu Vadde​ ,

As all HW related parameter this is managed through Device Tree.

So the DDR with 512MB you reported for your uboot is related to a specific board config/ device tree.

See DDRCTRL and DDRPHYC device tree configuration - stm32mpu

Pay attention that it should be handle in TF-A also and first.

You can refer to ST EV1 board configuration which as 1GB density.

STM32CubeMX also provide easy way to configure DDR size ( and all other design related aspect ) .

Hope it help,

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @Sindhu Vadde​ ,

As all HW related parameter this is managed through Device Tree.

So the DDR with 512MB you reported for your uboot is related to a specific board config/ device tree.

See DDRCTRL and DDRPHYC device tree configuration - stm32mpu

Pay attention that it should be handle in TF-A also and first.

You can refer to ST EV1 board configuration which as 1GB density.

STM32CubeMX also provide easy way to configure DDR size ( and all other design related aspect ) .

Hope it help,

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thank you ,Its working with ST EV1 board configuration.