From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 12 Sep 2015 08:51:41 -0400 Subject: [U-Boot] [U-Boot,08/10] ARM: tegra: tweak DFU buffer sizes In-Reply-To: <1441425831-3441-8-git-send-email-swarren@wwwdotorg.org> References: <1441425831-3441-8-git-send-email-swarren@wwwdotorg.org> Message-ID: <20150912125141.GF26226@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Sep 04, 2015 at 10:03:49PM -0600, Stephen Warren wrote: > From: Stephen Warren > > CONFIG_SYS_DFU_DATA_BUF_SIZE defines the size of chunks transferred > across USB. This doesn't need to be particularly large, since it doesn't > limit the overall transfer size. > > CONFIG_SYS_DFU_MAX_FILE_SIZE is used to buffer an entire file before > writing it to a filesystem. This define limits the maximum file size that > may be transferred. Bump this up to 32MiB in order to support large > uncompressed kernel images. > > Both of these buffers are dynamically allocated, and so the size of both > needs to be taken into account when calculating the required malloc > region size. > > Signed-off-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: