[ECOS] RedBoot TFTP last block ack oddness

David Vrabel dvrabel@arcom.com
Fri Sep 9 13:19:00 GMT 2005


Andrew Dyer wrote:
> On 9/8/05, David Vrabel <dvrabel@arcom.com> wrote:
>>
>>RedBoot's TFTP client has two oddities when ack'ing the last data block.
>>
>>1. It fails to ack the last data block when loading ELF images if
>>there's trailing data after the last section it loads (more correctly,
>>it fails to ack the first block it doesn't want).  For example, if an
>>image had a trailing .comment section.
> 
> Perhaps this:  http://sourceware.org/ml/ecos-discuss/2004-03/msg00148.html
> patch would help.

That did the trick. Thanks, Andrew.

Gary, a reworked patch against recent CVS is attached.

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: redboot-tftp-load-elf-ack-fix
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20050909/4e74674c/attachment.ksh>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list