This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Flash infrastructure rework
- From: vivek at employees dot org (Vivek Kumar)
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 6 Aug 2004 09:40:43 -0700 (PDT)
- Subject: Re: [ECOS] Flash infrastructure rework
Hi,
Some time back I wrote a generic cfi flash driver for our proprietary
operating
system. Since we were thinking of making a possible port to the eCOS from
our
proprietary operating system I made the api so that they could be easily
used
with ecos operating system. I was planning to clean up the API's and post it
online.
We have tested the flash drivers on following flashes and they seems quite
stable.
- Alliance
- AMD
- Atmel
- CSR/Fujitsu Flashes
- EON
- MXIC
- SST
Being new to eCOS Iam not really sure about the exact procedure for
submitting a
patch, But I'll be glad to share my code if you are interested.
-vivek
http://www.vivekkumar.net
> -----Original Message-----
> From: Andrew Lunn [mailto:andrew@lunn.ch]
> Sent: Wednesday, August 04, 2004 1:12 PM
> To: Doyle, Patrick
> Cc: eCos Disuss
> Subject: Re: [ECOS] Flash infrastructure rework
>
>
> On Wed, Aug 04, 2004 at 04:06:49PM -0400, Doyle, Patrick wrote:
> > > > Regardless, I might want to beta test it for you -- I have
> > > > been working with a board that has two different FLASH
> > > > devices on it. I'll have to give that one a little think.
> > >
> > > That would be great. That is exactly the sort of thing
> this new code
> > > is for.
> > >
> > > What are the two devices? I have drivers for strata and sst.
> > >
> > One is ths strata, the other (looking at ecos.db to refresh
> my memory) is
> > the AMD_AM29XXXXX driver.
>
> OK. Its actually quite easy to convert to the new driver API, so it
> should not take too long before you have a working system.
>
> > Plus, I want to rework my strata flash patches
> > that I posted some time ago (and have not yet been
> accepted, because they
> > were so extensive) to be an entirely new flash device
> driver, a cfi_flash
> > driver. Perhaps you have already accomplished that for me
> in your new
> > strata driver.
>
> No, we have just ported the existing strata driver to the new API. I
> was thinking about writing a cfi_flash driver, but i want to get my
> current code committed first. Thats also why i not looked at your
> strata patches.
>
> > Of course, now that you mention strata, I could probably
> beta test your
> > patch on our two boards as well.
>
> Great. Do you have jtag hardware to recover them if it all goes wrong?
>
> Andrew
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss