* [U-Boot] [PATCH] ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB to enable booting of big kernels
@ 2009-07-29 14:25 Stefan Roese
2009-07-29 14:36 ` Peter Tyser
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2009-07-29 14:25 UTC (permalink / raw)
To: u-boot
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.
Signed-off-by: Stefan Roese <sr@denx.de>
---
include/configs/amcc-common.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h
index 3b733c0..e82b5ed 100644
--- a/include/configs/amcc-common.h
+++ b/include/configs/amcc-common.h
@@ -137,10 +137,10 @@
/*
* For booting Linux, the board info and command line data
- * have to be in the first 8 MB of memory, since this is
- * the maximum mapped by the Linux kernel during initialization.
+ * have to be in the first 16 MB of memory, since this is
+ * the maximum mapped by the 40x Linux kernel during initialization.
*/
-#define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
+#define CONFIG_SYS_BOOTMAPSZ (16 << 20) /* Initial Memory map for Linux */
/*
* Internal Definitions
--
1.6.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB to enable booting of big kernels
2009-07-29 14:25 [U-Boot] [PATCH] ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB to enable booting of big kernels Stefan Roese
@ 2009-07-29 14:36 ` Peter Tyser
2009-07-29 14:49 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Peter Tyser @ 2009-07-29 14:36 UTC (permalink / raw)
To: u-boot
Hi Stefan,
On Wed, 2009-07-29 at 16:25 +0200, Stefan Roese wrote:
> 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.
Might be nice to increase CONFIG_SYS_BOOTM_LEN at the same time. Or
maybe something along the lines of changing CONFIG_SYS_BOOTM_LEN to be
based on CONFIG_SYS_BOOTMAPSZ in general as (at a glance) it looks like
they should generally be the same value.
Best,
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB to enable booting of big kernels
2009-07-29 14:36 ` Peter Tyser
@ 2009-07-29 14:49 ` Stefan Roese
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2009-07-29 14:49 UTC (permalink / raw)
To: u-boot
Hi Peter,
On Wednesday 29 July 2009 16:36:17 Peter Tyser wrote:
> > 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.
>
> Might be nice to increase CONFIG_SYS_BOOTM_LEN at the same time. Or
> maybe something along the lines of changing CONFIG_SYS_BOOTM_LEN to be
> based on CONFIG_SYS_BOOTMAPSZ in general as (at a glance) it looks like
> they should generally be the same value.
I never "tuned" CONFIG_SYS_BOOTM_LEN before. But you are right, this should be
changed as well. I'll wait a short while for further comments on this and send
an updated patch version then.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-29 14:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-29 14:25 [U-Boot] [PATCH] ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB to enable booting of big kernels Stefan Roese
2009-07-29 14:36 ` Peter Tyser
2009-07-29 14:49 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox