From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 21 Nov 2008 11:09:18 +0100 Subject: [U-Boot] [PATCH] katmai: change default config In-Reply-To: <200811141619.19188.yur@emcraft.com> References: <200811141619.19188.yur@emcraft.com> Message-ID: <200811211109.18806.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 14 November 2008, Yuri Tikhonov wrote: > Hello, > Please remove this "Hello," from the commit text next time. > This patch enables support for EXT2, and increases the > CONFIG_SYS_BOOTMAPSZ size for the default configuration > of the katmai boards to use them as the RAID-reference > AMCC setups. > > EXT2 enabling allows one to boot kernels from the EXT2 > formatted Compact Flash cards. > > CONFIG_SYS_BOOTMAPSZ increasing allows one to boot the > Linux kernels, which use PAGE_SIZE of 256KB. Otherwise, > the memory area with DTB file (which is placed at the > end of the bootmap area) will turn out to be overlapped > with the BSS segment of the 256KB kernel, and zeroed > in early_init() of Linux. > > Actually, increasing of the bootmap size could be done > via setting of the bootm_size U-Boot variable, but it looks > like the current U-Boot implementation have some bootm_size- > related functionality lost. In many places through the U-Boot > code the CONFIG_SYS_BOOTMAPSZ definition is used directly > (instead of trying to read the corresponding value from the > environment). The same is truth for the boot_jump_linux() > function in lib_ppc/bootm.c, where U-Boot transfers control > to Linux passing the CONFIG_SYS_BOOTMAPSZ (not bootm_size) > value to the booting kernel. > > Signed-off-by: Yuri Tikhonov > Signed-off-by: Ilya Yanok Applied to 4xx/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: office at denx.de =====================================================================