All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm:trats: Increase malloc pool size (for DFU ext4 transfers)
@ 2013-06-28 16:43 Lukasz Majewski
  2013-07-05  9:47 ` Minkyu Kang
  0 siblings, 1 reply; 2+ messages in thread
From: Lukasz Majewski @ 2013-06-28 16:43 UTC (permalink / raw)
  To: u-boot

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 */
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] arm:trats: Increase malloc pool size (for DFU ext4 transfers)
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Minkyu Kang @ 2013-07-05  9:47 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-05  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.