A.W.C. wrote:
What is correct syntax of a nanddump command?
As has been already hinted to you, none of your questions are related to busybox in any way, and from what you wrote, I'm not sure you know what busybox actually is. The nanddump command is not part of your version of busybox.

As for invoking nanddump, the usage message seems quite clear:
nanddump rev. 1.1.1.1

Usage: nanddump [OPTIONS] MTD-device
Dumps the contents of a nand mtd partition.

--help            display this help and exit
--version            output version information and exit
-f file    --file=file          dump to file
-i        --ignoreerrors      ignore errors
-l length  --length=length      length
-n        --noecc              read without error correction
-o        --omitoob            omit oob data
-b        --omitbad            omit bad blocks from the dump
-p        --prettyprint        print nice (hexdump)
-s addr    --startaddress=addr  start address


I tried commands

nanddump -o -b -f  /tmp/hsfw.bin  -s 0x01b60000 -l 0x00080000
Missing mandatory argument MTD-device.
nanddump  /dev/mtd9 /tmp/hsfw.bin
Unexpected argument after MTD-device.
Also, are the -o and -b arguments already default?(included in nandump code)
Does the usage message indicate that they are already default? Does the usage message indicate there is a way to turn them of in case you don't want them? If the answer to both is no, then it is safe to assume that they are not on by default.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to