From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30555 invoked by alias); 18 May 2006 15:59:42 -0000 Received: (qmail 30541 invoked by uid 22791); 18 May 2006 15:59:41 -0000 X-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from webapps.arcom.com (HELO webapps.arcom.com) (194.200.159.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 18 May 2006 15:59:39 +0000 Received: from [10.2.2.14] ([10.2.2.14]) by webapps.arcom.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 18 May 2006 16:54:34 +0100 Message-ID: <446C98BA.2080109@arcom.com> Date: Thu, 18 May 2006 15:59:00 -0000 From: David Vrabel User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Andrew Lunn CC: "Doyle, Patrick" , "'ecos-devel@sources.redhat.com'" , 'Andrew Dyer' Subject: Re: RedBoot patches regarding redboot_getc_terminate References: <446C8BE9.10503@arcom.com> <20060518151236.GE11223@lunn.ch> In-Reply-To: <20060518151236.GE11223@lunn.ch> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 May 2006 15:54:34.0465 (UTC) FILETIME=[5BBECD10:01C67A93] X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2006-05/txt/msg00021.txt.bz2 Andrew Lunn wrote: >> 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. This would take care of the TFTP transfers. But what about the Y-modem transfers? >> 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. Agreed. Although I think this is what RedBoot used to do for Y-modem transfers. 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/