Thread (4 messages) 4 messages, 2 authors, 2016-01-07

Re: [PATCH] dtc: create tool to diff device trees

From: Frank Rowand <hidden>
Date: 2016-01-07 18:40:33
Also in: lkml

On 1/4/2016 1:29 PM, Rob Herring wrote:
On Thu, Dec 31, 2015 at 3:12 AM, Frank Rowand [off-list ref] wrote:
quoted
From: Frank Rowand <frank.rowand-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>

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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help