This is the mail archive of the ecos-devel@sources.redhat.com 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: host tool to control RedBoot


>>>>> 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


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