mkfs.jffs2 missing magic?
Vernon Fuller
vernonfuller at gmail.com
Thu Dec 2 18:37:52 EST 2004
I compiled the latest mkfs.jffs2 and run it as
mkfs.jffs2 -l -e 128KiB -d /opt/src/romfs -o /opt/src/images/root.jffs
and load the image at 0x000240000 on my intel 28F640 J3 A (8Meg strata flash)
the image I make has lots of Magic bitmasks in it, just not at the offsets
jffs2_scan_eraseblock is looking for.
image at 0x240000:
85 19 03 20 0C 00 00 00 B1 B0 1E E4 85 19 01 E0
2B 00 00 00 E6 6E 26 7D 01 00 00 00 00 00 00 00
02 00 00 00 2A 98 AF 41 03 04 00 00 EC 36 A8 A5
FF 83 66 55 62 69 6E FF 85 19 02 E0 44 00 00 00
1D FB F7 98 02 00 00 00 01 00 00 00 FD 41 00 00
F5 01 F5 01 00 00 00 00 2A 98 AF 41 2A 98 AF 41
2A 98 AF 41 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 AE A9 C8 14 85 19 01 E0
2B 00 00 00 E6 6E 26 7D 01 00 00 00 01 00 00 00
03 00 00 00 25 98 AF 41 03 04 00 00 BE F9 45 49
17 28 32 EE 64 65 76 FF 85 19 02 E0 44 00 00 00
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240020:
0x0002 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240024:
0x2818 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0024002c:
0x4b3c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00240030:
0x7001 instead
Which is right, mkfs.jffs2 or linux? or do I not know how to use mkfs.jffs2?
More information about the linux-mtd
mailing list