From mboxrd@z Thu Jan 1 00:00:00 1970
From: Przemyslaw Marczak
Date: Fri, 27 Feb 2015 16:45:23 +0100
Subject: [U-Boot] dfu_get_buf: Could not memalign 0x2000000 bytes
In-Reply-To:
References:
<54F08EC3.9090707@samsung.com>
Message-ID: <54F09113.8040400@samsung.com>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: u-boot@lists.denx.de
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
> 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