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

Tim Harvey tharvey at gateworks.com
Tue Dec 1 15:13:17 CET 2015


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,

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.

Tim


More information about the U-Boot mailing list