Alan W Black writes:
> Although minicom seems to be sending it (lots of NAK warnings) the
> ipaq end doesn't seem to be getting anything, after sending (which
> fails with a no ACK or EOT message), if I simpl press return I
> get help as it it had received a garbage command
Yeah, that's the xmodem receive bug. Best work-around is to exit
minicom when you're ready to download at the bootloader prompt. Use
the following command to issue the command and start the transfer.
When you see the bootloader prompt, ^C out of the cat command. Run it
like this:
ipaqsendfile 'load root' task-bootstrap.jffs2 /dev/ttyS0
#!/bin/sh
if [ -z "$1" -o -z "$2" -o -z "$3" ]; then
echo "Usage:"
echo " $0 <command> <filename> <ttydev>"
exit
fi
if test -e md5sums && md5sum -c md5sums; then
echo "md5sum checked... ok"
else
if test -e $2.md5sum && md5sum -c $2.md5sum; then
echo "md5sum checked... ok"
elif test -e $2.md5sum; then
echo "md5sum failed... exiting"
exit
else
echo "no m5dsum... continuing"
fi
fi
echo "$1" > $3
sx -b $2 > $3 < $3
cat $3
-- -russ nelson <sig.a.t.russnelson.com> http://russnelson.com Crynwr sells support for free software | PGPok | 521 Pleasant Valley Rd. | +1 315 268 1925 voice | All extremists should Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | be shot.Received on Mon Aug 20 05:59:58 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:29 EDT