From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 28 May 2015 11:54:13 +0200 Subject: [U-Boot] [PATCH 1/5] warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE In-Reply-To: <1432699908-15898-1-git-send-email-festevam@gmail.com> References: <1432699908-15898-1-git-send-email-festevam@gmail.com> Message-ID: <5566E5C5.5040303@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 27/05/2015 06:11, Fabio Estevam wrote: > From: Fabio Estevam > > 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 > --- > 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 =====================================================================