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

Gerd Hoffmann kraxel at redhat.com
Thu Sep 14 09:08:16 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, for both primary display mode and
splitmode (running in parallel to a vga display).

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

Patch 5 adds support for a cbfs config file, to make the iobase
configurable.

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
  add support for etc/sercon-iobase cbfs file
  [hack] ignore sgabios, enable sercon instead

 Makefile          |   3 +-
 src/config.h      |   1 -
 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        |   8 -
 src/optionroms.c  |  28 ++-
 src/sercon.c      | 668 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/Kconfig       |   5 +
 src/romlayout.S   |  50 +++-
 13 files changed, 1052 insertions(+), 13 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