Skip to contentSkip to conversation

Reg:FAT support for NAND

DISCUSSION veena s 2 participants 2 messages May 12, 2008 – May 15, 2008 Memory technology devices (MTD)

lore
Share & tools
lore

veena s

author
#0 lore raw

Hi ,

I want to Use FAT Filesystem for NAND in the Linux Kernel ver-2.6.10.
We have tried by enabling NFTL layer . But we are facing the following problem to mount with FAT.....

1 ) nftl_format : utility is used to format the device requires the erase size to be 8k bytes, but our device has erase size of 128kbytes.so nftl_format is not able to recognise the erase size.

2 ) We have created the device nodes as /dev/nftla and tried to mount FAT over it using the following command.

mount -tvfat /dev/nftla /mnt/nand
but above command is failing.

So please suggest whether the above steps are correct.?
and help us how to use FAT over NAND.

Thanks

Planet Earth is in the hot seat. Know more - http://in.search.yahoo.com/search?&fr=na_onnetwork_mail_taglines&ei=UTF-8&rd=r1&p=global+warming

#1 lore raw

In order to support vfat filesystem on raw nand flash, the new FTL should be developed. The simple FTL(mtdblock.c) that mtd provide has a lot of shortcomings or bugs, such as no BBM, no wear-leveling, not correctly handle the ecc error case, etc.

2008/5/12 veena s <[email protected]>:

Quoted 35 lines

Hi ,

I want to Use FAT Filesystem for NAND in the Linux Kernel ver-2.6.10.
We have tried by enabling NFTL layer . But we are facing the following problem to mount with FAT.....

1 ) nftl_format : utility is used to format the device requires the erase size to be 8k bytes, but our device has erase size of 128kbytes.so nftl_format is not able to recognise the erase size.

2 ) We have created the device nodes as /dev/nftla and tried to mount FAT over it using the following command.

mount -tvfat /dev/nftla /mnt/nand
but above command is failing.

So please suggest whether the above steps are correct.?
and help us how to use FAT over NAND.

Thanks

Planet Earth is in the hot seat. Know more - http://in.search.yahoo.com/search?&fr=na_onnetwork_mail_taglines&ei=UTF-8&rd=r1&p=global+warming

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/