From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Loeliger Subject: Re: dtc: Add code to make diffing trees easier Date: Sat, 13 Nov 2010 15:49:08 -0600 Message-ID: References: <20101109225109.GI30378@yookeroo> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <20101109225109.GI30378@yookeroo> 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: David Gibson Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org List-Id: devicetree@vger.kernel.org > 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 Applied. Thanks, jdl