1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-25 18:05:00 +02:00
xburst-tools/jzboot/script/dump_minios.scr

26 lines
411 B
Plaintext
Raw Permalink Normal View History

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"