linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: swamydp <swamydp@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: RE: linux 2.6 hangs at __delay function on Viretx 4 board
Date: Tue, 3 Jun 2008 20:00:30 -0700 (PDT)	[thread overview]
Message-ID: <17638198.post@talk.nabble.com> (raw)
In-Reply-To: <20080528140800.9ACE756007F@mail97-wa4.bigfish.com>


Hi John

I am using UARTLITE as serial console. I do not have license for UART 16550.
I have enabled the drivers for uartlite in menuconfig while configuring the
kernel. I have tested all combinations for the kernel command line - tty0,
ttyUL0, ttyl0, ttyS0 but could not get uartlite to output kernel printk
messages. 

Since I am using uartlite , the following settings are turned off in
menuconfig

CONFIG_SERIAL_8250=n
CONFIG_SERIAL_8250_CONSOLE=n

I have seen many posts claim that uartlite seems to work with ttyUL0 setting
in the kernel command line but I am having trouble with that.

Thanks
swamy




Hi Swamy,

Sorry for the long delay. Sounds like the console is not setup
correctly.

I notice in your command line it appears that you have 2 console
statements.  I have not tested this ever and I would change it to only
have the console=ttyS0,9600.  I have seen other mailings, no Xilinx
specific, related to this causing problems.

This console setup assumes you're using the Xilinx 16550 UART.  It could
be an issue with the xparameters*.h file with the address of the UART.

Have you compared your arch/ppc/platforms/4xx/xparameters/xparameters*.h
file, whichever one it's setup to use, to the ones that we provided in
the Git tree?

I'm assuming you have the kernel configured correctly to use the
UART16550 driver and the console is turned on, both are needed.  The
16550 is 8250 compatible (mostly) and works with it's driver from Linux.

CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y

Thanks,
John


-- 
View this message in context: http://www.nabble.com/linux-2.6-hangs-at-__delay-function-on-Viretx-4-board-tp17222725p17638198.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

  reply	other threads:[~2008-06-04  3:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14  3:29 linux 2.6 hangs at __delay function on Viretx 4 board swamydp
2008-05-14 15:01 ` John Linn
2008-05-16 14:56   ` swamydp
2008-05-16 16:28     ` John Linn
2008-05-25  5:35       ` swamydp
2008-05-27  4:11         ` swamydp
2008-05-28 14:07           ` John Linn
2008-06-04  3:00             ` swamydp [this message]
2008-06-04  8:55               ` Peter Korsgaard
2008-06-04 21:22                 ` John Linn
2008-06-04 21:31                   ` Peter Korsgaard
2008-06-04 21:44                   ` Howard, Marc
2008-06-04 23:18                     ` Stephen Neuendorffer
2008-06-19 16:33 ` swamydp

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=17638198.post@talk.nabble.com \
    --to=swamydp@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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 NNTP newsgroup(s).