FAT for NAND Flash
Paul
paul at oz.net
Thu May 16 16:34:29 EDT 2002
Thank you for your reply, David.
Perhaps I used the wrong terminology when I said "FAT12 translation",
but doesn't the firmware on a USB SmartMedia reader have to be able to
parse the SSFDC Physical Format Specification, such as the CIS (Card
Information Structure)? This is the part that seems to be missing
in sddr09.c, and the upper level stuff (e.g. fs/fat/inode.c) only handles
pure FAT12. In that case, sddr09.c isn't as useful to us as previously
suggested.
Thank you for your patience. :)
-- Paul
On Thu, 16 May 2002, David Woodhouse wrote:
> paul at oz.net said:
> > Michael and I have been looking at the SDDR-09 driver. I could be
> > wrong, but as far as I can tell, the sddr09.c code does not grok
> > FAT12. It only seems to have generic SCSI commands sent to the USB
> > SCSI emulation layer (i.e. it seems to treat SmartMedia cards as
> > generic block devices). I believe the actual FAT12 translation
> > occurs in the firmware of the USB SmartMedia reader?
>
> No.
>
> SmartMedia is just a translation layer. It emulates a block device.
>
> You may use a FAT filesystem on that block device. Most people do. But why
> do you expect the driver to have any knowledge of FAT? Does the floppy disk
> driver? Does the IDE disk driver?
>
> The FAT (or ext2, or reiserfs, or whatever) file system is an entirely
> separate layer from the block device which is provided by the SmartMedia
> driver.
>
More information about the linux-mtd
mailing list