Thread (36 messages) flat view 36 messages, 13 authors, 2006-08-09

Re: RFC: Location for Device Tree Sources?

From: Tom Rini <hidden>
Date: 2006-08-02 16:38:25

On Wed, Aug 02, 2006 at 08:35:55AM -0500, Kumar Gala wrote:
I like this location and agree that having them in tree makes sense.   
And putting them under boot isolates them from the kernel proper.

The reason I see to having them in tree is to ensure proper version  
compatibility.  This way there is no concern about which .dts version  
will work with which kernel.  In the future we can always pull them  
out when things are more stable.
I'd rephrase that as an arguement to keep them out of tree:

The reason I see to having them out of tree is to ensure we follow the
intent trees holding the information about where devices live and the
kernel being good and asking the trees.  This way there is no concern
about which (otherwise valid) .dts version will work with which kernel,
as breaking a valid .dts is either a bug (unintentional API change or a
'Oops, I forgot that the tree might not specify X' which potentially
preempts the custom board Y (that's like a sandpoint!) just doesn't have
X bugs) or a change that requires a dts version bump.

I'll throw in the caveat that I'm not 100% sure we're that stable yet,
but it certainly seems like it, at least for the overall portion where
you might really have incompatible trees.  More or less complete (now
every device is described!) dts should be interchangable to the kernel
for the custom board X is just a little different from ref board Y
issues (and now, in theory, the Just Like A Sandpoint board, with a
correct dts will boot the 'sandpoint' kernel).

-- 
Tom Rini
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help