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

Gerd Hoffmann posted 6 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/20170908061828.13732-1-kraxel@redhat.com
There is a newer version of this series
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
[SeaBIOS] [PATCH 0/6] add serial console support
Posted by Gerd Hoffmann 6 years, 7 months ago
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


_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios