Skip to main content
Visitor II
December 14, 2021
Solved

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

  • December 14, 2021
  • 2 replies
  • 1241 views

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.

    This topic has been closed for replies.
    Best answer by 4layer

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

    2 replies

    4layerAuthorAnswer
    Visitor II
    December 14, 2021

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

    Explorer
    April 29, 2022

    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"