Serial console: Difference between revisions

From coreboot
Jump to navigation Jump to search
(Created page with '== coreboot == == FILO == == GRUB == In your '''boot/grub/menu.lst''' add the following: serial '''--unit=0''' --speed='''115200''' terminal --timeout=15 serial console Ch…')
 
mNo edit summary
Line 1: Line 1:
In order to get serial logs from various components of your system special options may be needed. This page tries to give a short description of how to use these options.
== coreboot ==
== coreboot ==
TODO


== FILO ==
== FILO ==


== GRUB ==
TODO
 
== GRUB legacy ==


In your '''boot/grub/menu.lst''' add the following:
In your '''boot/grub/menu.lst''' add the following:
Line 11: Line 17:


Change '''--unit=0''' to '''--unit=1''' for the second serial port (COM2).
Change '''--unit=0''' to '''--unit=1''' for the second serial port (COM2).
== GRUB2 ==
TODO


== Linux kernel command line ==
== Linux kernel command line ==

Revision as of 16:59, 18 September 2010

In order to get serial logs from various components of your system special options may be needed. This page tries to give a short description of how to use these options.

coreboot

TODO

FILO

TODO

GRUB legacy

In your boot/grub/menu.lst add the following:

serial --unit=0 --speed=115200
terminal --timeout=15 serial console

Change --unit=0 to --unit=1 for the second serial port (COM2).

GRUB2

TODO

Linux kernel command line

Add

console=ttyS0,115200 console=tty0

to send debug output to both the serial console on COM1 and to VGA.

Linux login prompt

In /etc/inittab add/enable a line like this:

T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100

Change ttyS0 to ttyS1 for COM2.


Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.