This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Flash infrastructure rework
- From: Andrew Lunn <andrew at lunn dot ch>
- To: eCos Disuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 4 Aug 2004 21:13:34 +0200
- Subject: Re: [ECOS] Flash infrastructure rework
- References: <20040716120045.GE6045@lunn.ch>
> However in the background i took a step back and overhauled the whole
> flash infrastructure in what i hope is a clean and consistent API with
> all the features required:
>
> Multiple device drivers at the same time
> Multiple instantiations of the same driver
> Probing to detect what is actually on the board
> Support for boot block devices which have different size blocks
> Thread safe when used with the kernel
> Does not pollute the name space
> Optional backward compatible with old drivers
> Optional backward compatible with old API
> Able to support multiple JFFS2 filesystems
> Redboot to be able to access multiple devices
> Documentation!
This is about ready to go live. The question is how do we do
this. There is a danger there are bugs left which could brick
boards. ie destroy the bootloader and if you don't have jtag there is
no way to recover the hardware.
There are a few options:
I commit it and let people test it. If there are major problems we
undo the change while we debug the problem.
I put the code on a branch so that a few people can test it and so we
get a better idea how stable the code is with hardware i don't have
access to.
I can send patches to people who would like to test.
Suggestions welcome.
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