NAND flash

Steven J. Hill sjhill at
Tue Oct 16 11:06:55 EDT 2001

nagaraj trivedi wrote:
> can I use the MTD NAND FLASH driver for smartmedia along with the jffs2? Does jffs2
> work with the MTD NAND flash driver ?
OK...let's break this into small pieces. First of all, the NAND FLASH driver was
written for raw NAND flash chips that were IO mapped into the address space. I
those drivers originally. Next, I got JFFS working on top of the NAND MTD driver
to the point that it could mount, read, write, delete, remove directories, etc.
and another person also did a fair amount of stress testing. That is where
currently stand.

SmartMedia is an entirely different beast in that has a some hardware between
CPU and the NAND flash chips inside. It is similar to Disk-On-Chip devices which
use NAND/NOR flash with wear-leveling, error correcting and other things done
transparently in the hardware. You would need to get the low-level
for SmartMedia and then write a SmartMedia driver. Once that is done, you could
work on the task of getting JFFS2 working. IIRC though, JFFS2 needs
to work with NAND flash. Myself and David could work out what changes need to be
fairly short order. Hope that helps.


 Steven J. Hill - Embedded SW Engineer

More information about the linux-mtd mailing list