2010-12-04 15:16:57 +02:00
|
|
|
echo "Dumping script"
|
|
|
|
nquery 0
|
|
|
|
|
2010-12-04 17:30:11 +02:00
|
|
|
#set NAND_RAW 1
|
2010-12-04 15:16:57 +02:00
|
|
|
set NAND_ECCPOS 3
|
|
|
|
rebuildcfg
|
|
|
|
boot
|
|
|
|
|
|
|
|
echo "Configured for bootloader IO!"
|
|
|
|
|
2010-12-04 17:30:11 +02:00
|
|
|
ndump_oob 0 0 128 "dump/nand.bin"
|
2010-12-04 15:16:57 +02:00
|
|
|
|
2010-12-04 17:30:11 +02:00
|
|
|
set NAND_RAW
|
2010-12-04 15:16:57 +02:00
|
|
|
set NAND_ECCPOS 8
|
|
|
|
rebuildcfg
|
|
|
|
boot
|
|
|
|
|
|
|
|
echo "Configuration restored"
|
|
|
|
|
|
|
|
ndump 0 128 66 "dump/loader.bin"
|
|
|
|
ndump 0 256 1 "dump/def_boot.bin"
|
|
|
|
ndump 0 512 3061 "dump/img_boot.bin"
|
|
|
|
ndump 0 8192 8192 "dump/minios.bin"
|
|
|
|
ndump 0 32768 32768 "dump/res.bin"
|
|
|
|
|