Thread (4 messages) flat view 4 messages, 4 authors, 2011-06-13
STALE5540d

[PATCH 0/3] patches to allow DTB to be appended to the ARM zImage

From: Dmitry Eremin-Solenikov <hidden>
Date: 2011-06-13 20:24:27

Russell King - ARM Linux wrote:
On Sun, Jun 12, 2011 at 05:01:22PM +0200, Arnd Bergmann wrote:
quoted
Of course it should override the device tree, I'm not arguing that.
All I'm saying is that we don't need to special-case this or support
both formats once the kernel is there as long as we move the information
into appropriate DT-representation of the same data.
You're arguing for it to be parsed by whatever fragment of assembly code
we have to place around the zImage to merge it into DT.

And yes, it's going to have to be assembly code because we don't have a
C environment at that point which can run in a relocatable way.
Please, again look at the cuboot stuff which is used on powerpc. It uses
limited C environment: it's executed before kernel entry, so it can use
stack, etc. as setup by the bootloader.


-- 
With best wishes
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help