NAND Flash Device and JFFS2 support
Hi All,
I back ported mtd snapshot 20050416 codes to 2.4.26 for AMD Au1200. The NAND device could be identified and accessed via /dev/mtd/0 interface. I even could mount /dev/mtdblock/0, copy file to it and umount it. But there is so many warnings or ecc error messages!
So in order to properly use NAND Flash, how could I format and read/write data to it? I want to put Linux root file system on the NAND. Is it a right choice?
Thanks in advance for you suggestions and help!
Carl Liao
On Wed, 2005-04-20 at 22:47 +0800, carl liao wrote:
Hi All,
Quoted 3 lines
I back ported mtd snapshot 20050416 codes to 2.4.26 for AMD Au1200. The NAND device could be identified and accessed via
/dev/mtd/0
interface.
Quoted 1 line
I even could mount
/dev/mtdblock/0, copy file to it and umount it. But
there is
Quoted 2 lines
so many warnings or ecc error messages!
This is not normal that you see "so many warnings or ecc error
messages". Presumably you have problems with your driver.
So in order to properly use NAND Flash, how could I format and read/write
Quoted 2 lines
data to it?
flash_eraseall-j to format.
Please, investigate carefully web site at
http://www.linux-mtd.infradead.org/index.html
Quoted 1 line
I want to put Linux root file system on the NAND. Is it a right
choice?
Depends on your requirements.
JFFS2 is a generally good choice if:
* you need on-flight compression
* you need unclean-reboot tolerance
* your flash isn't large, say, not larger then 64 MiB
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.