This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Re: Romboot in i386 (continued) - comms. problems
- To: Alex Lennon <ajlennon at arcom dot co dot uk>
- Subject: RE: [ECOS] Re: Romboot in i386 (continued) - comms. problems
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Mon, 13 Aug 2001 05:10:56 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 13-Aug-2001 Alex Lennon wrote:
>>>RedBoot can only use polled drivers and is not set up to use the "normal"
>>>serial I/O in eCos.
>>>
>>>Perhaps it's just a matter of not using the FIFOs appropriately in the
>>>HAL [diag] polled routines?
>
> Yes - they don't seem to be switched on by default. I decided that if I'm
> going to have to implement ring buffers to handle the FIFOs I might
> as well go the whole hog and try to provide hooks to the 16x5x code.
>
> Is this likely to turn into a time consuming operation do you think? One
> thing I'm concerned about is that IDTs are a bit of at unknown at the
> moment to me. I kind of assumed eCos got these set up correctly
> so that I wouldn't have to ?
>
Try looking in the file ".../hal/i386/pcmb/current/src/pcmb_serial.c"
You'll see that the FIFOs are explicitly *not* turned on. You can experiment
with that code a bit and see what works for you.