1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-23 12:03:19 +02:00
xburst-tools/script/dump_minios.scr
2010-12-12 00:08:05 +03:00

26 lines
411 B
Plaintext

echo "Dumping script"
nquery 0
#set NAND_RAW 1
set NAND_ECCPOS 3
rebuildcfg
boot
echo "Configured for bootloader IO!"
ndump_oob 0 0 128 "dump/nand.bin"
set NAND_RAW
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"