FAT file system on NAND flash memory
Seongsu Lee
senux at senux.com
Thu Apr 26 13:59:02 EDT 2007
On Thu, Apr 12, 2007 at 08:55:23AM -0500, Josh Boyer wrote:
> On 4/12/07, Seongsu Lee <senux at senux.com> wrote:
> > Hi,
> >
> > In my knowledge, mtdblock.c must be used to use
> > FAT filesystem on bare NAND flash memories
> > because NFTL is made only for a specific hardware,
> > DiskOnChip.
> >
> > (Layer 0) VFS
> > (Layer 1) FAT (or EXT2, EXT3)
> > (Layer 2) mtdblock.c (nftl.c can be used only with DiskOnChip)
> > (Layer 3) NAND flash memory driver (vendor specific)
> > (Layer 4) Physical NAND flash memory
> >
> > Please let me know if it is wrong.
>
> That layering is correct, but your results will be bad. mtdblock
> doesn't handle bad blocks. So if you have one in the middle of your
> filesystem, it will break things. You need some kind of translation
> layer if you're going to use NAND.
Thank you for the reply.
Just one more question.
Could you tell me the reason that there is no translation layer code
in MTD for bare flash memories?
(Because of patent or copyright? or technical reason? I wonder.)
--
Seongsu's personal blog - http://www.senux.com/
Beauty may be skin deep, but ugly goes clear to the
bone. -- Redd Foxx
More information about the linux-mtd
mailing list