This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Now What (New Port)
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Michael Kelly <mike at cogcomp dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 21 Jan 2002 18:53:31 +0000
- Subject: Re: [ECOS] Now What (New Port)
- Organization: Red Hat UK Ltd.
- References: <5.1.0.14.2.20020121060813.03555e60@mail.cedata.com>
Hi Mike,
Michael Kelly wrote:
>
> I have my ecos/redboot EPROM all burned in. I get past
> the hardware init and pci init (I print simple messages
> to a character LCD display). I get a single plus sign '+'
> out of port 0, and then.... nothing. :-( So now where do
> I look? I notice that the port I copied is using a hal_diag.c
> file to implement a serial driver, even though the generic
> 16x5x driver is also being setup. I see that most of the
> ports do this so I did as well.
There are two serial "drivers": one polled, defined in the HAL
(hal_diag.c). And the other interrupt driven. This latter one is often
split into two packages to allow people to use "generic" 16x5x driver
infrastructure, and then another package instantiates it for particular
hardware. For RedBoot, you are only concerned with the polled stuff though.
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