Problem writing to NOR flash
Andy Hawkins
a.hawkins at cabletime.com
Mon Jul 26 10:49:26 EDT 2004
Hi,
On Mon, 2004-07-26 at 15:35, Dmitry A. Fedorov wrote:
> > Can I have a copy of these patches then?
>
> Some time later (a few days).
Thanks for that.
>
> > Have you had any problems writing to NOR?
>
> No, after upgrade from the MTD snapshot.
> There were problems with erase (ioctl call did not wait of
> completion of erase operation) and jffs2 did not allowed to
> write. Now it works properly.
Ah, should have been more clear. This is a 'raw' write to the NOR
device. It appears that it's crashing inside do_xxlock_oneblock in
cfi_cmdset_0002.c (where it does the 'cfi_write').
There's a comment at the top of the code saying that it's very chip
specific, and hasn't been tested on an interleaved device (which I think
mine is).
Anyone help?
Thanks.
Andy
More information about the linux-mtd
mailing list