JFFS2 peoblems with K3 strata flash on Dalhart
Gu Susan-w15879
w15879 at motorola.com
Wed Aug 7 10:28:08 EDT 2002
Does K3 (and Dalhart) be configured as "burst" read mode when system is reset?
-----Original Message-----
From: David Woodhouse [mailto:dwmw2 at infradead.org]
Sent: Wednesday, August 07, 2002 10:20 PM
To: Yuan, Cain
Cc: linux-mtd at lists.infradead.org
Subject: Re: JFFS2 peoblems with K3 strata flash on Dalhart
cain.yuan at intel.com said:
> --- 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?
Er, I don't think there have been significant changes since then. Updating
to the latest code certainly can't hurt though.
The problem is that the chip write() call is returning zero (i.e. no error)
but is setting the number of written bytes to zero. That doesn't make sense
-- if it didn't write all the bytes we asked it to, then there must have
been an error.
This chip supports buffer writes, doesn't it? Can you add some extra
'printk' calls in cfi_intelext_write_buffers() to try to show what's
happening to 'retlen' and when it returns.
--
dwmw2
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
More information about the linux-mtd
mailing list