diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2013-02-01 13:41:53 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2013-02-01 13:41:53 +0100 |
commit | 3e17c947227210021f598cc3aae82be68a0c0697 (patch) | |
tree | b65cc224c9d4b50f1b0864750e8dd84faccb5acc /doc | |
parent | 1eef797e296f6565d59710152af6b11d69dab5b9 (diff) | |
download | 0xFFFF-3e17c947227210021f598cc3aae82be68a0c0697.tar.bz2 |
doc/dumping: Add info about naddump
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dumping | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/dumping b/doc/dumping index bbddc89..add0002 100644 --- a/doc/dumping +++ b/doc/dumping @@ -20,13 +20,29 @@ Technical details: mtd2 - starts with NOLO img\x5c\x13 and \x00 padding 0x00800 - zImage - > NOLO is a four byte marker, next four bytes - > can vary since it is kernel image size + > NOLO is a four byte marker, next four bytes + > can vary since it is kernel image size mtd3 - initfs.jffs2 (2M) aka 0x200000 vs 0x3900000 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 // |