public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: myuboot at fastmail.fm <myuboot@fastmail.fm>
To: u-boot@lists.denx.de
Subject: [U-Boot] mips board with no output from console
Date: Mon, 28 Sep 2009 18:59:13 -0500	[thread overview]
Message-ID: <1254182353.7952.1337072463@webmail.messagingengine.com> (raw)

I am trying to upgrade my u-boot from 2008.10 to 2009.06. So I used the
buildroot 2009.06 to build the tool chain for my mips32 board as well as
u-boot. I also copied the previous u-boot initialization code to
initialze timer, serial port, ram and etc from u-boot 2008.10 to
2009.06. My previous version of u-boot-2008.10 was working, but after
porting it over to u-boot 2009.06, there is no output from console at
all. I used bdi hardware debugger to debug it, and found that u-boot is
stuck in file drivers/serial/ns16550.c function NS16550_putc. There is a
while loop there :
while ((com_port>lsr & LSR_THRE) == 0);

My understanding is the line here is to wait for the hardware register
(LSR_THRE) to acknowledge the input character was received by the
hardware.

But I don't have any clue how to fix this issue. I think I have
initialized the serial port the same way as I did for u-boot 2008.10.
Can some one give me some suggestions on what to check for?

Thanks.  

             reply	other threads:[~2009-09-28 23:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 23:59 myuboot at fastmail.fm [this message]
2009-09-29  0:55 ` [U-Boot] mips board with no output from console Jerry Van Baren
     [not found]   ` <1254264169.23326.1337258915@webmail.messagingengine.com>
2009-09-29 23:37     ` Jerry Van Baren

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=1254182353.7952.1337072463@webmail.messagingengine.com \
    --to=myuboot@fastmail.fm \
    --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