This is the mail archive of the
ecos-devel@sources.redhat.com
mailing list for the eCos project.
Re: host tool to control RedBoot
- From: Mark Salter <msalter at redhat dot com>
- To: jifl at eCosCentric dot com
- Cc: ecos-devel at sources dot redhat dot com
- Date: Fri, 9 Aug 2002 10:24:45 -0400
- Subject: Re: host tool to control RedBoot
- References: <200207152159.g6FLxsv31110@deneb.localdomain> <3D50F6B5.3020405@eCosCentric.com>
>>>>> Jonathan Larmour writes:
> Mark Salter wrote:
>> I've thrown together a fairly simple utility which I use
>> to download images to RedBoot. It runs on Linux (a port
>> to cygwin should be straightforward) and you can use it
>> to download an image to RAM/flash over serial or tcp with
>> a single command from a shell prompt. It uses xyzModem
>> over serial or ethernet, so no tftp server is needed.
> Does it indirectly invoke "sx" possibly with "--tcp-server"? I'd hope so,
> because of having a different x/y-modem ipmlementation to maintain might
> be annoying :-).
It invokes sz, but not with --tcp-server because RedBoot won't initiate
a tcp connection. What it does do is open a tcp socket to RedBoot, issue
the "load -m ymodem" command, fork+exec sz with stdin/stdout being the
already open tcp socket.
--Mark