diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2009-08-20 10:50:20 -0400 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-08-25 13:35:54 -0700 |
commit | 4fccb818e7ee1190602e79aa5729a23bc349bf0c (patch) | |
tree | a7fff9df422622f8b3834a99719e1f85fa799c9a /tools/img2srec.c | |
parent | 488feef85229c08cd3aa1fa183bc8f483d2ae832 (diff) | |
download | u-boot-imx-4fccb818e7ee1190602e79aa5729a23bc349bf0c.zip u-boot-imx-4fccb818e7ee1190602e79aa5729a23bc349bf0c.tar.gz u-boot-imx-4fccb818e7ee1190602e79aa5729a23bc349bf0c.tar.bz2 |
Add Transfer Size Option to tftp
Optionally add RFC 2349 "Transfer Size Option", so we can minimize the
time spent sending data over the UART (now print a single line during a
tftp transfer).
- If turned on (CONFIG_TFTP_TSIZE), U-Boot asks for the size of the file.
- if receives the file size, a single line (50 chars) are printed.
one hash mark == 2% of the file downloaded.
- if it doesn't receive the file size (the server doesn't support RFC
2349, prints standard hash marks (one mark for each UDP frame).
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'tools/img2srec.c')
0 files changed, 0 insertions, 0 deletions