public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: "Mark A. Greer" <mgreer@mvista•com>
To: "Kim, Jin Young" <jykim@raonet•com>
Cc: linuxppc-embedded@lists•linuxppc.org
Subject: Re: Linux boot failed on Sandpoint under baudrate 38400
Date: Fri, 06 Oct 2000 09:41:12 -0700	[thread overview]
Message-ID: <39DE00A8.576CAA9A@mvista.com> (raw)
In-Reply-To: NEBBLJBIIKANNNOGGKNDIEKECCAA.jykim@raonet.com


"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/

  reply	other threads:[~2000-10-06 16:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-05 20:53 Linux boot failed on Sandpoint under baudrate 38400 Zhaobin Zhu
2000-10-05 21:17 ` Mark A. Greer
2000-10-05 21:27   ` Zhaobin Zhu
2000-10-05 22:07     ` Mark A. Greer
2000-10-06  1:30       ` Kim, Jin Young
2000-10-06 16:41         ` Mark A. Greer [this message]
2000-10-06 15:12 ` "Jeffrey D. Kowing" <Jeff Kowing
2000-10-06 15:43   ` Zhaobin Zhu
2000-10-08  3:13   ` Linux boot over NFS Zhaobin Zhu
2000-10-09 17:51     ` Mark A. Greer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39DE00A8.576CAA9A@mvista.com \
    --to=mgreer@mvista$(echo .)com \
    --cc=jykim@raonet$(echo .)com \
    --cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox