public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] dfu_get_buf: Could not memalign 0x2000000 bytes
Date: Fri, 27 Feb 2015 16:45:23 +0100	[thread overview]
Message-ID: <54F09113.8040400@samsung.com> (raw)
In-Reply-To: <CAOMZO5DKAwRjbkje=AXtMwhiRhfDBLyzRXRbPPEbpZmwBzACKQ@mail.gmail.com>

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@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

      reply	other threads:[~2015-02-27 15:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 15:20 [U-Boot] dfu_get_buf: Could not memalign 0x2000000 bytes Fabio Estevam
2015-02-27 15:35 ` Przemyslaw Marczak
2015-02-27 15:43   ` Fabio Estevam
2015-02-27 15:45     ` Przemyslaw Marczak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54F09113.8040400@samsung.com \
    --to=p.marczak@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox