2021-11-09 11:09 PM
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.
Solved! Go to Solution.
2021-11-10 05:57 AM
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
2021-11-10 05:57 AM
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
2021-11-10 10:55 PM
Thank you ,Its working with ST EV1 board configuration.