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: FIS access


On Fri, 2003-01-24 at 06:27, Knud Woehler wrote:
> Gary Thomas wrote:
> 
> > On Fri, 2003-01-24 at 05:46, Knud Woehler wrote:
> > 
> >>Hi
> >>and another patch....
> >>This patch makes the FIS table readable from an application. Although it 
> >>initialize the /dev/flash1 device from FIS.
> >>
> >>
> > 
> > Sorry, but I don't like this.  We have always expected that 
> > any application access to RedBoot data (FIS, FCONFIG, etc),
> > would be via a virtual vector interface.  Doing it like you
> > have duplicates the code and the application and RedBoot 
> > could be out of sync (e.g. your RedBoot could have the
> > directory in some other block, or have combined FIS/FCONFIG,
> > or many other choices)
> > 
> > The right way to solve this will be to define proper interfaces
> > to the RedBoot functions, using the VV methods.
> > 
> > 
> OK. I will change that.
> 

Thanks.  I appreciate your flexibility here - we all want eCos
to remain as sleek and performant as possible and this sort of
cooperation is what it takes.

If you have questions about how I think this should be done (beyond
the small explanation above), just ask.  Try looking at the interface
to the fconfig data which is already exported from RedBoot.  This
may help lay the groundwork.

Again, thanks.

n.b. I copied ecos-patches since that's where this started and
it's always good to have such discussions out in the open.  Also,
there will be a public archive so we can always go back and review.

-- 
------------------------------------------------------------
Gary Thomas                 |
MLB Associates              |  Consulting for the
+1 (970) 229-1963           |    Embedded world
http://www.mlbassoc.com/    |
email: <gary@mlbassoc.com>  |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------


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