From: Johannes Stezenbach Date: Sat, 3 Nov 2007 23:38:27 +0100 Subject: [U-Boot-Users] [patch 1/3] KB9202 compile fix In-Reply-To: <20071103212707.981B924756@gemini.denx.de> References: <20071025161107.169028618@sig21.net> <20071103212707.981B924756@gemini.denx.de> Message-ID: <20071103223827.GB17877@sig21.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Nov 03, 2007 at 10:27:07PM +0100, Wolfgang Denk wrote: > In message <20071025161107.169028618@sig21.net> you wrote: > > KB9202 compile fix > > > > Problem observed with CodeSourcery EABI toolchain > > (arm-2007q3-51-arm-none-linux-gnueabi) > ... > > --- a/include/configs/kb9202.h Fri Oct 19 18:22:38 2007 +0200 > > +++ b/include/configs/kb9202.h Fri Oct 19 18:34:12 2007 +0200 > > @@ -57,7 +57,7 @@ > > /* > > * Size of malloc() pool > > */ > > -#define CFG_MALLOC_LEN (CFG_ENV_SIZE + 128*1024) > > +#define CFG_MALLOC_LEN (128*1024) > > #define CFG_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */ > > This seems to be broken for me, especially for bigger environments. > > NAK. I would've hoped for a better suggestion. Currently I don't know if the problem is caused by a binutils issue with the CodeSourcery toolchain, or if kb9202 is broken with any toolchain. Anyway, what I did was to grep for CFG_MALLOC_LEN and the majority of the other configs don't add CFG_ENV_SIZE here. Thanks, Johannes