public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/5] warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE
Date: Thu, 28 May 2015 11:54:13 +0200	[thread overview]
Message-ID: <5566E5C5.5040303@denx.de> (raw)
In-Reply-To: <1432699908-15898-1-git-send-email-festevam@gmail.com>

On 27/05/2015 06:11, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@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@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
=====================================================================

      parent reply	other threads:[~2015-05-28  9:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27  4:11 [U-Boot] [PATCH 1/5] warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE Fabio Estevam
2015-05-27  4:11 ` [U-Boot] [PATCH 2/5] warp: Fix CONFIG_SYS_FSL_ESDHC_ADDR Fabio Estevam
2015-05-28  9:54   ` Stefano Babic
2015-05-27  4:11 ` [U-Boot] [PATCH 3/5] warp: Enable CONFIG_SUPPORT_EMMC_BOOT Fabio Estevam
2015-05-28  9:54   ` Stefano Babic
2015-05-27  4:11 ` [U-Boot] [PATCH 4/5] warp: Add fuse command support Fabio Estevam
2015-05-28  9:54   ` Stefano Babic
2015-05-27  4:11 ` [U-Boot] [PATCH 5/5] warp: Fix the 'saveenv' command Fabio Estevam
2015-05-28  9:54   ` Stefano Babic
2015-05-28  9:54 ` Stefano Babic [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=5566E5C5.5040303@denx.de \
    --to=sbabic@denx.de \
    --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