2023-05-23 08:39 AM
I am trying to creating u-boot files for self definded project.
Unfortunately i get the error during individual building (see https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package#Installing_the_OpenSTLinux_BSP_packages:(
Device Tree Source (arch/arm/dts/stm32mp153c-***-mx.dtb) is not correctly specified.
The issue itself is correct. How do i create the *.dtb from STM32 Project (Device Tree Source available for all 4-5 Phases)? In which phase is the generation of this *.dtb File done (Kernel,TF-A,OPTEE,...)?
2023-05-26 01:56 AM
Hello @WSief.1
A dtb file is generated for each boards that you are building and for each software levels.
You have one dtb for your board at TF-A, one at OPTEE level, one at U-Boot and one at Linux level.
The DTB file provides the configurations needed for all the peripherals of your board.
Since you are talking about U-Boot, I recommend you to follow this page that explains how to build the U-Boot from the Developer Package: https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package#Modifying_the_U-Boot
Best Regards,
Kevin
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'