Strange problem with JFFS2/MTD on Linux 2.6.9 ith Intel J3 Flash
Kein Yuan
kein.yuan at gmail.com
Sun Feb 26 07:27:09 EST 2006
I am using mkfs.jffs2 -r rootfs -e0x40000 -p0x1000000 -o demo.jffs2.
Also I tried erase blobk size as 0x20000 and 0x10000 and all are failed to boot.
On 2/26/06, Alexey, Korolev <alexey.korolev at intel.com> wrote:
> 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