Hi. I've improved on Nils Faerber's xmodem download script, archived
at http://www.handhelds.org/pipermail/ipaq/2000-September/000464.html
Using it, I upgraded to 0.15 using the following commands:
export TTY=/dev/ttyR1
./setipaqtty $TTY
./ipaqsendfile 'load kernel' zImage-2.4.0-test6-rmk5-np2-hh3 $TTY
./ipaqsendfile 'load flash 0x100000' init-2-40.cramfs $TTY
./ipaqsendfile 'load flash 0x200000' root-2-40.cramfs $TTY
./ipaqsendfile 'load flash 0x500000' usr-2-40.cramfs $TTY
----------------ipaqsendfile----------------
#!/bin/sh
if [ -z "$1" -o -z "$2" -o -z "$3" ]; then
echo "Usage:"
echo " $0 <command> <filename> <ttydev>"
exit
fi
if md5sum -c $2.md5sum; then
echo "md5sum checked... ok"
else
echo "md5sum failed... exiting"
exit
fi
echo "$1" > $3
sx -b $2 > $3 < $3
cat $3
----------------end of ipaqsendfile----------------
-- -russ nelson <sig.a.t.russnelson.com> http://russnelson.com | A hate crime makes Crynwr sells support for free software | PGPok | it illegal to think certain 521 Pleasant Valley Rd. | +1 315 268 1925 voice | thoughts. The crime is Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | itself already a crime.Received on Mon Sep 18 20:19:04 2000
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:42 EDT