This is the mail archive of the ecos-discuss@sourceware.org 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: Re : enable 8/16 bit flash in eCos


On Thu, Dec 21, 2006 at 08:18:47AM +0000, ayoub zaki wrote:
> hello,
> 

> No I have only one flash, but I have 2 different board one with
> Intel J3 (8bit) and other board with intel P30 (16bit), but my
> purpose is to use only one version of redboot (one binary) for
> both.

That boils down to the same problem. You need two different device
drivers in your binary at the same time, of which only one will be
used. The flash_v2 branch supports this. When the driver starts it
will probe the hardware to see if the device it is supposed to driver
exists. If not it does nothing, leaving the memory space free for the
second driver to control, if it probes successfully.

       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


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