1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 18:54:39 +02:00
xburst-tools/jzboot/script/dump_minios.scr
2011-12-26 10:49:02 +08: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"