Hi,

BusyBox v1.10.2 (2015-09-06 10:58:05 CST) built-in shell (ash)
I am in Busybox emergency shell, where Linux kernel is not fully loaded, and 
MTD devices are not set.



what is correct syntax to use nanddump dump do dump contecnt of nand partition?
>From the kernel log at boot time, there was created 11 MTD partitions on NAND 
>flash.
For example, NAND partition:

Creating 11 MTD partitions on "gen_nand":
... ...
0x01f00000-0x01f80000 : "NVRAM"

I tried command
nanddump -o -b -f  /tmp/nonvol.bin  -s 0x01f00000 -l 0x00080000

but this not work, show error.

I can't display MTD partitions in form of independent MTD devices by viewing 
cat /proc/mtd

dev:    size  erasesize  name
...
mtd10: 0x01f00000  0x01f80000  "NVRAM"

because MTD devices are not set.

Are the nanddump command only for MTD-devices in form /dev/mtdx?

Regards,



nanddump Revision: 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
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to