[SeaBIOS] [PATCH 0/6] add serial console support

Gerd Hoffmann kraxel at redhat.com
Fri Sep 8 08:18:22 CEST 2017


This patch series adds serial console support to seabios.  Patches 1-3
add some bits the serial console patch depends on.  Patch 4 adds the
actual serial console support, where the serial console can be used in
case no display adapter is present.  Patch 5 is the most tricky one and
implements splitmode, i.e. the serial console and vga console are active
at the same time, output shows up on both serial and vga, input is
accepted from both serial and keyboard.

The recommended way to activate the serial console is "qemu -machine
graphics=no".

Patch 6 is just for testing convenience and will not be merged.  It
makes the seabios serial console a drop-in replacement for sgabios,
i.e.  it is possible to activate it using "qemu -device sga".

Gerd Hoffmann (6):
  std: add cp437 to unicode map
  kbd: make enqueue_key public, add ascii_to_keycode
  paravirt: read QEMU_CFG_NOGRAPHIC, store in etc/sercon-enable romfile
  add serial console support
  sercon: split-output implementation
  [hack] ignore sgabios, enable sercon instead

 Makefile          |   3 +-
 src/cp437.h       |   1 +
 src/util.h        |   5 +
 src/clock.c       |   1 +
 src/cp437.c       | 275 ++++++++++++++++++++++
 src/fw/paravirt.c |   2 +
 src/kbd.c         |  18 +-
 src/misc.c        |   2 +
 src/optionroms.c  |  17 +-
 src/sercon.c      | 668 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/Kconfig       |   5 +
 src/romlayout.S   |  46 ++++
 12 files changed, 1039 insertions(+), 4 deletions(-)
 create mode 100644 src/cp437.h
 create mode 100644 src/cp437.c
 create mode 100644 src/sercon.c

-- 
2.9.3




More information about the SeaBIOS mailing list