Re: NAND flash

Steven J. Hill
2001-10-16T15:06:56Z

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
wrote
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.
I
and another person also did a fair amount of stress testing. That is where
things
currently stand.

SmartMedia is an entirely different beast in that has a some hardware between
the
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
specifications
for SmartMedia and then write a SmartMedia driver. Once that is done, you could
then
work on the task of getting JFFS2 working. IIRC though, JFFS2 needs
modifications
to work with NAND flash. Myself and David could work out what changes need to be
in
fairly short order. Hope that helps.

-Steve

--
Steven J. Hill - Embedded SW Engineer