cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I find the file: stm32mp15-ddr-512m-fw-config.dts?

4layer
Associate II

I loaded STM32MP157D-DK1 board configuration in STM32CubeIDE and used the generated device tree files for U-Boot and TF-A compilation. The file MYPROJECT/CA7/DeviceTree/MYPROJECT/tf-a/stm32mp157d-myproject-mx-fw-config.dts contains this line:

#include "stm32mp15-ddr-512m-fw-config.dts"

This causes a fatal error during tf-a compilation due to "No such file or directory".

I searched the internet for this missing file but only found a dead link here: https://wiki.st.com/stm32mpu/wiki/How_to_configure_TF-A_FW_CONFIG

Thanks for any help in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
4layer
Associate II

I found it. It appears after applying ST patches on tf-a-stm32mp-v2.4-stm32mp-r2 directory.

View solution in original post

2 REPLIES 2
4layer
Associate II

I found it. It appears after applying ST patches on tf-a-stm32mp-v2.4-stm32mp-r2 directory.

Hammy
Associate III

For future reference, This is removed in patch 0003-v2.4-stm32mp-r2.patch. https://github.com/STMicroelectronics/meta-st-stm32mp/blob/58f52ac42620c3735b30dc777cd115ad466a62bd/recipes-bsp/trusted-firmware-a/tf-a-stm32mp/0003-v2.4-stm32mp-r2.patch

An excerpt,

fdts/stm32mp15-ddr-512m-fw-config.dts | 63 -

...

-#include "stm32mp15-ddr-512m-fw-config.dts"

+#define DDR_SIZE 0x20000000 /* 512MB */

+#include "stm32mp15-fw-config.dts"