FAT file system on NAND flash memory

Josh Boyer jwboyer at gmail.com
Fri Apr 27 09:45:47 EDT 2007


On 4/27/07, Matthieu CASTET <matthieu.castet at parrot.fr> wrote:
> Hi,
>
> Josh Boyer a écrit :
> > 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.
> >
> But UBI could be used between nand and mtdblock ?

Yep, indeed it can.

josh




More information about the linux-mtd mailing list