[U-Boot] [PATCH 08/11] arm/pxa: increase CONFIG_SYS_MALLOC_LEN to (196Kb + space for environment)
Wolfgang Denk
wd at denx.de
Sat Sep 18 22:14:53 CEST 2010
Dear Marek Vasut,
In message <201008261348.08623.marek.vasut at gmail.com> you wrote:
> Dne Ct 26. srpna 2010 12:48:03 Mikhail Kshevetskiy napsal(a):
> > it looks like u-boot allocates a buffer of CONFIG_ENV_SECT_SIZE
> > size when making "saveenv" command. In our case CONFIG_ENV_SECT_SIZE
> > is 128Kb, so having CONFIG_SYS_MALLOC_LEN = (128Kb + space for
> > environment) is not sufficient.
> >
> > Increase CONFIG_SYS_MALLOC_LEN to (196Kb + space for environment) to
> > resolve a problem.
>
> You probably hit this because you changed the ENV size. Wolfgang, can you p> lease
> comment on this one too?
The space needed for malloc() depends on many things. Most systems
have sufficient RAM these days, so it makes little sense to be stingy
here.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Old programmers never die, they just branch to a new address.
More information about the U-Boot
mailing list