Kernel panic DiskOnChip /Newbie question

David Woodhouse dwmw2 at infradead.org
Mon Mar 5 07:39:10 EST 2001


m.gibson at esesixtech.com said:
> " DidnŽt read all bytes in flash_safe_read(). Returned 0 " 

The read/write/erase routines for the DiskOnChip hardware don't currently 
support reads/writes greater than one page, or erases greater than one 
eraseblock. You need to put a simple loop in to read/write multiple pages 
and erase multiple blocks when it's asked to do so.

The reason NFTL works OK is because it doesn't ask the hardware driver to 
do that.

Using JFFS on NAND flash isn't tested very aggressively yet.

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list