This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: SH3 Redboot startup
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Chris Blood <cblood at ad-holdings dot co dot uk>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 26 Nov 2003 17:32:55 +0000
- Subject: Re: [ECOS] SH3 Redboot startup
- References: <3FC33F02.7030501@ad-holdings.co.uk><m3brqz8klh.fsf@miso.calivar.com> <3FC4D5EE.2010302@ad-holdings.co.uk>
Chris Blood <cblood@ad-holdings.co.uk> writes:
> Thanks for the response. I have traced the problem to
> packages\redboot\v2_0\src\io.c, function mon_read_char_with_timeout().
> Using option CYGPKG_REDBOOT_ANY_CONSOLE, the function loops checking
> every console for return data but compares the return character with
> NULL. This implies the SH SCIF drivers are returning TRUE even if there
> is no data in the FIFO. I'll investigate further.
Check that you are applying the right serial driver to the right
device, the SCI and SCIF devices are similar but not identical. The
wrong driver might half-work in the sort of way you are seeing.
Another possibility is that the microsecond timer is not working
properly and the call in cyg_hal_plf_sci[f]_getc_timeout() is never
returning.
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
> <title></title>
> </head>
> <body text="#000000" bgcolor="#ffffff">
> <meta http-equiv="Content-Type"
> content="text/html;charset=ISO-8859-1">
[Just an aside: I'm not sure wether you have changed in your mailer
setup, but this message came through in HTML only, your previous
message was in plain text. We like to keep the ecos lists plain text
if possible, and I know that some spam filters will reject any
HTML-only mail. You're using Mozilla so it should be easy to make it
do text only.]
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss