From: Mark Schank <mschank@dcbnet.com>
To: Jon Anders Haugum <jonah@omegav.ntnu.no>
Cc: linux-mips@linux-mips.org
Subject: Re: Alchemy Au1550 Early Console
Date: Sat, 25 Mar 2006 21:24:04 -0600 [thread overview]
Message-ID: <44260954.5010707@dcbnet.com> (raw)
In-Reply-To: <20060324114653.S15728@invalid.ed.ntnu.no>
Hi Jon,
Thanks for the reply. I do have CONFIG_SERIAL_8250_CONSOLE enabled.
The console does work once the kernel boots and the driver init routines
run.
However, if the kernel crashes before the driver init routines are run,
then I wasn't
getting any output. The old au1x00_uart.c driver was able to support an
early console,
console_init() in start_kernel(), on the Alchemy uart. However, after
looking at the new
8250 driver more closely, I see that it can not support the Alchemy uart
until after the
driver init routines are run.
I finally wrote a simple early console driver that relied on the boot
monitor setting up
the uart. This enabled me to figure out why the kernel was crashing
during boot.
Thanks again,
Mark
Jon Anders Haugum wrote:
> On Wed, 22 Mar 2006, Mark Schank wrote:
>
>> I am working with a Au1550 based system an am trying to upgrade
>> from the 2.6.12 kernel to the 2.6.16 kernel . I have noticed that the
>> au1x00_uart.c driver has been remove and replaced with functionality in
>> 8250.c and 8250_au1x00.c. So far, I have been unable to get the early
>> console running. Under this new driver model, what is the proper
>> way to bring up an early console on a Au1550 internal serial port?
>
> Have you enabled the console for 8250-based serial ports?
> (CONFIG_SERIAL_8250_CONSOLE)
>
> Another issue might be if you have got some PCI-based serial ports in
> the system, because they will be assigned before the internal ones. So
> you might end up having the console on a PCI serial port.
>
> Third: There is a bug in the new driver regarding divisor settings,
> but the console should still be working since the boot loader will
> init the uart properly. (I've posted a patch for this bug earlier:
> http://www.linux-mips.org/archives/linux-mips/2006-03/msg00041.html).
>
>
> Jon
>
prev parent reply other threads:[~2006-03-26 3:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-22 23:08 Alchemy Au1550 Early Console Mark Schank
2006-03-24 10:58 ` Jon Anders Haugum
2006-03-26 3:24 ` Mark Schank [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=44260954.5010707@dcbnet.com \
--to=mschank@dcbnet.com \
--cc=jonah@omegav.ntnu.no \
--cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.