This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Intel FLASH


On Fri, 26 Sep 2003 10:50:57 -0400
"Doyle, Patrick" <WPD@dtccom.com> wrote:

> Hmmm, from a (very) brief look at the, and extrapolating wildly from
> your email, it appears that perhaps the strata driver was designed to
> automatically work with a variety of Intel devices.  I have worked
> with the 28Fxxxx and the AMD drivers in the past, where I had to fill
> in a table with the device ID and other interesting parameters.  I
> don't see a similar table for the strata.
> 
> Pardon me for asking, but does this mean I should have been able to
> select the "strata" driver and expect it to work without any changes? 
> (Note my use of the word "expect" up there -- if I were to assume that
> your changes to the driver to specify the block address were in
> place).
> 
> If that is the case, then I'm with you -- why are there different
> drivers? What are the costs & benefits of using one driver over the
> other?

I think the reason for the variety is historical, but the ecos folks
surely know better. I used the 28F myself but Gary once said that the
strata is the one to go with in the future. It has got some CFI
support but not complete. It detects block sizes at least. And yes if
you select the strata now you still need a patch to detect it. I'll
attach it to this mail although not all of it is ready for
inclusion. In strata.c I just replaced the old lookup table with the one
for wireless parts since the block sizes have changed. CFI would be the
ideal way. Also in strata.h I removed some conditionals as I defined
this part as being bootblock but in the same time advanced.
The changes in unlock are there so you it turns unlock block 0 into 8
little unlock just like erase does it.I did not do it for lock though ,
I didn't need it :)

HTH and I'll clean these up soon and send them in

Jani


Attachment: st.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]