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/
From: Mark A. Greer <hidden> Date: 2000-10-05 21:17:56
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/
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/
From: Mark A. Greer <hidden> Date: 2000-10-05 22:07:24
Zhaobin Zhu wrote:
"Mark A. Greer" wrote:
quoted
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.
quoted
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/
From: Kim, Jin Young <hidden> Date: 2000-10-06 01:30:19
-----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:
quoted
"Mark A. Greer" wrote:
quoted
What do you mean by garbled? Do you mean the characters look
okay but some
quoted
quoted
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.
quoted
quoted
The kernel, the bootloader, and DINK all need to be set up
for the same baud
quoted
quoted
rate. It sounds like you have dink and the bootloader setup
for one baud rate
quoted
quoted
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.
quoted
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/
From: "Jeffrey D. Kowing" <Jeff Kowing <hidden> Date: 2000-10-06 15:12:11
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/
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/
From: Mark A. Greer <hidden> Date: 2000-10-06 16:41:12
"Kim, Jin Young" wrote:
quoted
quoted
Yes, I set bootloader(arch/ppc/boot/ns16550.c) and DINK (sb -k
38400) to 38400.
quoted
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/
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/
From: Mark A. Greer <hidden> Date: 2000-10-09 17:51:26
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/