diff options
author | Ira W. Snyder <iws@ovro.caltech.edu> | 2010-09-10 15:42:32 -0700 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-23 21:13:32 +0200 |
commit | 9f530d59e63f6a4584e0caee54f92255c7ed59ab (patch) | |
tree | a49553717f305bc25f287f14accf43cc9afde8f0 /include/configs/MPC8313ERDB.h | |
parent | e8d3ca8b339a2697d14550790c3a0e3748b2358c (diff) | |
download | bootable_bootloader_goldelico_gta04-9f530d59e63f6a4584e0caee54f92255c7ed59ab.zip bootable_bootloader_goldelico_gta04-9f530d59e63f6a4584e0caee54f92255c7ed59ab.tar.gz bootable_bootloader_goldelico_gta04-9f530d59e63f6a4584e0caee54f92255c7ed59ab.tar.bz2 |
e300: increase CONFIG_SYS_BOOTMAPSZ to allow booting large kernels
Newer Linux kernels can overrun the initial memory window used for
booting with their BSS area. When this happens, they overwrite the FDT
and silently fail to boot.
On e300 CPUs, the Linux kernel uses an initial BAT covering the first
256MB of RAM. See arch/powerpc/kernel/head_32.S for details. Increase
the value of CONFIG_SYS_BOOTMAPSZ to accommodate the maximum value
allowed by Linux. This will allow very large kernels to boot.
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/MPC8313ERDB.h')
-rw-r--r-- | include/configs/MPC8313ERDB.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h index adf05ee..3fdd1b0 100644 --- a/include/configs/MPC8313ERDB.h +++ b/include/configs/MPC8313ERDB.h @@ -460,10 +460,10 @@ /* * For booting Linux, the board info and command line data - * have to be in the first 8 MB of memory, since this is + * have to be in the first 256 MB of memory, since this is * the maximum mapped by the Linux kernel during initialization. */ -#define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux*/ +#define CONFIG_SYS_BOOTMAPSZ (256 << 20) /* Initial Memory map for Linux*/ #define CONFIG_SYS_RCWH_PCIHOST 0x80000000 /* PCIHOST */ |