linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* printk() does not work on UART1
@ 2008-01-09  0:11 mike zheng
  2008-01-09  5:06 ` mike zheng
  2008-01-09  5:11 ` mike zheng
  0 siblings, 2 replies; 5+ messages in thread
From: mike zheng @ 2008-01-09  0:11 UTC (permalink / raw)
  To: linuxppc-dev

Hi All,

I have one mpc8568 board using UART1 as the serial port.  The OS is
Linux Kernel2.4.  If I use the polling mode driver of
gen550_progress(), it works fine. However the printk() does not work
after the console_init(). Anyone know what shall I change in the
kernel to use UART1 as serial console? I assume the default is UART0,
but I don't know where the value is set. I changed the CONFIG_CMDLINE
to ttyS1, it does NOT work.

Thanks for your help,

Mike

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

* Re: printk() does not work on UART1
  2008-01-09  0:11 printk() does not work on UART1 mike zheng
@ 2008-01-09  5:06 ` mike zheng
  2008-01-09 14:14   ` Haiying Wang
  2008-01-09  5:11 ` mike zheng
  1 sibling, 1 reply; 5+ messages in thread
From: mike zheng @ 2008-01-09  5:06 UTC (permalink / raw)
  To: linuxppc-dev

 Hi All,

 I have one mpc8568 board using UART1 as the serial port.  The OS is
 Linux Kernel2.4.  If I use the polling mode driver of
 gen550_progress(), it works fine. However the printk() does not work
 after the console_init(). Anyone know what shall I change in the
 kernel to use UART1 as serial console? I assume the default is UART0,
 but I don't know where the value is set. I changed the CONFIG_CMDLINE
 to ttyS1, it does NOT work.

 Thanks for your help,

 Mike

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

* printk() does not work on UART1
  2008-01-09  0:11 printk() does not work on UART1 mike zheng
  2008-01-09  5:06 ` mike zheng
@ 2008-01-09  5:11 ` mike zheng
  1 sibling, 0 replies; 5+ messages in thread
From: mike zheng @ 2008-01-09  5:11 UTC (permalink / raw)
  To: linuxppc-embedded

Hi All,

I have one mpc8568 board using UART1 as the serial port.  The OS is
Linux Kernel2.4.  If I use the polling mode driver of
gen550_progress(), it works fine. However the printk() does not work
after the console_init(). Anyone know what shall I change in the
kernel to use UART1 as serial console? I assume the default is UART0,
but I don't know where the value is set. I changed the CONFIG_CMDLINE
to ttyS1, it does NOT work.

Thanks for your help,

Mike

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

* Re: printk() does not work on UART1
  2008-01-09  5:06 ` mike zheng
@ 2008-01-09 14:14   ` Haiying Wang
  2008-01-09 15:34     ` mike zheng
  0 siblings, 1 reply; 5+ messages in thread
From: Haiying Wang @ 2008-01-09 14:14 UTC (permalink / raw)
  To: mike zheng; +Cc: linuxppc-dev

On Wed, 2008-01-09 at 00:06 -0500, mike zheng wrote:
>  Hi All,
> 
>  I have one mpc8568 board using UART1 as the serial port.  The OS is
>  Linux Kernel2.4.  If I use the polling mode driver of
>  gen550_progress(), it works fine. However the printk() does not work
>  after the console_init(). Anyone know what shall I change in the
>  kernel to use UART1 as serial console? I assume the default is UART0,
>  but I don't know where the value is set. I changed the CONFIG_CMDLINE
>  to ttyS1, it does NOT work.

Make sure you've configured PC0/1/2/3 for UART1 SOUT/RTS/CTS/SIN in
u-boot.

Haiying

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

* Re: printk() does not work on UART1
  2008-01-09 14:14   ` Haiying Wang
@ 2008-01-09 15:34     ` mike zheng
  0 siblings, 0 replies; 5+ messages in thread
From: mike zheng @ 2008-01-09 15:34 UTC (permalink / raw)
  To: Haiying Wang; +Cc: linuxppc-dev

I found the problem. The CONFIG_CMDLINE was overwritten. Right now, it
is working.

Thanks for all the help,

Mike


On 1/9/08, Haiying Wang <Haiying.Wang@freescale.com> wrote:
> On Wed, 2008-01-09 at 00:06 -0500, mike zheng wrote:
> >  Hi All,
> >
> >  I have one mpc8568 board using UART1 as the serial port.  The OS is
> >  Linux Kernel2.4.  If I use the polling mode driver of
> >  gen550_progress(), it works fine. However the printk() does not work
> >  after the console_init(). Anyone know what shall I change in the
> >  kernel to use UART1 as serial console? I assume the default is UART0,
> >  but I don't know where the value is set. I changed the CONFIG_CMDLINE
> >  to ttyS1, it does NOT work.
>
> Make sure you've configured PC0/1/2/3 for UART1 SOUT/RTS/CTS/SIN in
> u-boot.
>
> Haiying
>
>

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

end of thread, other threads:[~2008-01-09 15:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09  0:11 printk() does not work on UART1 mike zheng
2008-01-09  5:06 ` mike zheng
2008-01-09 14:14   ` Haiying Wang
2008-01-09 15:34     ` mike zheng
2008-01-09  5:11 ` mike zheng

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).