u-boot-brain/drivers/dfu
Pantelis Antoniou ea2453d56b dfu: Support larger than memory transfers.
Previously we didn't support upload/download larger than available
memory.  This is pretty bad when you have to update your root filesystem
for example.

This patch removes that limitation (and the crashes when you transfered
any file larger than 4MB) by making raw image writes be done in chunks
and making file maximum size be configurable.

The sequence number is a 16 bit counter; make sure we handle rollover
correctly. This fixes the wrong transfers for large (> 256MB) images.

Also utilize a variable to handle initialization, so that we don't rely
on just the counter sent by the host.

Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Signed-off-by: Tom Rini <trini@ti.com>
2013-04-10 13:42:05 +02:00
..
dfu_mmc.c dfu: Support larger than memory transfers. 2013-04-10 13:42:05 +02:00
dfu.c dfu: Support larger than memory transfers. 2013-04-10 13:42:05 +02:00
Makefile dfu: MMC specific routines for DFU operation 2012-09-01 16:21:51 +02:00