[U-Boot-Users] [patch 1/3] KB9202 compile fix

Johannes Stezenbach js at sig21.net
Sat Nov 3 23:38:27 CET 2007


On Sat, Nov 03, 2007 at 10:27:07PM +0100, Wolfgang Denk wrote:
> In message <20071025161107.169028618 at 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




More information about the U-Boot mailing list