Bug#709871: tftp transfer of a large squashfs image stalls after about 640 MB
retitle 709871 please set tftp blksize to max value
tag 709871 pending
On 05/26/2013 09:37 AM, Edwin Fukunaga wrote:
> 65464 bytes/block would be the maximum allowed block size, according to
> the tftp(1) manpage.
note that we're in initramfs here, means busybox' tftp implementation
applies and not whatever implementation of a tftp client you've
installed providing the tftp manpage.
anyway, RFC 2348 says the same about blocksize max value, the busybox'
tftp code/documentation doesn't show any further information on it, and
from a quick skimming throuhg the code i could not see any problems to
expect when using that max value. therefore, i've set it in git to 65464
as you suggested, thanks.
Address: Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern