sequoia: The final kernel image would overwrite the device tree
Wolfgang Denk
wd at denx.de
Sat Aug 8 17:38:07 EST 2009
Dear Ben,
In message <1249678991.10143.1.camel at pasglop> you wrote:
>
> My experience, however, with a Canyonlands board, is that uBoot has
> a bug that makes it always allocate the device-tree below 8M and clash
> with the kernel when it gets too big.
>
> I think Stefan fixed that recently, you may need to rebuild your uboot,
> I'll let him tell you the details about the fix.
Right. These are the relevant commits; they went into mainline some
time ago:
commit 27dd5f8e1062684f1ba685760409d9b2ab6691bf
Author: Stefan Roese <sr at denx.de>
Date: Tue Jul 28 10:56:03 2009 +0200
ppc4xx: amcc: Move "kernel_addr_r" etc to higher locations (> 16MB)
This patch moves the load addresses for kernel, fdt and ramdisk to higher
addresses (>= 16MB). This enables booting of bigger kernel images (e.g.
lockdep enabled).
Signed-off-by: Stefan Roese <sr at denx.de>
commit 6942efc2be1b90054fa4afa5cda7023469fe08b9
Author: Stefan Roese <sr at denx.de>
Date: Tue Jul 28 10:50:32 2009 +0200
ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB for big kernels
This patch changes CONFIG_SYS_BOOTMAPSZ from 8MB to 16MB which is the
initial TLB on 40x PPC's in the Linux kernel. With this change even bigger
Linux kernels (> 8MB) can be booted.
This patch also sets CONFIG_SYS_BOOTM_LEN to 16MB (default 8MB) to enable
decompression of bigger images.
Signed-off-by: Stefan Roese <sr at denx.de>
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every solution breeds new problems.
More information about the Linuxppc-dev
mailing list