Re: problem loading bootldr

From: <Olav.a.t.kvittem.no>
Date: Tue Jul 17 2001 - 17:02:18 EDT

bub@ms.com said:
> i keep trying to do load bootldr
> on my ipaq from linux
> and get
> Xmodem sectors/kbytes sent: 44/ 5kRetry 0: NAK on sector x
> ? xRetry 0: NAK on sector
> x help <comxRetry 0: NAK on sector
> x

> and then at the end it says

> .........RXSTAT error: 00000020

> i've tried several times and checked my settings what should i do?

I had similar problems a couple of monts ago and got around to upgrade lrz to 0.12.20 and then
it worked fine with the new bootloader.

My Ipaqsendfile script is cooked from previous postings - enclosed.

use : ipaqsendfile command file device

i.e. ipaqsendfile "load kernel" zimage.... /dev/ttyS0

Olav

#!/bin/sh
export RZSZLINE=/dev/ttyS0

cmd=$1
file=$2
ty=$3

if [ -z "$cmd" -o -z "$file" -o -z "$ty" ]; then
  echo "Usage:"
  echo "$0 <command> <filename> <ttydev>"
  exit
fi

grep `md5sum $file` $file.md5sum
if test $? -eq 0 ; then
  echo "md5sum checked... ok"
else
  echo "md5sum failed... exiting"
  read hei
fi

stty -F $ty 115200 -crtscts -ixon -ixoff

echo > $ty
echo "$cmd" > $ty
sleep 1
sx $file > $ty < $ty
cat $ty
Received on Tue Jul 17 13:56:02 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:27 EDT