Driver howto? Can´t write to nandflash.

extabe at extabe at
Wed Mar 2 18:02:48 EST 2005

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"

Do I need to make my own nand_write_ecc function?

I´m kind of new to this flashin thing and don´t know where to start my debugging. 


More information about the linux-mtd mailing list