This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot driver vs eCos driver
- To: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>
- Subject: Re: [ECOS] Redboot driver vs eCos driver
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 11 Oct 2001 20:46:35 +0100
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>,Nick Garnett <nickg at redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <B1F6452C89AFD411AE0800A0CC734C2301510B@EMAIL1>
Fabrice Gautier wrote:
>
> Hi,
>
> It appears that there is some ide driver and ext2fs driver in Redboot (for
> x86) that allows you to load a file from a cd or a ext2 partition. it
> doesn't seem those driver could be used in eCos. I am wrong and if not what
> do you think it would take to be able to integrate that as an eCos driver ?
We had discussions about this internally. One noticeable omission in eCos
that would be a prerequisite is a proper block device layer, allowing for
interrupt driven I/O. The RedBoot driver doesn't need or want interrupt
driven I/O - too much overhead, although a decently written layer would
hopefully avoid be able to configurably avoid that.
After that of course you want to integrate such an FS into the io/fileio
framework, and doing that in a purely polled way, and read-only, is much
much easier than read-write and allowing overlapping I/O operations and the
possibility of DMA.
But anyway, the first stage would be the block device layer. Nick, I
believe that you may have some opinions on this?
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine