Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Alchemy Au1550 Early Console
@ 2006-03-22 23:08 Mark Schank
  2006-03-24 10:58 ` Jon Anders Haugum
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Schank @ 2006-03-22 23:08 UTC (permalink / raw)
  To: linux-mips

Greetings,

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?

Any guidance would be appreciated.
-Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alchemy Au1550 Early Console
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Anders Haugum @ 2006-03-24 10:58 UTC (permalink / raw)
  To: Mark Schank; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alchemy Au1550 Early Console
  2006-03-24 10:58 ` Jon Anders Haugum
@ 2006-03-26  3:24   ` Mark Schank
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Schank @ 2006-03-26  3:24 UTC (permalink / raw)
  To: Jon Anders Haugum; +Cc: linux-mips

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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-26  3:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox