Serial Console on XServe and yaboot???

Ethan Benson erbenson at alaska.net
Wed Mar 12 19:38:19 EST 2003


On Tue, Mar 11, 2003 at 10:33:53PM -0500, Bill Fink wrote:
>
> I'd like to use the serial port on the XServe as a serial console.
> I enabled CONFIG_SERIAL_CONSOLE in a 2.4.20-0.7b (YDL 2.3) kernel,
> set the OF input-device and output-device parameters to ttya, and
> booted with the kernel argument "console=ttyS0,38400".
>
> This actually works once the system starts booting.  My problem
> is that I never get a chance to interact with yaboot and thus for

you will need to use a different first stage (magicboot) or none at
all (if OF will boot that way, some models refuse to autoboot
binaries without the CHRP bootinfos).  the default ofboot script
installed with yaboot forces the output to screen to work around
stupid hacks in apple OF to prevent `archaic peecee text' from
appearing on the screen.

> example can't select a different Linux kernel to boot.  Is there
> any way to accomplish this, for example by some suitable modification
> to the ofboot.b file in the boot partition?  Or is this just not

never modify the bootstrap partition, edit the magicboot= line in
/etc/yaboot.conf to point to an alternate script.  you can make a copy
of the /usr/lib/yaboot/ofboot file, then find and change the line:

" screen" output

to

" ttya" output

later im going to fix this so it won't have this problem.

--
Ethan Benson
http://www.alaska.net/~erbenson/

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





More information about the Linuxppc-dev mailing list