Re: diff-ing two device tree
From: David Gibson <hidden>
Date: 2011-09-09 00:38:16
On Thu, Sep 08, 2011 at 11:27:53AM -0700, Grant Likely wrote:
On Thu, Sep 08, 2011 at 10:31:59AM -0500, Kumar Gala wrote:quoted
Do we have a utility that can diff two device trees. What I'm looking for is something that has some context awareness. It can deal with (p)handle values being different, properties in a node in different order, etc.I hacked something together which sorts the two trees and then diffs the output, but that is rather a hack.
You mean like the "dtdiff" script that's in the dtc repo...
I don't think anyone has put together a context sensitive dt diff tool.
What would you envisage this tool doing? -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson