Hi, I've just acquired a 516, and I'm also interested in backing up the original firmware.
I downloaded OpenInkpot 0.2 (oi-hanvon-n516-install-0.2-flashimage.zip), and read the instructions for USBboot.
I'm getting the impression I need to find a different version of USBboot
. There is a command called "nreadnand" which will dump the contents of flash... as a hexdump to the screen. Unlike the "nprog" command, it doesn't look like it will accept a filename.
Any suggestions welcome. Here's a transcript which should hopefully show what I'm talking about -
Code:
Welcome!
USB Boot Host Software!
USB Boot Software current version: 1.3
Handling user command.
USBBoot :> help
Command support in current version:
help print this help;
boot boot device and make it in stage2;
list show current device number can connect;
fconfig set USB Boot config file;
nquery query NAND flash info;
nread read NAND flash data with checking bad block and ECC;
nreadraw read NAND flash data without checking bad block and ECC;
nreadoob read NAND flash oob without checking bad block and ECC;
nerase erase NAND flash;
nprog program NAND flash with data and ECC;
nmark mark a bad block in NAND flash;
go execute program in SDRAM;
version show current USB Boot software version;
exit quit from telnet session;
readnand read data from nand flash and store to SDRAM;
load load file data to SDRAM;
USBBoot :> version
USB Boot Software current version: 1.3
USBBoot :> list
Device number can connect :1
USBBoot :> boot 0
Booting No.0 device......UnBooted.....Boot success!
Initing No.0 device......Init Configration success!
USBBoot :> fconfig USBboot.cfg 0
Configing No.0 device....
Init Configration success!
USBBoot :> nquery 0 0
Querying No.0 device No.0 flash......
Nand flash Vendor ID :0xdc
Nand flash Chip ID :0xad
Operation status: Success!
USBBoot :> nread
Usage: nread (1) (2) (3) (4)
1:start page number
2:length in byte
3:device index number
4:flash index number
USBBoot :> nread 0 16 0 0
Reading from No.0 device No.0 flash....
0x00000000 :ff ff ff ff 01 b0 08 3c 64 03 08 35 00 10 09 3c
Operation end position : 1
USBBoot :> readnand
Usage:
readnand (1) (2) (3) (4) (5)
1:start SDRAM address
2:start page number
3:page length
4:device index number
5:flash index number
USBBoot :>