2022-01-21 12:01 PM
We are trying to bring up a custom board which used STM32MP157FACx processor.
The DDR memory model we use is W63AH2NBVABE which is a LPDDR3 32-bit. We use CubeMx to generate the device trees. We have chosen the configuration shown below in the picture in CubeMx which generated tf-a device trees and one of them (stm32mp157f-projectname-mx-fw-config.dts) included the following device tree, which is non-existent.
#include "stm32mp15-ddr-128m-fw-config.dts"
The above device tree is not available in the tf-a source in the developer package (Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/tf-a-stm32mp-2.4.r1-r0/tf-a-sources/fdts) or in the git.
How do we get this file? Does it expect the developer/user to create one? if so, why does the comment not let the user know that?
Any pointers would be much appreciated.
Thanks!
Solved! Go to Solution.
2022-01-24 06:50 AM
Sorry I read 5.10-dunfell-mp1-21-03-3, so Ecosystem 3.0.
This bug is fixed in release 3.1. ( OSTL 5.10-dunfell-mp1-21-11-17 and CubeMX 6.4 )
If you don't want to upgrade, you indeed need to create this file at you end taking exemple from the one provided by ST for DK and EV1 board ( 512m and 1G density )
Olivier
2022-01-24 06:47 AM
Hi @SKris ,
Can you tell me which version of OpenSTLinux and CubeMX you are using ?
Thanks
Olivier
2022-01-24 06:50 AM
Sorry I read 5.10-dunfell-mp1-21-03-3, so Ecosystem 3.0.
This bug is fixed in release 3.1. ( OSTL 5.10-dunfell-mp1-21-11-17 and CubeMX 6.4 )
If you don't want to upgrade, you indeed need to create this file at you end taking exemple from the one provided by ST for DK and EV1 board ( 512m and 1G density )
Olivier
2022-01-28 04:25 PM
Hi Oliver.
Thank you for the information.
We did see the latest tf-a patch which has a new file "stm32mp15-fw-config.dts" and configures DDR by including this file and the DDR size in a macro, making it simpler.
We moved our code to latest tf-a tag and updated our CubeMx tool to latest and our issues is resolved.
Thanks,
Shalini