* Do not strip the initfs.jffs2 image, it is only 2MB

* Some fixups on the doc/dumping documentation
This commit is contained in:
pancake committed 2007-04-20 21:00:12 +02:00
1 parent 300635ad8f
commit 196f1f7abb
2 files changed
+8 -4

No files matched your search

+6 -3
View File
@@ -25,8 +25,8 @@ pieces at certains offsets of the device internal memory.
<b>Technical details:</b> <b>Technical details:</b>
* The internal flash memory is exposed to the system as MTD devices. So it's * The internal flash memory is exposed to the system as MTD devices.
* possible to dump the individual sections of a flashed firmware. * Is possible to dump the individual sections of a flashed firmware.
* *
* READ src/dump.c for detailed information. * READ src/dump.c for detailed information.
@@ -40,6 +40,9 @@ pieces at certains offsets of the device internal memory.
mtd2 - starts with NOLO img\x5c\x13 and \x00 padding mtd2 - starts with NOLO img\x5c\x13 and \x00 padding
0x00800 - zImage 0x00800 - zImage
mtd3 - rootfs.jffs2 (20M) aka 0x200000 vs 0x3900000 > 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?) mtd4 - rootfs.jffs2 (a fucking copy of the above rootfs?)
+2 -1
View File
@@ -134,7 +134,8 @@ int reverse_extract_pieces(char *dir)
rf_strip("xloader.bin"); rf_strip("xloader.bin");
rf_strip("secondary.bin"); rf_strip("secondary.bin");
rf_strip("zImage"); rf_strip("zImage");
rf_strip("initfs.jffs2"); // rf_strip("initfs.jffs2"); // do not strip initfs, is 2MB long
//and can be useful for data recovery
printf("Identifying extracted files...\n"); printf("Identifying extracted files...\n");
printf("%s: xloader\n", fpid_file("xloader.bin")); printf("%s: xloader\n", fpid_file("xloader.bin"));
printf("%s: secondary.bin\n", fpid_file("secondary.bin")); printf("%s: secondary.bin\n", fpid_file("secondary.bin"));