public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nick Garnett <nickg@redhat.com>
To: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Re: Romboot in i386 (continued) - comms. problems
Date: Mon, 13 Aug 2001 04:30:00 -0000	[thread overview]
Message-ID: <wwgd760fbqr.fsf@balti.cambridge.redhat.com> (raw)
In-Reply-To: <XFMail.20010813043922.gthomas@redhat.com>

Gary Thomas <gthomas@redhat.com> writes:

> On 13-Aug-2001 Alex Lennon wrote:
> > Looking at these serial drivers it seems to me that somebody has implemented
> > a polled mode schema on both Rx and Tx. Could somebody tell me if this is
> > correct ?
> > 
> > If so, then before I dive straight in and rewrite the code, is there any
> > reason
> > I shouldn't just use the 16x5x drivers already in eCos ?
> > 
> 
> 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?

Yep.

Alex, bear in mind that the rom boot stuff is very much a work in
progress. I only ever took it as far as entering ecos/Redboot before
being sidetracked onto something else. To be honest I'm surprised it
works at all in a real board, I only ever ran it on a simulator.

One part of the job that was never done is the setup of the on-board
devices from scratch. Much of this code still expects the devices to
have been initialized by the BIOS.

So I suspect that the serial devices are still in whatever mode they
come up in on reset. This almost certainly has the FIFOs
disabled. Adding code to fully initialize the devices, including
turning on the FIFOs, should make things work better.



-- 
Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK

      parent reply	other threads:[~2001-08-13  4:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13  3:21 Alex Lennon
2001-08-13  3:39 ` Gary Thomas
2001-08-13  3:52   ` Alex Lennon
2001-08-13  4:11     ` Gary Thomas
2001-08-13  4:23       ` Alex Lennon
2001-08-13 10:45         ` Jonathan Larmour
2001-08-14  5:06           ` Alex Lennon
2001-08-14  5:32             ` Jonathan Larmour
2001-08-13  4:30     ` Nick Garnett
2001-08-13  4:30   ` Nick Garnett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wwgd760fbqr.fsf@balti.cambridge.redhat.com \
    --to=nickg@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).