From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Loeliger Subject: Re: dtc: Add code to make diffing trees easier Date: Mon, 11 Oct 2010 09:23:58 -0500 Message-ID: References: <20101011003738.GA5463@yookeroo> <20101011055219.GK23588@angua.secretlab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <20101011055219.GK23588-MrY2KI0G/OVr83L8+7iqerDks+cytr/Z@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely Cc: Scott Wood , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org > On Mon, Oct 11, 2010 at 11:37:38AM +1100, David Gibson wrote: > > This patch adds a "dtdiff" script to do a useful form diff of two > > device trees. This automatically converts the tree to dts form (if > > it's not already) and uses a new "-s" option in dtc to "sort" the > > tree. That is, it sorts the reserve entries, it sorts the properties > > within each node by name, and it sorts nodes by name within their > > parent. > > > > This gives a pretty sensible diff between the trees, which will ignore > > semantically null internal rearrangements (directly diffing the dts > > files can give a lot of noise due to the order changes). > > > > Signed-off-by: David Gibson > > Acked-by: Grant Likely I am inclined to take this patch. Any other comments? Matt? Thanks, jdl