Strange problem with JFFS2/MTD on Linux 2.6.9 ith Intel J3 Flash
Alexey, Korolev
alexey.korolev at intel.com
Sun Feb 26 04:25:22 EST 2006
Kein Yuan wrote:
> I am working on a PXA270 based paltform with Intel J3 Flash on Linux
> 2.6.9. I am sure that jffs2 image was written into the correct place
> and verified by md5chk command in blob, but somehow kernel can detect
> flash, can dump out the context correctly but failed to mount the
> flash partition as my root filesystem. Can anybody here give me some
> hints? The boot log was pasted as below:
>
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00037ef4:
> 0x9f54 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003f070:
> 0xf960 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004:
> 0x085c instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004:
> 0x1860 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d2bb4:
> 0x0001 instead
> jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012a370:
> 0x006e instead
>
It possible that you specified erase block size improperly when you
created image of JFFS2 file system. Size of erase block can be specified
through -e parameter of mkfs.jffs2 utility.
Erase block size can be obtained using blob. (On attmempt to write
something blob should display size of erase block)
Thanks,
Alexey
More information about the linux-mtd
mailing list