JFFS2 error messages
Arno Steffen
arno.steffen at googlemail.com
Mon Mar 22 11:09:26 EDT 2010
2010/3/9 Vimal Singh <vimal.newwork at gmail.com>:
>> -s, --pagesize=SIZE Use page size (max data node size) SIZE
>> (default: 4KiB)
>> -e, --eraseblock=SIZE Use erase block size SIZE (default: 64KiB)
>> -c, --cleanmarker=SIZE Size of cleanmarker (default 12)
>>
>> As "-s 4096" gives same result as without "-s" I assume the size is in byte ?!
>> Just to be sure - I have to use 2048 instead of 2112 ?
>
> Yes that's correct. You need to use 2048.
>
> --
> Regards,
> Vimal Singh
>
It seems not to work. I am at a loss.
I don't get rid of this messages like
"Empty flash at 0x009e0f6c ends at 0x009e1000"
after changing something in fs, even when shutdown with halt.
I tested with:
mkfs.jffs2 -lqnp -s 2048 -e 131072 -r /opt/rootfs -o
/mnt/hgfs/share/spv/rootfs.jffs2
My flash is has page sizes of 2112 bytes (2048-byte data). Also the
erasesize given with cat /proc/mtd is
20000 (which is 131072 bytes).
Might this be a mdt driver or configuration problem in my kernel?
Regards
Arno
More information about the linux-mtd
mailing list