This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot: Use Ymodem's length field and don't eat ^Zs.
- From: Gary Thomas <gary at mlbassoc dot com>
- To: David Vrabel <dvrabel at arcom dot com>
- Cc: eCos patches <ecos-patches at ecos dot sourceware dot org>
- Date: Fri, 10 Jun 2005 07:26:52 -0600
- Subject: Re: RedBoot: Use Ymodem's length field and don't eat ^Zs.
- Organization: MLB Associates
- References: <42A871B0.8040502@arcom.com>
On Thu, 2005-06-09 at 17:43 +0100, David Vrabel wrote:
> Hi,
>
> This RedBoot patch enables the use of Ymodem's length field and causes
> ^Z's to be discarded only when Xmodem is used or the Ymodem length field
> is 0.
>
> Without this patch, binary files containing runs of ^Z's would be
> corrupted when transferred. (Causing much head-scratching when a file
> consistantly ends up short.)
Obviously I had thought about this before (and missed the test you
added)!
Applied, thanks.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------