public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Rodel Miguel <rodelfmiguel@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How To Register Interrupt Routines in ARM920T?
Date: Wed, 8 Dec 2004 14:41:33 +0800	[thread overview]
Message-ID: <698a2fda0412072241b442444@mail.gmail.com> (raw)

Hi All,

I am porting U-Boot to a custom board (ARM920T) and I have to do
something about the UART (ns16550.c) driver to support (I know WD
would disagree with this :p) XON/XOFF.  I have to do this because my
board can support only < 19200 baudrates.  At 19200 baudrate, I have a
functional serial console but downloading binaries using loadb, kermit
would always say that the remote host is not reponding (ERROR: Remote
Kermit Not Responding).  I debugged this on the getc level and
verified that my board's U-Boot can accept the first few data from my
PC's kermit and then the loadb function hangs, i.e. does not accept
any data.  I think this is because my UART's FIFO is not handled well,
and probably needs software flow control.

How do I register my interrupt routine that would send XOFF data to
the PC's kermit whenever an UART trigger (probably when RXRDY pin from
NS16550 becomes LOW) occurs.  The trigger is of course asserted when
the FIFO buffer reaches a certain threshold.  I saw the interrupt.c
implementation in cpu/arm920t/ but didn't get the information I was
looking for, i.e. registering my interrupt routine.  Please help me
with this.

Thank you very much for your time.

Best Regards,

Rodel Miguel

             reply	other threads:[~2004-12-08  6:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08  6:41 Rodel Miguel [this message]
2004-12-08  8:12 ` [U-Boot-Users] How To Register Interrupt Routines in ARM920T? Anders Larsen
2004-12-08  9:10 ` Wolfgang Denk

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=698a2fda0412072241b442444@mail.gmail.com \
    --to=rodelfmiguel@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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