powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 64M on FSL 85xx boards
PATCH 1/1 powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 64M on FSL 85xx boards
CONFIG_SYS_BOOTMAPSZ has been 64M on these boards for some time so we should also allow the kernel image to be up to 64M decompressed. This also matches what we pass to the OS based on the ePAPR specification.
--- include/configs/MPC8536DS.h | 6 +++--- include/configs/MPC8540ADS.h | 6 +++--- include/configs/MPC8541CDS.h | 6 +++--- include/configs/MPC8544DS.h | 6 +++--- include/configs/MPC8548CDS.h | 6 +++--- include/configs/MPC8555CDS.h | 6 +++--- include/configs/MPC8560ADS.h | 6 +++--- include/configs/MPC8568MDS.h | 6 +++--- include/configs/MPC8569MDS.h | 6 +++--- include/configs/MPC8572DS.h | 6 +++--- include/configs/P1022DS.h | 6 +++--- include/configs/P1_P2_RDB.h | 6 +++--- include/configs/P2020DS.h | 6 +++--- include/configs/corenet_ds.h | 6 +++--- 14 files changed, 42 insertions(+), 42 deletions(-)
include/configs/MPC8536DS.h +3 -3
@@ -721,11 +721,11 @@/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux */ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -420,11 +420,11 @@/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -432,11 +432,11 @@ extern unsigned long get_clock_freq(void);/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -452,11 +452,11 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -491,11 +491,11 @@ extern unsigned long get_clock_freq(void);/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -430,11 +430,11 @@ extern unsigned long get_clock_freq(void);/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -461,11 +461,11 @@/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -451,11 +451,11 @@ extern unsigned long get_clock_freq(void);/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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
@@ -590,11 +590,11 @@ extern unsigned long get_clock_freq(void);/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -708,11 +708,11 @@/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -476,11 +476,11 @@/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -630,11 +630,11 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -709,11 +709,11 @@/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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 +3 -3
@@ -572,11 +572,11 @@/* * For booting Linux, the board info and command line data -* have to be in the first 16 MB of memory, since this is +* have to be in the first 64 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_BOOTM_LEN (16 << 20)/* Increase max gunzip size */ +#define CONFIG_SYS_BOOTMAPSZ (64 << 20)/* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTM_LEN (64 << 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.3.4
PATCH 1/1 powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 64M on FSL 85xx boards
Quoted 3 lines · Kumar Gala
CONFIG_SYS_BOOTMAPSZhas been 64M on these boards for some time so we should also allow the kernel image to be up to 64M decompressed. This also matches what we pass to the OS based on the ePAPR specification.
Is there any e500-based board for which we don't want 64MB? Why not just put this in some common 85xx.h file?
Signature · 2 lines
Timur Tabi Linux kernel developer at Freescale
PATCH 1/1 powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 64M on FSL 85xx boards
Quoted 7 lines · On Apr 28, 2011, at 10:41 PM, Tabi Timur-B04825 wrote:
Quoted 3 lines · Kumar Gala
CONFIG_SYS_BOOTMAPSZhas been 64M on these boards for some time so we should also allow the kernel image to be up to 64M decompressed. This also matches what we pass to the OS based on the ePAPR specification.Is there any e500-based board for which we don't want 64MB? Why not just put this in some common
85xx.hfile?
Because I don't know what other people's board do or dont do. So I leave this as board specific for now.
- k
Kumar Gala
AppliedPATCH 1/1 powerpc/85xx: Bump up the CONFIG_SYS_BOOTM_LEN to 64M on FSL 85xx boards
In reply to Kumar GalaQuoted 6 lines · Kumar Gala
CONFIG_SYS_BOOTMAPSZhas been 64M on these boards for some time so we should also allow the kernel image to be up to 64M decompressed. This also matches what we pass to the OS based on the ePAPR specification.Signed-off-by Kumar Gala <[email protected]>---
Quoted 15 lines
include/configs/MPC8536DS.h | 6 +++--- include/configs/MPC8540ADS.h | 6 +++--- include/configs/MPC8541CDS.h | 6 +++--- include/configs/MPC8544DS.h | 6 +++--- include/configs/MPC8548CDS.h | 6 +++--- include/configs/MPC8555CDS.h | 6 +++--- include/configs/MPC8560ADS.h | 6 +++--- include/configs/MPC8568MDS.h | 6 +++--- include/configs/MPC8569MDS.h | 6 +++--- include/configs/MPC8572DS.h | 6 +++--- include/configs/P1022DS.h | 6 +++--- include/configs/P1_P2_RDB.h | 6 +++--- include/configs/P2020DS.h | 6 +++--- include/configs/corenet_ds.h | 6 +++--- 14 files changed, 42 insertions(+), 42 deletions(-)
applied to 85xx
- k