Thread (1 message) 1 message, 1 author, 2011-03-15

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

From: Shawn Guo <hidden>
Date: 2011-03-15 07:52:32
Also in: linux-devicetree

On Tue, Mar 15, 2011 at 11:44:22AM +0800, Shawn Guo wrote:
On Wed, Mar 09, 2011 at 01:58:00PM -0800, John Bonesio wrote:
quoted
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>
---

 arch/arm/Kconfig                |    7 ++++
 arch/arm/boot/compressed/head.S |   75 +++++++++++++++++++++++++++++++++++++--
 2 files changed, 79 insertions(+), 3 deletions(-)
I played this patch on mx51 babbage a little bit, and noticed that it
introduces one difference on both non-dt and dt kernel booting.  The
To be clear, the difference is being seen when I do not even enable
CONFIG_ARM_APPENDED_DTB.

-- 
Regards,
Shawn
serial terminal stalls for a few seconds after printing
'Uncompressing Linux...', and then continue to work with all message
output.  That's something like:

Uncompressing Linux... (stall for seconds) done, booting the kernel.
Linux version 2.6.38-rc6+ (r65073 at S2101-09) (gcc version 4.4.5 (Ubuntu/Linaro 4.
4.4-14ubuntu4) ) #91 Tue Mar 15 11:29:03 CST 2011
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale MX51 Babbage Board
Machine: Freescale MX51 Babbage Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
......

I'm unsure if this is expected ...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help