Still don’t have a Meld Account?
Join now to be a part of the worlds largest embedded linux community!
Join Now!What NAND file system does MVL6 support best
Patrick ONeil - September 23, 2011
We have 256MB of non-managed NAND flash.
JFFS2 would work, and we have experience with it in a NOR environment, but legend has it that its performance suffers as the device size increases.
YAFFS seems to get the most Google hits, but is not part of the Linux mainline.
UBIFS seems to be in the Linux mainline.
LogFS also gets some press?
Suggestions?
Pat O'Neil
Hughes Network Systems
Germantown, Md.

Patrick, you are right on.
Patrick, you are right on. JFFS2 should be avoided for NAND flash of that size exactly as you pointed out. As for YAFFS2, it has been around much longer tha UBIFS. It is not surprising that there are more Google hits. I have not looked at YAFFS2 recently, but I recall that there is a compatibility layer. It should not take too much effort to get YAFFS2 running on your kernel. UBIFS is a relatively new, but we are seeing many projects that started to use it. UBIFS would be the recommend filesystem moving forward.
Regards,
Steve
Be careful
Hi Patrick,
There are a lot of reports on the internet that A is better than B or C and such. Don't immediately believe one over the other - most measurements are biased and probably don't work for what you want to know. You're better of measuring yourself!
JFFS2 has received a 'fix' to reduce the mount time considerably - if properly unmounted. That makes JFFS2 now fall roughly in the same category as YAFFS2.
Note that *all* flash file systems have a O(n) dependency on flash size, it's just the factor in front that is different between them.
UBIFS became useful around 2.6.34 - don't use it in kernels before that version. The FS is still in flux - later is better ;-)
LogFS - last thing I've heard from Joern is that it is not for use in real projects yet.
Final contestant that I want to mention is Datalight - they're commercial but their solution really works, is fast and is better at wear levelling (guarantees!).
Klaas