Re: printk() does not work on UART1
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 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
Re: printk() does not work on UART1
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 [EMAIL PROTECTED] 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 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
printk() does not work on UART1
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 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev
Re: printk() does not work on UART1
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 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev