This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: RE: AT91 patches
- From: Doug Fraser <dfraser at photuris dot com>
- To: 'Jonathan Larmour' <jifl at eCosCentric dot com>
- Cc: "'Koeller, T.'" <Thomas dot Koeller at baslerweb dot com>, "ecos-discuss (E-Mail)" <ecos-discuss at sources dot redhat dot com>, Doug Fraser <dfraser at photuris dot com>
- Date: Thu, 30 Jan 2003 11:12:05 -0500
- Subject: RE: [ECOS] RE: AT91 patches
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