[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    Re: [uClinux-dev] PATCH: speedup of flash writing (cfi_cmdset_0002.c)
From:       Jamie Lokier <jamie () shareable ! org>
Date:       2006-04-27 12:30:09
Message-ID: 20060427123009.GB30276 () mail ! shareable ! org
[Download RAW message or body]

Erwin Authried wrote:
> Am Donnerstag, den 27.04.2006, 12:01 +0200 schrieb Falk Brettschneider:
> > > --- Ursprüngliche Nachricht ---
> > > Von: Erwin Authried <eauth@softsys.co.at>
> > >
> > > have you checked the latest MTD code if that isn't supported already?
> > Hi Erwin,
> > "Browse CVS" says the last change of cfi_cmdset_0002.c was 8 months before.
> > My cvs-update is newer. If you grep the file for "25" or "multi" or such
> > things you'll see multi-byte write isn't implemented. You'll just find
> > bypass mode (which is deactivated!) and slow 16bit-writing.
> > 
> > Cheers, F@lk
> 
> Hello Falk,
> 
> I was talking about the actual mtd-2.6 source.
> 
> http://git.infradead.org/?p=mtd-2.6.git;a=tree
> 
> If you look at drivers/mtd/chips/cfi_cmdset_0002.c, you will see that
> write buffer mode is supported (function do_write_buffer). Probably that
> can't be used 1:1 in 2.4, but it may still save some work.

It's possible to use somehow with 2.4, and a big speedup.  The Sigma
Designs 2.4.26 tree that I have here includes a patch to do buffered
cfi_cmdset_0002 writes, adapted from some version of the 2.6 mtd code.
It works quite well.  (Though there are problems with erases, which we
had to fix).

-- Jamie
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic