[RFC][PATCH] kbuild: Produce diff between base DT and U-Boot augmented DT if DEVICE_TREE_DEBUG=1

Marek Vasut marek.vasut at mailbox.org
Tue Nov 11 14:50:30 CET 2025


On 11/11/25 1:38 PM, Simon Glass wrote:

Hello Simon,

>>> Maybe we put it in the u-boot-extras repo for now as a standalone
>>> script, so people can be asked to run it and look at the output?
>> I'd say no, because the output is full of noise unless the phandle
>> non-resolution gets somehow improved.
> 
> Another idea would be to create an fdtdiff tool which does this. We
> already have fdtgrep[1]

A new tool is not needed, up to date DTC retains the phandles across dtc 
-I dts -O dts and the result can be diff'd using regular diff.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list