[U-Boot] [PATCH 1/5] warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE

Stefano Babic sbabic at denx.de
Thu May 28 11:54:13 CEST 2015


On 27/05/2015 06:11, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE in order to avoid the following error
> when running the dfu command:
> => dfu 0 mmc 0                                                                  
> dfu_get_buf: Could not memalign 0x2000000 bytes
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  include/configs/warp.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/warp.h b/include/configs/warp.h
> index 2673948..f0a912b 100644
> --- a/include/configs/warp.h
> +++ b/include/configs/warp.h
> @@ -94,7 +94,7 @@
>  #define CONFIG_CMD_DFU
>  #define CONFIG_DFU_FUNCTION
>  #define CONFIG_DFU_MMC
> -#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
> +#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
>  #define DFU_DEFAULT_POLL_TIMEOUT 300
>  
>  #define CONFIG_EXTRA_ENV_SETTINGS \
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list