JFFS2 peoblems with K3 strata flash on Dalhart

Yuan, Cain cain.yuan at intel.com
Wed Aug 7 08:59:23 EDT 2002


cain.yuan at intel.com said:
> 	According to your email  I  rebuild a JFFS2 image with the   block
> size 0x10000,  same as the datasheet saids. but the problem still
> exist.  First bootup will success without any error message. but when
> I reset the board and boot it again, many errors occurs.

Looks like you should be using 0x20000. 0x10000 is fine but triggers 
harmless messages about 'Empty block at 0x.... '. I think you were using 
0x40000 before which would have caused problems.
~~~~~~~~~~  yes, I am using 0x40000 before.


The other problem still remains, and isn't related, though...

> Write of 68 bytes at 0x0035e908 failed. returned 0, retlen 0
> Not marking the space at 0x0035e908 as dirty because the flash driver
returned retlen zero

The hardware driver seems broken -- it's returning success but not actually 
reporting that it's written any data. What driver, what version?

---  Since using CFI  with Ks flash, I think  it is CFI driver and
cfi_cmdset_001.c,  the  code   reside in  linux2.4.18-rmk6-pxa2.
      Should I download  newest   code from CVS server and merge them into
the   kernel src tree?


Thanks!!



--
dwmw2




More information about the linux-mtd mailing list