[U-Boot] [PATCH] arm: mx6: Reduce SPL malloc pool size

Marek Vasut marex at denx.de
Tue Dec 1 15:16:29 CET 2015


On Tuesday, December 01, 2015 at 03:13:17 PM, Tim Harvey wrote:
> On Mon, Nov 30, 2015 at 3:31 PM, Marek Vasut <marex at denx.de> wrote:
> >> Perhaps the use case for a >1MB malloc area is falcon mode. While a
> >> 1MB area certainly works for loading and bootstrapping to u-boot.img I
> >> have used anywhere from 1MB to 8MB images for falcon mode.
> > 
> > Does the falcon mode load the image into malloc'd area or directly into
> > RAM location ? If it's the former, then yeah, large malloc pool makes
> > sense and MALLOC_CLEAR_ON_INIT makes sense as well I guess.
> 
> Marek,

Hi Tim,

> I checked and Falcon mode does load images directly into RAM so large
> malloc still doesn't make sense and should be reduced. I think 1MB is
> a fine value.

Thank you!

Best regards,
Marek Vasut


More information about the U-Boot mailing list