Skip to main content
Associate II
November 16, 2025
Question

External DT

  • November 16, 2025
  • 1 reply
  • 119 views


Hi,

i need to modify the default debug uart serial in device tree of all the boot components (including u-boot, tf-a, optee etc) in stm32mp257f-ev1.

 

I saw that external-dt_%.bb is fetching git://github.com/STMicroelectronics/dt-stm32mp.git and also EXTERNAL_DT is enabled by default, but i want to use my custom dt for the fial build by default instead of stm32mp257f-ev1.dtb.

I want to add my custom dt with the custom name as default dtb used in all the component, im hoping for a solution for this to maintain all my dt at one place and modify. i have too many changes to make and i dont want to patch the stm32mp257f-ev1.dts in the kernel source tree.

 

Hoping for a quick reply, thanks in advance.

1 reply

Olivier GALLIEN
Technical Moderator
November 20, 2025

Hi @sanjaysb 

 

To generate an image with custom device tree the recommended solution is rather How to compile the device tree with the Distribution Package - stm32mpu 

 

Hope it help 

 

Olivier 

Olivier GALLIEN In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.