From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: diff-ing two device tree Date: Thu, 8 Sep 2011 11:27:53 -0700 Message-ID: <20110908182753.GK2967@ponder.secretlab.ca> References: <66A9107F-D3BF-4900-99FA-6E1594571BA9@kernel.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <66A9107F-D3BF-4900-99FA-6E1594571BA9-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Kumar Gala Cc: Devicetree Discuss List-Id: devicetree@vger.kernel.org On Thu, Sep 08, 2011 at 10:31:59AM -0500, Kumar Gala wrote: > 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. I don't think anyone has put together a context sensitive dt diff tool. g.