Discussion:
[Newbie] Few Queries related to JFFS2
S Ashok
2004-12-03 15:10:56 UTC
Permalink
Hi all,

I am working on embedded project where we are using
root filesystem with jffs2 filesystem type( 4MB NOR
FLASH). I have few queries related to it.

1. Is the erase block size specified while creating jffs2
image should be same as that of flash block size ?

2. I have read from the mailing list that free space has to
be left for proper functioning of GC ( hideing them from
userspace ). Is there any number ( one or two erase block
) ?


With Thanks,
--
Ashok S.



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com
Josh Boyer
2004-12-03 15:59:09 UTC
Permalink
Post by S Ashok
Hi all,
I am working on embedded project where we are using
root filesystem with jffs2 filesystem type( 4MB NOR
FLASH). I have few queries related to it.
1. Is the erase block size specified while creating jffs2
image should be same as that of flash block size ?
In general, yes.
Post by S Ashok
2. I have read from the mailing list that free space has to
be left for proper functioning of GC ( hideing them from
userspace ). Is there any number ( one or two erase block
) ?
JFFS2 figures this out when it mounts. The old hard coded method used 5
eraseblocks. To be safe, I would recommend starting with 5 free.

IIRC, JFFS2 will just mount the filesystem read-only if it doesn't have
enough free eraseblocks.

josh


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com

Loading...