[U-Boot] dfu_get_buf: Could not memalign 0x2000000 bytes

Przemyslaw Marczak p.marczak at samsung.com
Fri Feb 27 16:45:23 CET 2015


Hello Fabio,

On 02/27/2015 04:43 PM, Fabio Estevam wrote:
> Hi Przemyslaw,
>
> On Fri, Feb 27, 2015 at 12:35 PM, Przemyslaw Marczak
> <p.marczak at samsung.com> wrote:
>
>> Yes, please update line 33 in your config file, at least with this
>>
>>   #define CONFIG_SYS_MALLOC_LEN           (10 * SZ_1M) +
>> CONFIG_SYS_DFU_DATA_BUF_SIZE
>>
>> You don't have enough malloc memory reserved.
>
> This fixes the problem :-)
>
> Thanks a lot for your help!
>

No problem. You uncover one more thing, which should be done before 
change the dfu mmc static buffer with memalign, which is increase the 
malloc memory, for configs with dfu.

Best regards,
-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com


More information about the U-Boot mailing list