[ELDK] jffs2 file system for two different flash devices
Yigal Goldberger
yigal_gold at yahoo.com
Mon Jan 25 12:35:17 CET 2010
Hi all,
I'm using mkfs.jffs2 to create a flash file system .
It turns out that my flash is obsolete , and was replaced by a new one with a larger erase sector size . (the old one was 64KB and the new - 128KB) .
I tried create my file system with the -e 0x20000 option and hoped it will be suitable also for the old one . , but I'm getting fatal errors when linux attempts to mount this FS :
Node at 0x0000fb08 with length 0x0000058e would run over the end of the erase block
Perhaps the file system was created with the wrong erase size?
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000fb10: 0xa229 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000fb24: 0x0005 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000fb28: 0x4b5d instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000fb2c: 0x4b5d instead
....
....
....
And so on ....
My question is how can I (If I can) build one jffs2 file system the suite both flash devices ?
Thanks,
Yigal Goldberger.
More information about the eldk
mailing list