powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 16M on FSL 85xx boards
PATCH 1/1 powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 16M on FSL 85xx boards
CONFIG_SYS_BOOTMAPSZ has been 16M on these boards for some time so we should also allow the kernel image to be up to 16M decompressed.
--- include/configs/MPC8536DS.h | 3 ++- include/configs/MPC8540ADS.h | 3 ++- include/configs/MPC8541CDS.h | 3 ++- include/configs/MPC8544DS.h | 3 ++- include/configs/MPC8548CDS.h | 3 ++- include/configs/MPC8555CDS.h | 3 ++- include/configs/MPC8560ADS.h | 3 ++- include/configs/MPC8568MDS.h | 3 ++- include/configs/MPC8569MDS.h | 6 +++--- include/configs/MPC8572DS.h | 3 ++- include/configs/P1022DS.h | 3 ++- include/configs/P1_P2_RDB.h | 3 ++- include/configs/P2020DS.h | 3 ++- include/configs/corenet_ds.h | 3 ++- 14 files changed, 29 insertions(+), 16 deletions(-)
include/configs/MPC8536DS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2007-2009,2010 Freescale Semiconductor, Inc. +* Copyright 2007-2009,2010-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project.
@@ -718,6 +718,7 @@* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux */ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8540ADS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2004 Freescale Semiconductor. +* Copyright 2004, 2011 Freescale Semiconductor. * (C) Copyright 2002,2003 Motorola,Inc. * Xianghua Xiao <[email protected]> *
@@ -424,6 +424,7 @@* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8541CDS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2004 Freescale Semiconductor. +* Copyright 2004, 2011 Freescale Semiconductor. * * See file CREDITS for list of people who contributed to this * project.
@@ -436,6 +436,7 @@ extern unsigned long get_clock_freq(void);* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8544DS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2007, 2010 Freescale Semiconductor, Inc. +* Copyright 2007, 2010-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project.
@@ -456,6 +456,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8548CDS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2004, 2007, 2010 Freescale Semiconductor. +* Copyright 2004, 2007, 2010-2011 Freescale Semiconductor. * * See file CREDITS for list of people who contributed to this * project.
@@ -494,6 +494,7 @@ extern unsigned long get_clock_freq(void);* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8555CDS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2004 Freescale Semiconductor. +* Copyright 2004, 2011 Freescale Semiconductor. * * See file CREDITS for list of people who contributed to this * project.
@@ -434,6 +434,7 @@ extern unsigned long get_clock_freq(void);* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8560ADS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2004 Freescale Semiconductor. +* Copyright 2004, 2011 Freescale Semiconductor. * (C) Copyright 2002,2003 Motorola,Inc. * Xianghua Xiao <[email protected]> *
@@ -465,6 +465,7 @@* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8568MDS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2004-2007, 2010 Freescale Semiconductor. +* Copyright 2004-2007, 2010-2011 Freescale Semiconductor. * * See file CREDITS for list of people who contributed to this * project.
@@ -451,6 +451,7 @@ extern unsigned long get_clock_freq(void);* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8569MDS.h +3 -3
@@ -1,5 +1,5 @@/* -* Copyright (C) 2009-2010 Freescale Semiconductor, Inc. +* Copyright (C) 2009-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project.
@@ -589,8 +589,8 @@ extern unsigned long get_clock_freq(void);* have to be in the first 16 MB of memory, since this is * the maximum mapped by the Linux kernel during initialization. */ -#define CONFIG_SYS_BOOTMAPSZ (16 << 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 */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/MPC8572DS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2007-2008,2010 Freescale Semiconductor, Inc. +* Copyright 2007-2008,2010-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project.
@@ -692,6 +692,7 @@* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/P1022DS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2010 Freescale Semiconductor, Inc. +* Copyright 2010-2011 Freescale Semiconductor, Inc. * Authors: Srikanth Srinivasan <[email protected]> * Timur Tabi <[email protected]> *
@@ -400,6 +400,7 @@* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #ifdef CONFIG_CMD_KGDB #define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/P1_P2_RDB.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2009-2010 Freescale Semiconductor, Inc. +* Copyright 2009-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project.
@@ -542,6 +542,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/P2020DS.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2007-2010 Freescale Semiconductor, Inc. +* Copyright 2007-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project.
@@ -611,6 +611,7 @@* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #if defined(CONFIG_CMD_KGDB )#define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
include/configs/corenet_ds.h +2 -1
@@ -1,5 +1,5 @@/* -* Copyright 2009-2010 Freescale Semiconductor, Inc. +* Copyright 2009-2011 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project.
@@ -531,6 +531,7 @@* the maximum mapped by the Linux kernel during initialization. */ #define CONFIG_SYS_BOOTMAPSZ (16 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ #ifdef CONFIG_CMD_KGDB #define CONFIG_KGDB_BAUDRATE 230400/* speed to run kgdb serial port */
Signature · 1 line
1.7.2.3
PATCH 1/1 powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 16M on FSL 85xx boards
Quoted 19 lines · Kumar Gala
CONFIG_SYS_BOOTMAPSZhas been 16M on these boards for some time so we should also allow the kernel image to be up to 16M decompressed.Signed-off-by Kumar Gala <[email protected]>---
?include/configs/MPC8536DS.h ?| ? ?3 ++- ?include/configs/MPC8540ADS.h | ? ?3 ++- ?include/configs/MPC8541CDS.h | ? ?3 ++- ?include/configs/MPC8544DS.h ?| ? ?3 ++- ?include/configs/MPC8548CDS.h | ? ?3 ++- ?include/configs/MPC8555CDS.h | ? ?3 ++- ?include/configs/MPC8560ADS.h | ? ?3 ++- ?include/configs/MPC8568MDS.h | ? ?3 ++- ?include/configs/MPC8569MDS.h | ? ?6 +++--- ?include/configs/MPC8572DS.h ?| ? ?3 ++- ?include/configs/P1022DS.h ? ?| ? ?3 ++- ?include/configs/P1_P2_RDB.h ?| ? ?3 ++- ?include/configs/P2020DS.h ? ?| ? ?3 ++- ?include/configs/corenet_ds.h | ? ?3 ++-
Quoted 1 line
?14 files changed, 29 insertions(+), 16 deletions(-)
Wouldn't it be simpler to do this in arch/powerpc/include/asm/config.h?
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale
Kumar Gala
AppliedPATCH 1/1 powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 16M on FSL 85xx boards
In reply to Kumar GalaQuoted 5 lines · Kumar Gala
CONFIG_SYS_BOOTMAPSZhas been 16M on these boards for some time so we should also allow the kernel image to be up to 16M decompressed.Signed-off-by Kumar Gala <[email protected]>---
Quoted 15 lines
include/configs/MPC8536DS.h | 3 ++- include/configs/MPC8540ADS.h | 3 ++- include/configs/MPC8541CDS.h | 3 ++- include/configs/MPC8544DS.h | 3 ++- include/configs/MPC8548CDS.h | 3 ++- include/configs/MPC8555CDS.h | 3 ++- include/configs/MPC8560ADS.h | 3 ++- include/configs/MPC8568MDS.h | 3 ++- include/configs/MPC8569MDS.h | 6 +++--- include/configs/MPC8572DS.h | 3 ++- include/configs/P1022DS.h | 3 ++- include/configs/P1_P2_RDB.h | 3 ++- include/configs/P2020DS.h | 3 ++- include/configs/corenet_ds.h | 3 ++- 14 files changed, 29 insertions(+), 16 deletions(-)
applied
- k