printk() does not work on UART1

mike zheng mail4mz at gmail.com
Thu Jan 10 02:34:23 EST 2008


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 at 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
>
>



More information about the Linuxppc-dev mailing list