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

Simon Glass sjg at chromium.org
Fri Nov 14 14:46:49 CET 2025


Hi Marek,

On Tue, 11 Nov 2025 at 08:26, Marek Vasut <marek.vasut at mailbox.org> wrote:
>
> 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.

That's good! Sounds like it was a bug.

Regards,
Simon


More information about the U-Boot mailing list