lkml.org 
[lkml]   [2016]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dtc: create tool to diff device trees
On 1/4/2016 1:29 PM, Rob Herring wrote:
> On Thu, Dec 31, 2015 at 3:12 AM, Frank Rowand <frowand.list@gmail.com> wrote:
>> From: Frank Rowand <frank.rowand@sonymobile.com>
>>
>> Create script to diff device trees.
>>
>> The device tree can be in any of the forms recognized by the dtc compiler:
>> - source
>> - binary blob
>> - file system tree (from /proc/devicetree)
>>
>> If the device tree is a source file, then it is pre-processed in the
>> same way as it would be when built in the linux kernel source tree
>> before diffing.
>
> In general, I'd like to see some of this move to dtc and the kernel
> dependencies minimized.
>

I didn't address this comment in my first reply. Didn't mean to gloss
over it.

I agree with the sentiment, but I'm not sure how to act on it. I don't
think that dtc should be changed to be Linux specific (but if the dtc
maintainers think differently I would follow their lead). You did
provide at least one example of minimizing kernel dependencies
(removing the arch specific Makefile dtc flags), but beyond that
I'm not sure what can be done.

On the positive side, we can avoid adding more kernel dependencies.

< snip >

-Frank

\
 
 \ /
  Last update: 2016-01-07 20:21    [W:0.064 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site