From mboxrd@z Thu Jan 1 00:00:00 1970
Received: from mail-vw0-f49.google.com ([209.85.212.49])
by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux))
id 1Qlvnv-00078N-JZ
for linux-mtd@lists.infradead.org; Wed, 27 Jul 2011 04:33:09 +0000
Received: by vws8 with SMTP id 8so1012462vws.36
for
At the moment there are only a few filesystems, which support NAND
+At the moment there are only a few filesystems which support NAND:
JFFS2 and NTFL are Open Source, while TRUEFFS is a proprietary solution. +
JFFS2, NTFL, and UBIFS are Open Source, while TRUEFFS is a proprietary solution. SmartMedia DOS-Fat is a specification from SSFDC forum. It is somewhat open under a non disclosure agreement with Toshiba, who owns all rights on this specifications. NTFL is designed for the usage of DiskOnChip devices. JFFS2 supports raw NAND chips and SmartMediaCards at the moment. A JFFS2 support for DiskOnChip devices, based on the NAND code, is planned. There are some other Open Source projects for NAND filesystem -support, but there's no other working solution than JFFS2 and YAFFS at the moment of this writing. +support, but there's no other working solution than JFFS, YAFFS, and UBIFS at the moment of this writing. YAFFS is available from YAFFS-Homepage. YAFFS is faster than JFFS2 and consumes less RAM, JFFS2 provides on the fly file compression and -decompression, which is very helpful for small FLASHs.
+decompression, which is very helpful for small FLASHs. UBIFS provides compression similar to JFFS2, but +is usually a better choice for large NAND flash chips (see here for more +information on UBIFS, including some notes about how it compares to JFFS2).There is currently no support for the wide spread SmartMedia DOS-FAT filesystem, mainly because it's not a reliable filesystem for industrial usage. It's ok for multimedia applications. The hardware support layer is designed to support an implementation of SmartMedia DOS-FAT. There are some efforts to implement it, but it's in an early stage. There are a couple of SmartMedia Card adaptors for USB, PCMCIA, FireWire ... with Linux drivers available, which support the SmartMedia DOS-FAT.
-JFFS2 and YAFFS include bad block management, wear leveling, error correction and provide +
JFFS2, YAFFS, and UBIFS include bad block management, wear leveling, error correction and provide reliable filesystems for industrial use on top of NAND Flash.
@@ -255,22 +258,22 @@ pages this byte is reservedThe latest changes to JFFS2 and the underlying NAND code are not in the -kernel code at the moment. The latest code is available from -CVS and daily snapshots
+NAND support is now present in the upstream kernel code, including JFFS2 +and UBIFS. The latest code is also available from +GIT and daily snapshots.
-There are four layers of software
+If using JFFS2, there are four layers of software:
the MTD driver just provides a mount point for JFFS2. The generic NAND +
The MTD driver just provides a mount point for JFFS2. The generic NAND driver provides all functions, which are necessary to identify, read, write and erase NAND Flash. The hardware dependent functions are provided by the hardware driver. They provide mainly the hardware access information and -functions for the generic NAND driver. For YAFFS applies the same.
+functions for the generic NAND driver. The same applies for YAFFS.Please see the NAND section in MTD FAQ's
+Please see the NAND section in MTD FAQs
JFFS2 and NTFL are located on this website.
+
JFFS2, NTFL, and UBIFS are located on this website.
YAFFS is located at YAFFS-Homepage.
JFFS2 is maintained by David Woodhouse
The generic NAND driver is maintained by Thomas Gleixner
-Please don't contact them direct. Ask your questions on the -mtd-mailing-list.
+UBIFS is maintained by Artem Bityutskiy
+Please don't contact them directly. Ask your questions on the +linux-mtd mailinglist.
Any suggestions, improvements, bug-reports and bug-fixes are welcome
-Some newer chips make the first page available for reading after power up. This -could be helpful for starting a small 256/512/2048 byte boot-code. At the time -of this writing there is no tested implementation of this. +Some chips have internal circuitry which is capable of reading and booting from +the first page of NAND after power up. This allows you to boot a small +(e.g. 256/512/2048 byte) boot code, which can initialize SDRAM, then read and +execute a more complete bootloader from subsequent NAND blocks. An example is +U-Boot, which can be built as a 2-stage "initial" and "secondary" bootloader +for use with NAND.
-- 1.7.4.1