This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: RedBoot patches regarding redboot_getc_terminate
- From: Andrew Lunn <andrew at lunn dot ch>
- To: David Vrabel <dvrabel at arcom dot com>
- Cc: "Doyle, Patrick" <Patrick_Doyle at dtccom dot com>, 'Andrew Lunn' <andrew at lunn dot ch>, "'ecos-devel at sources dot redhat dot com'" <ecos-devel at sources dot redhat dot com>, 'Andrew Dyer' <adyer at righthandtech dot com>
- Date: Thu, 18 May 2006 17:12:36 +0200
- Subject: Re: RedBoot patches regarding redboot_getc_terminate
- References: <F7F756E5ED50F345959AE893AD2F15660A222D@dtcsrvr09.dtccom.com> <446C8BE9.10503@arcom.com>
> I'm not entirely happy with the fix. It terminates the download when all
> the relevant bits of the ELF have been transferred. The causes the
> sender to think that the file transfer has failed which causes some
> customer confusion.
It is possible to include a text string in the error message.
http://www.faqs.org/rfcs/rfc1350.html, figure 5-4.
So maybe a message like "Remaining file contents not required" would
prevent confusion. This assumes the lame tftp servers actually display
the message to the user.
> I think a better solution would be for the downloader to continue to
> transfer the remaining portions of the ELF image and just throw them away."
This can be a lot of data, eg the complete debug symbol table if the
image has been compiled -g. I would not really be in favor of that.
Andrew