[U-Boot] [U-Boot,08/10] ARM: tegra: tweak DFU buffer sizes

Tom Rini trini at konsulko.com
Sat Sep 12 14:51:41 CEST 2015


On Fri, Sep 04, 2015 at 10:03:49PM -0600, Stephen Warren wrote:

> From: Stephen Warren <swarren at nvidia.com>
> 
> 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 <swarren at nvidia.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20150912/c9ebe9b2/attachment.sig>


More information about the U-Boot mailing list