doc/dumping: Add info about naddump

This commit is contained in:
Pali Rohár committed 2013-02-01 13:41:53 +01:00
1 parent 1eef797e29
commit 3e17c94722
1 file changed
+16
+16
View File
@@ -27,6 +27,22 @@ Technical details:
mtd4 - rootfs.jffs2 (a fucking copy of the above rootfs?) mtd4 - rootfs.jffs2 (a fucking copy of the above rootfs?)
For dumping mtd parition is used tool nanddump. Here is example how to dump
kernel image without padding to file zImage:
$ nanddump -i -o -b -s 0x00000800 -l 0x001FF800 -f zImage /dev/mtd2
Params means:
-i - "Ignore errors"
-o - "Omit oob data"
-b - "Omit bad blocks"
-s - "Start address"
-l - "Length"
-f - "Output file"
Please note that some new versions of naddump have some options removed and
some are enabled by default. Before using check params of your nanddump version.
// Extra notes // // Extra notes //