From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm:trats: Increase malloc pool size (for DFU ext4 transfers)
Date: Fri, 05 Jul 2013 18:47:37 +0900 [thread overview]
Message-ID: <51D69639.1060409@samsung.com> (raw)
In-Reply-To: <1372437833-24217-1-git-send-email-l.majewski@samsung.com>
On 29/06/13 01:43, Lukasz Majewski wrote:
> Commit:
> dfu: make data buffer size configurable
> SHA1: 89a72b2e0e141042c9109185e02d39b2107ffc62
>
> replaced statically allocated buffers with one allocated with memalign.
>
> Malloc pool size of 1MiB was too small, since we needed bigger buffer to
> transfer for example uImage.
>
> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> ---
> include/configs/trats.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/trats.h b/include/configs/trats.h
> index 53fcf79..90562c4 100644
> --- a/include/configs/trats.h
> +++ b/include/configs/trats.h
> @@ -66,7 +66,7 @@
> #define CONFIG_MACH_TYPE MACH_TYPE_TRATS
>
> /* Size of malloc() pool */
> -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (1 << 20))
> +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (16 << 20))
>
> /* select serial console configuration */
> #define CONFIG_SERIAL2 /* use SERIAL 2 */
>
applied to u-boot-samsung.
Thanks,
Minkyu Kang.
prev parent reply other threads:[~2013-07-05 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 16:43 [U-Boot] [PATCH] arm:trats: Increase malloc pool size (for DFU ext4 transfers) Lukasz Majewski
2013-07-05 9:47 ` Minkyu Kang [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=51D69639.1060409@samsung.com \
--to=mk7.kang@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