[ECOS] RE: AT91 patches

Doug Fraser dfraser@photuris.com
Thu Jan 30 16:12:00 GMT 2003


Agreed.

One of the drivers I used did allow the
single FLASH array to be chopped into two sections,
one section running in the large block mode and the
other in small block mode, but you had to run
two separate threads, so you had, in effect,
two FFS running. The only difficulty was that the
two threads had to coordinate access to the state
machine to control erase/read/write modes.

So if the application area was running an erase in the
large block arena, and the drivers wanted to read from
the small block arena, you had to suspend/read/resume.
Separate FFS, but the same chip, and the same control
logic. Not that hard, you just have to be careful to avoid
deadlock situations.

I am not sure (again, lack of time right now) if JFFS2
can support the above situation. Does anybody know if
that is supported? It is useful for things like 
boot block flash....

Doug

> -----Original Message-----
> From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
> Sent: Thursday, January 30, 2003 10:29 AM
> To: Doug Fraser
> Cc: 'Koeller, T.'; ecos-discuss (E-Mail)
> Subject: Re: [ECOS] RE: AT91 patches
> 
> 
> 
> For something like JFFS2 smaller sector sizes don't give you 
> anything so 
> that makes sense.
> 
> But at a driver level it's good to support for reasons like 
> efficient use 
> for configuration data (e.g. Redboot's FIS dir and fconfig data).
> 
> Jifl
> -- 
> eCosCentric       http://www.eCosCentric.com/       
> <info@eCosCentric.com>
> --[ "You can complain because roses have thorns, or you ]--
> --[  can rejoice because thorns have roses." -Lincoln   ]-- 
> Opinions==mine
> 

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list