* Shawn Guo <[email protected]> [110328 12:10]: > 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 <[email protected]> > > --- > > > 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.
Gave this a try on an omap3 based board, looks like decompress_kernel will trash the first 16 bytes of the device tree data somehow. John, can you please check if your current patch works properly? Regards, Tony _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
