Thread (1 message) 1 message, 1 author, 2011-09-12

Re: Appended devicetree with Torvalds' HEAD

From: Nicolas Pitre <hidden>
Date: 2011-09-12 16:15:51

On Mon, 12 Sep 2011, Domenico Andreoli wrote:
On Mon, Sep 12, 2011 at 09:25:26AM -0400, Nicolas Pitre wrote:
quoted
On Mon, 12 Sep 2011, Linus Walleij wrote:
quoted
So it appears that the appended device tree does not
show up.

I don't quite know how to debug this further...
I'm in the process of refreshing those patches, bringing them forward 
and cleaning up the parts that I dislike in the process.  I will 
certainly look at your failure case.
quoted
Given that the appended approach is generally
frowned upon maybe we are better off trying to fix
our U-Boot, getting a combo that is known to work
with device tree, than trying to get appended device
trees to work?
It still has to minimally work as some bootloaders out there simply 
can't be updated at all.
Appending dtb to the kernel image solves the case of those boot loaders
that cannot be updated but also reduces the genericity of the so built
kernel because you then need a kernel+dtb bundle for each affected
bootloader+board combination.

Couldn't this drawback be mitigated allowing the append of multiple dtbs?
Kernel would not be truly generic but surely more than kernel+single dtb.
No.  A line must be drawn somewhere and as I said I don't want this 
feature to become more handy than it strictly has to be.  If you care so 
deeply about 1) device tree and 2) having a generic kernel supporting 
multiple targets, then you should really think about updating your 
bootloader. Otherwise you should simply make the DTB concatenation at 
the very last minute before storing the result onto your boot medium and 
distribute the kernel and the various DTBs separately otherwise.


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