
18 Sep
2010
18 Sep
'10
10:14 p.m.
Dear Marek Vasut,
In message 201008261348.08623.marek.vasut@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@denx.de
Old programmers never die, they just branch to a new address.