Linux boot failed on Sandpoint under baudrate 38400
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
[email protected]
** 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?
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
Quoted 10 lines
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
Quoted 8 lines
Does the kernel change the baudrate in other place ?
Thanks,
--
Zhaobin Zhu
[email protected]
--
Mark A. Greer ([email protected]; 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/
Quoted 3 lines · Mark A. Greer
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.
Quoted 7 lines
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
[email protected]
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 7 lines · Zhaobin Zhu
Quoted 3 lines · Mark A. Greer
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 9 lines
Quoted 6 lines
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/
Quoted 34 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Mark A. Greer
Sent: Friday, October 06, 2000 7:07 AM
To: Zhaobin Zhu
Cc: [email protected]
Subject: Re: Linux boot failed on Sandpoint under baudrate 38400Quoted 3 lines · Zhaobin Zhu
Quoted 1 line · Mark A. Greer
What do you mean by garbled? Do you mean the characters look
okay but some
Quoted 4 lines
Quoted 2 lines
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 1 line
Quoted 1 line
The kernel, the bootloader, and DINK all need to be set up
for the same baud
Quoted 1 line
Quoted 1 line
rate. It sounds like you have dink and the bootloader setup
for one baud rate
Quoted 5 lines
Quoted 4 lines
and the kernel is probably still at 9600. Could that be the case?
Mark
Quoted 7 lines
Quoted 1 line
Yes, I set bootloader(arch/ppc/boot/ns16550.c) and DINK (sb -k
38400) to 38400.
Quoted 1 line
So where do I change the baud rate for kernel ?
Take a look in
include/asm-ppc/serial.hat the define ofBASE_BAUDand it's use inSTD_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/
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.
Quoted 11 lines · Zhaobin Zhu
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
Quoted 9 lines
Does the kernel change the baudrate in other place ?
Thanks,
--
Zhaobin Zhu
[email protected]
--
Jeff Kowing
[email protected]
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
"\"Jeffrey D. Kowing\"
Quoted 5 lines
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
[email protected] 508-435-1000 x12823
Hardware Engineering, EMC Corporation
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 17 lines · Jin Young
Quoted 8 lines
Quoted 2 lines
Yes, I set bootloader(arch/ppc/boot/ns16550.c) and DINK (sb -k
38400) to 38400.
Quoted 1 line
So where do I change the baud rate for kernel ?
Take a look in
include/asm-ppc/serial.hat the define ofBASE_BAUDand it's use inSTD_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;" inrs_int()for the serial device and
"int baud = 9600;" to "int baud = 38400;" inserial_console_setup()for the console.
Quoted 3 lines
Both in
drivers/char/serial.cStephan Kim
Yes, you're right. Sorry, I was thinking of something else.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Linux boot over NFS
In reply to Jeffrey D. Kowing" <Jeff KowingHi,
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/
Re: Linux boot over NFS
Quoted 4 lines · Zhaobin Zhu
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.
Quoted 2 lines
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 [email protected] and let them know.
Quoted 3 lines
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/