[iPAQ] kermit download script

From: John Rigby <jrigby.a.t.lineo.com>
Date: Sat Sep 16 2000 - 01:47:00 EDT

Until today I have been using a two window download method similar to what
has been described here previously. Today I finally got around to coming up
with a kermit script that makes things easier. It is pretty simple and
doesn't deal with errors so I wouldn't use it for downloading the
bootloader. I thought it might be useful for anyone else out there doing a
linux only install.

Here it is.

set line /dev/ttyS1
set speed 115200
define sx !sx \%1 > /dev/ttyS1 < /dev/ttyS1
define st1 set terminal trigger {ready for xmodem download..}
define st2 set terminal trigger {boot>}
define c connect
define snd st1,output \%1\n,c,sx \%2,st2,c,st1
snd {load kernel} zImage-2.4.0-test6-rmk5-np2-hh3
snd {load flash 0x100000} init-2-40.cramfs
snd {load flash 0x200000} root-2-40.cramfs
snd {load flash 0x500000} usr-2-40.cramfs

Of course you will want to change it to match your configuration, and, only
download what you really want. Oh BTW the kermit command to run a script
file is "take". So if your script file is named download.kermit you would
just need to type "take download.kermit"

John
Received on Fri Sep 15 22:43:37 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:42 EDT