This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RedBoot TFTP last block ack oddness


Hi,

It looks like it doesn't work correctly. I still get tftp timeouts and the port will not be freed (transfer port constantly counting up).

Another question regarding zlib: If i try to load a gzip compressed file via tftp i always get "file not found". Uploading via xmodem work correctly.

Bye...

----- Original Message ----- From: "Gary Thomas" <gary@mlbassoc.com>
To: "David Vrabel" <dvrabel@arcom.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Freitag, 9. September 2005 15:26
Subject: Re: [ECOS] RedBoot TFTP last block ack oddness



On Fri, 2005-09-09 at 14:19 +0100, David Vrabel wrote:
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.

Close - the ChangeLog entry was stale :-)


Applied now.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]