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

Wolfgang Denk wd at denx.de
Tue Mar 20 20:03:15 CET 2012

Dear Scott Wood,

In message <4F68CF30.8000308 at freescale.com> you wrote:
> > Make your code more robust.
> The robust thing to do would be to not be stingy with the malloc size,
> and change all boards to have at least 1 MiB for malloc (except ones
> with very small amounts of RAM).  Maybe have a debug command to print
> max memory usage since boot, to see if a board is getting anywhere near
> the limit.

Good idea.  Patches are welcome, as usual.

I'm not sure it the malloc code keeps any such statics - if yes, and
this can be done without any significant amount of code, this could
even be added to the default bdinfo output.

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
Reader, suppose you were an idiot. And suppose you were a  member  of
Congress. But I repeat myself.                           - Mark Twain

More information about the U-Boot mailing list