[U-Boot] [PATCH] powerpc/83xx: increment malloc heap size for the MPC832x MDS boards

Kim Phillips kim.phillips at freescale.com
Fri Jun 15 23:46:49 CEST 2012


On Sat, 17 Mar 2012 17:44:00 -0500
Timur Tabi <timur at freescale.com> wrote:

> The malloc buffer is not large enough to hold a flash sector (0x20000 bytes)
> in addition to whatever else it normally holds, so double its size.  This
> fixes a failure trying to save the environment:
> 
> => save
> Saving Environment to Flash...
> Unable to save the rest of sector (122880)
> . done
> Protected 1 sectors
> 
> This problem probably surfaced from some other change that significantly
> increased the normal memory usage, thereby not leaving enough room for
> the saveenv command.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---

applied, Thanks.

Kim



More information about the U-Boot mailing list