2021-05-12 06:10 AM
build erro info:Missing u-boot-stm32mp157a-dk1-trusted.dtb file in folder: '$FIP_DEPLOYDIR_UBOOT' or '$FIP_DEPLOYDIR_ROOT/u-boot'
/home/wangdaan/Desktop/workspace/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-stm32mp-2.4.r1/../Makefile.sdk:194: recipe for target 'fip' failed.
but I found this dtb in its folder. so I do't konw... this is dts location:
~/Desktop/workspace/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-stm32mp-2.4.r1$ ls ../../FIP_artifacts/u-boot/u-boot-
u-boot-nodtb-stm32mp15.bin u-boot-stm32mp157c-ed1-trusted.dtb u-boot-stm32mp157f-dk2-trusted.dtb
u-boot-stm32mp157a-dk1-trusted.dtb u-boot-stm32mp157c-ev1-trusted.dtb u-boot-stm32mp157f-ed1-trusted.dtb
u-boot-stm32mp157a-ev1-trusted.dtb u-boot-stm32mp157d-dk1-trusted.dtb u-boot-stm32mp157f-ev1-trusted.dtb
u-boot-stm32mp157c-dk2-trusted.dtb u-boot-stm32mp157d-ev1-trusted.dtb
2021-05-13 06:40 AM
I used this :make -f $PWD/../Makefile.sdk TFA_DEVICETREE=stm32mp157c-ev1 TF_A_CONFIG=trusted ELF_DEBUG_ENABLE='1' all
2021-07-27 09:12 AM
I met this problem too. Then I tried to export the environment variable $FIP_DEPLOYDIR_ROOT.
export $FIP_DEPLOYDIR_ROOT= <some path to folder>
<some path to folder> depends on work folders. In my case it was:
export $FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts
Where "$PWD" -command defines your building directory, "/../../" - means two folders up directory. FIP_artifacts - folder where u-boot the folder is located.
In my case my building directory was:
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-stm32mp-2.4.r1
u-boot locating directory was:
Developer-Package/stm32mp1-openstlinux-5.10-dunfell-mp1-21-03-31/sources/arm-ostl-linux-gnueabi/FIP_artifacts
Therefore I used only 2 up folders (/../../).
Unfortunately I got another similar problem with another file after that.
Missing stm32mp157c-ev1-fw-config-optee.dtb =(
2022-04-06 08:49 AM
Hi, I also encountered missing ......optee.... Did you solve it, what should I do?
2022-04-06 08:50 AM
Thank you in advance
2022-04-21 03:33 AM
Yep, I solved it by right combination of STM32CubMx, SDK and Programmer!
STM32CubeMX_v6.2.1, STM32CubeProgrammer_v.2.7.0, Developer Package v3.0.0 и Yocto SDK_v3.0.0 и Starter Package_v3.0.0.
Other combinations may create problems. Good luck!