All of lore.kernel.org
 help / color / mirror / Atom feed
* mkfs.jffs2 missing magic?
@ 2004-12-02 23:37 Vernon Fuller
  0 siblings, 0 replies; only message in thread
From: Vernon Fuller @ 2004-12-02 23:37 UTC (permalink / raw)
  To: linux-mtd

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-02 23:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-02 23:37 mkfs.jffs2 missing magic? Vernon Fuller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.