Re: [U-Boot] [PATCH v2] ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB for big kernels

2009-07-30 Thread Stefan Roese
On Thursday 30 July 2009 07:22:48 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.

 This patch also sets CONFIG_SYS_BOOTM_LEN to 16MB (default 8MB) to enable
 decompression of bigger images.

 Signed-off-by: Stefan Roese s...@denx.de

Applied to u-boot-ppc4xx/master. 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: off...@denx.de
=
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v2] ppc4xx: amcc: Set CONFIG_SYS_BOOTMAPSZ to 16MB for big kernels

2009-07-29 Thread Stefan Roese
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 s...@denx.de
---
This patch replaces the orinal patch [PATCH v2] ppc4xx: amcc: Set 
CONFIG_SYS_BOOTMAPSZ
to 16MB to enable booting of big kernels.

v2:
- Patch subject line now a bit shorter
- Increase CONFIG_SYS_BOOTM_LEN to 16MB too

 include/configs/amcc-common.h |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h
index 3b733c0..275adcc 100644
--- a/include/configs/amcc-common.h
+++ b/include/configs/amcc-common.h
@@ -137,10 +137,11 @@
 
 /*
  * 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 */
+#define CONFIG_SYS_BOOTM_LEN   (16  20) /* Increase max gunzip size 
*/
 
 /*
  * Internal Definitions
-- 
1.6.3.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot