linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Linux boot failed on Sandpoint under baudrate 38400
@ 2000-10-05 20:53 Zhaobin Zhu
  2000-10-05 21:17 ` Mark A. Greer
  2000-10-06 15:12 ` "Jeffrey D. Kowing" <Jeff Kowing
  0 siblings, 2 replies; 10+ messages in thread
From: Zhaobin Zhu @ 2000-10-05 20:53 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

Anybody tried booting Hardhat linux on Sandpoint/603e/755/7400
under Baudrate 38400 ?

On my sp7400, the boot is ok under 9600, but gives garbled message
after "Now booting the kernel" under 38400.

I change baudrate in arch/ppc/boot/ns16550.c

Does the kernel change the baudrate in other place ?

Thanks,

--
 Zhaobin Zhu
 zzhu@emc.com


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Linux boot failed on Sandpoint under baudrate 38400
  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-06 15:12 ` "Jeffrey D. Kowing" <Jeff Kowing
  1 sibling, 1 reply; 10+ messages in thread
From: Mark A. Greer @ 2000-10-05 21:17 UTC (permalink / raw)
  To: Zhaobin Zhu; +Cc: linuxppc-embedded


What do you mean by garbled?  Do you mean the characters look okay but some
seem to be missing or just a bunch of strange characters?

The kernel, the bootloader, and DINK all need to be set up for the same baud
rate.  It sounds like you have dink and the bootloader setup for one baud rate
and the kernel is probably still at 9600.  Could that be the case?

Mark

> Hi,
>
> Anybody tried booting Hardhat linux on Sandpoint/603e/755/7400
> under Baudrate 38400 ?
>
> On my sp7400, the boot is ok under 9600, but gives garbled message
> after "Now booting the kernel" under 38400.
>
> I change baudrate in arch/ppc/boot/ns16550.c
>
> Does the kernel change the baudrate in other place ?
>
> Thanks,
>
> --
>  Zhaobin Zhu
>  zzhu@emc.com
>

--
Mark A. Greer (mgreer@mvista.com; 480-517-0287)
MontaVista Software, Inc.
2141 E. Broadway Road, Suite 108
Tempe, AZ  85282


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Linux boot failed on Sandpoint under baudrate 38400
  2000-10-05 21:17 ` Mark A. Greer
@ 2000-10-05 21:27   ` Zhaobin Zhu
  2000-10-05 22:07     ` Mark A. Greer
  0 siblings, 1 reply; 10+ messages in thread
From: Zhaobin Zhu @ 2000-10-05 21:27 UTC (permalink / raw)
  To: mgreer; +Cc: linuxppc-embedded


"Mark A. Greer" wrote:

> What do you mean by garbled?  Do you mean the characters look okay but some
> seem to be missing or just a bunch of strange characters?
>

 a bunch of strange characters.

>
> The kernel, the bootloader, and DINK all need to be set up for the same baud
> rate.  It sounds like you have dink and the bootloader setup for one baud rate
> and the kernel is probably still at 9600.  Could that be the case?
>
> Mark
>

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 ?

Thanks,
--
 Zhaobin Zhu
 zzhu@emc.com


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Linux boot failed on Sandpoint under baudrate 38400
  2000-10-05 21:27   ` Zhaobin Zhu
@ 2000-10-05 22:07     ` Mark A. Greer
  2000-10-06  1:30       ` Kim, Jin Young
  0 siblings, 1 reply; 10+ messages in thread
From: Mark A. Greer @ 2000-10-05 22:07 UTC (permalink / raw)
  To: Zhaobin Zhu; +Cc: linuxppc-embedded


Zhaobin Zhu wrote:

> "Mark A. Greer" wrote:
>
> > What do you mean by garbled?  Do you mean the characters look okay but some
> > seem to be missing or just a bunch of strange characters?
> >
>
>  a bunch of strange characters.

Okay, then its likely a simple baud rate issue.

> > The kernel, the bootloader, and DINK all need to be set up for the same baud
> > rate.  It sounds like you have dink and the bootloader setup for one baud rate
> > and the kernel is probably still at 9600.  Could that be the case?
> >
> > Mark
> >
>
> 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.

Mark


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Linux boot failed on Sandpoint under baudrate 38400
  2000-10-05 22:07     ` Mark A. Greer
@ 2000-10-06  1:30       ` Kim, Jin Young
  2000-10-06 16:41         ` Mark A. Greer
  0 siblings, 1 reply; 10+ messages in thread
From: Kim, Jin Young @ 2000-10-06  1:30 UTC (permalink / raw)
  To: linuxppc-embedded


> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of
> Mark A. Greer
> Sent: Friday, October 06, 2000 7:07 AM
> To: Zhaobin Zhu
> Cc: linuxppc-embedded@lists.linuxppc.org
> Subject: Re: Linux boot failed on Sandpoint under baudrate 38400
>
>
>
> Zhaobin Zhu wrote:
>
> > "Mark A. Greer" wrote:
> >
> > > What do you mean by garbled?  Do you mean the characters look
> okay but some
> > > seem to be missing or just a bunch of strange characters?
> > >
> >
> >  a bunch of strange characters.
>
> Okay, then its likely a simple baud rate issue.
>
> > > The kernel, the bootloader, and DINK all need to be set up
> for the same baud
> > > rate.  It sounds like you have dink and the bootloader setup
> for one baud rate
> > > and the kernel is probably still at 9600.  Could that be the case?
> > >
> > > Mark
> > >
> >
> > 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

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Linux boot failed on Sandpoint under baudrate 38400
  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-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
  1 sibling, 2 replies; 10+ messages in thread
From: "Jeffrey D. Kowing" <Jeff Kowing @ 2000-10-06 15:12 UTC (permalink / raw)
  To: Zhaobin Zhu; +Cc: linuxppc-embedded


You can use a kernel option to override what I believe is the default
of 9600 when the kernel opens the serial port for use as the console.
I have "console=ttyS0,38400" in my #define CMDLINE in
arch/ppc/boot/misc.c.

Zhaobin Zhu writes:
 >
 > Hi,
 >
 > Anybody tried booting Hardhat linux on Sandpoint/603e/755/7400
 > under Baudrate 38400 ?
 >
 > On my sp7400, the boot is ok under 9600, but gives garbled message
 > after "Now booting the kernel" under 38400.
 >
 > I change baudrate in arch/ppc/boot/ns16550.c
 >
 > Does the kernel change the baudrate in other place ?
 >
 > Thanks,
 >
 > --
 >  Zhaobin Zhu
 >  zzhu@emc.com
 >
 >

--
Jeff Kowing
jeffrey.d.kowing1@jsc.nasa.gov

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Linux boot failed on Sandpoint under baudrate 38400
  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
  1 sibling, 0 replies; 10+ messages in thread
From: Zhaobin Zhu @ 2000-10-06 15:43 UTC (permalink / raw)
  Cc: linuxppc-embedded


"\"Jeffrey D. Kowing\"

> You can use a kernel option to override what I believe is the default
> of 9600 when the kernel opens the serial port for use as the console.
> I have "console=ttyS0,38400" in my #define CMDLINE in
> arch/ppc/boot/misc.c.
>

This works.

Thanks

--
 Zhaobin Zhu
 zzhu@emc.com 508-435-1000 x12823
 Hardware Engineering, EMC Corporation


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Linux boot failed on Sandpoint under baudrate 38400
  2000-10-06  1:30       ` Kim, Jin Young
@ 2000-10-06 16:41         ` Mark A. Greer
  0 siblings, 0 replies; 10+ messages in thread
From: Mark A. Greer @ 2000-10-06 16:41 UTC (permalink / raw)
  To: Kim, Jin Young; +Cc: linuxppc-embedded


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Linux boot over NFS
  2000-10-06 15:12 ` "Jeffrey D. Kowing" <Jeff Kowing
  2000-10-06 15:43   ` Zhaobin Zhu
@ 2000-10-08  3:13   ` Zhaobin Zhu
  2000-10-09 17:51     ` Mark A. Greer
  1 sibling, 1 reply; 10+ messages in thread
From: Zhaobin Zhu @ 2000-10-08  3:13 UTC (permalink / raw)
  Cc: linuxppc-embedded


Hi,

Did anybody successfully boot Hardhat linux
over NFS on sandpoint ?

Did anybody try to do this following steps
instructed in Hardhat CDK1.2 manual ?

Is it possible to boot linux on Sandpoint over NFS on an isolated
(The only network connection is between PC and Sandpoint) redhat PC ?

Thanks,

--
Zhaobin


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Linux boot over NFS
  2000-10-08  3:13   ` Linux boot over NFS Zhaobin Zhu
@ 2000-10-09 17:51     ` Mark A. Greer
  0 siblings, 0 replies; 10+ messages in thread
From: Mark A. Greer @ 2000-10-09 17:51 UTC (permalink / raw)
  To: Zhaobin Zhu; +Cc: linuxppc-embedded


Zhaobin Zhu wrote:

> Hi,
>
> Did anybody successfully boot Hardhat linux
> over NFS on sandpoint ?

Yes, I have many times.

Make sure you have the proper selection in make menuconfig...
- go into Networking options and make sure TCP/IP networking/IP: kernel level
autoconfiguration/IP: BOOTP support is selected
- make sure the driver for your network card is selected
- go into File systems/Network File Systems and make sure NFS file system
support/Root file system on NFS is selected

This should at least get you closer.



> Did anybody try to do this following steps
> instructed in Hardhat CDK1.2 manual ?

The instructions in the manual should work.  If they don't work for you (and
you're SURE that your kernel is configured correctly) please email
support@mvista.com and let them know.

> Is it possible to boot linux on Sandpoint over NFS on an isolated
> (The only network connection is between PC and Sandpoint) redhat PC ?
>

Yes as long as your network is connected correctly and your PC is configured
correctly.

Mark


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2000-10-09 17:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).