flasher: make help text less ambigous
[pandora-misc.git] / flasher / script.txt
1 setenv stdout lcd
2 mw.l 83000000 40200800
3 if cmp.l 82001004 83000000 1
4 then
5   nandecc hw
6   nand read 83000000 0 20000
7   if cmp.b 82001000 83000000 20000
8   then
9     echo
10     echo >>> x-load already flashed, skipped.
11     echo
12   else
13     nand erase 0 80000
14     nand write 82001000 0 20000
15     nand write 82001000 20000 20000
16     nand write 82001000 40000 20000
17     nand write 82001000 60000 20000
18     echo
19     echo >>> finished flashing new x-load
20     echo
21   fi
22   setenv bootargs console=tty1 ramdisk_size=8192 root=/dev/ram0 rw rootfstype=ext2 initrd=0x82321000,8M vram=6272K omapfb.vram=0:3000K
23   bootm 0x82021000
24 fi
25
26 echo
27 echo Data corruption detected.
28 echo