autoboot.sh (posted in this topic ) don't work..
i have write in u-boot emergency shell:
nandlogical /dev/mtd1 WRITE 0x5a0000 0x160000 /mnt/card/kernel.img
I didn't have any problem using the attached script. The command you used is already in the autoboot.sh (notice the autoboot.sh for debian is different from the one for pdaXrom) Or is it only me?
scenario:
pdaXrom emergency system
==================
pdaXrom [Borzoi]
Loading /etc/sysconfig/keyboard/Borzoi/keymap.map
Bootscript /mnt/card/autoboot.sh, go...
: command not foundsh : line 2:
: command not foundsh : line 4:
: command not foundsh : line 6:
Proceed with debian installation or boot to emergency system? [y/n]
: command not foundsh : line 8:
y
' : not a valid identfierne 9: read: 'ans
: command not foundsh : line 10:
'mnt/card/autoboot.sh: line 19: syntax error near unexpected token 'do
'mnt/card/autoboot.sh: line 19: 'for file in $LOC/kernel.img $LOC/KERNEL.IMG; do
Processing /etc/profile... Done
-sh-3.08# cd /mnt/card
-sh-3.08# sh autoboot.sh
[command not foundsh..etc etc repeat]
-sh-3.08# ./autoboot.sh
-s: ./autoboot.sh: /bin/sh^M: bad interpreter: No such file or directory
-sh-3.08# vi autoboot.sh
o my god !! ^M on end of every line
delete all ^M from autoboot.sh and :wq
restart with u-boot emrgency for kernel installation and it work fine
the problem is the format of autoboot.sh sorry