Linux boot failed on Sandpoint under baudrate 38400

Mark A. Greer mgreer at mvista.com
Sat Oct 7 03:41:12 EST 2000


"Kim, Jin Young" wrote:

> > >
> > > Yes, I set bootloader(arch/ppc/boot/ns16550.c)  and DINK (sb -k
> > 38400) to 38400.
> > > So where do I change the baud rate for kernel ?
> >
> > Take a look in include/asm-ppc/serial.h at the define of
> > BASE_BAUD and it's use in
> > STD_SERIAL_PORT_DEFNS.
>
> Isn't it for the clock divisor?  What happen if I want to return to 9600 baud?
>
> How about changing  the line
> "serial_driver.init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL;" to
> "serial_driver.init_termios.c_cflag = B38400 | CS8 | CREAD | HUPCL | CLOCAL;"
> in rs_int() for the serial device and
> "int baud = 9600;" to "int baud = 38400;" in serial_console_setup() for the console.
>
> Both in drivers/char/serial.c
>
> Stephan Kim

Yes, you're right.  Sorry, I was thinking of something else.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list