Driver howto? Can´t write to nandflash.

Thomas Gleixner tglx at linutronix.de
Thu Mar 3 03:25:13 EST 2005


On Wed, 2005-03-02 at 23:02 +0000, extabe at bredband.net wrote:
> I have made a nand flash driver whitch find my nandchip and i can use flash_rase whitout errors. I can allso mount /dev/mtdblock0 and put jffs on it, but when I try to write data on I always get:
> 
> "nand_write_ecc: Attempt to write not page aligned data
> JFFS: jffs_write_node: Failed to write, requested 64, wrote -22"

JFFS is not NAND FLASH aware. Use JFFS2 instead.

tglx






More information about the linux-mtd mailing list