printk() does not work on UART1

Haiying Wang Haiying.Wang at freescale.com
Thu Jan 10 01:14:28 EST 2008


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