2021-12-14 11:07 AM
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.
Solved! Go to Solution.
2021-12-14 12:24 PM
I found it. It appears after applying ST patches on tf-a-stm32mp-v2.4-stm32mp-r2 directory.
2021-12-14 12:24 PM
I found it. It appears after applying ST patches on tf-a-stm32mp-v2.4-stm32mp-r2 directory.
2022-04-29 10:05 AM
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"