Thread (5 messages) 5 messages, 5 authors, 2011-05-09

[PATCHv3] ARM:boot:device tree: Allow the device tree binary to be appended to zImage

From: Shawn Guo <hidden>
Date: 2011-03-28 09:13:00
Also in: linux-devicetree

On Thu, Mar 24, 2011 at 04:18:41PM -0700, John Bonesio wrote:
This patch provides the ability to boot using a device tree that is appended
to the raw binary zImage (e.g. cat zImage <filename>.dtb > zImage_w_dtb).

Signed-off-by: John Bonesio <redacted>
---
Tested on mx51 babbage.  The non-dt kernel works fine, but dt kernel
does not.

I tracked it down a little bit and found, before calling kernel from
arch/arm/boot/compressed/head.S, the dtb magic number (at address
pointed by r8) was interpolated to 0x73fbc000 which happens to be the
value of 'uart_base' assigned in plat-mxc/include/mach/uncompress.h.

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