Newly-erased Block...

Calò Massimo m.calo at ctsgroup.it
Mon Aug 1 04:38:52 EDT 2005


> 
> JFFS2 issued the erase command then found that the block 
> contains some 
> trash. That's not JFFS2's fault. Dig your flash driver/hardware.
> 

Artem,

	where is the flash driver? Under
uClinux-dist/linux-2.4.x/drivers/mtd/chips?

Is this the low-level driver : cfi_cmdset_0002?

Under /include/linux/mtd/cfi.h I saw that "cfi_write" calls "map->write16()"
: where is write16 defined ? 

...Or do I have to check blkmem.c : flash_amd16_erase, flash_amd16_write,
flash_amd16_writeall?

I'm sorry for these questions but I don't have the possibility to debug the
kernel.

Thanks for your help!

	Massimo.





More information about the linux-mtd mailing list