[SeaBIOS] [PATCH 0/3] SeaVGABIOS serial console test

Kevin O'Connor kevin at koconnor.net
Thu Oct 27 02:34:54 CEST 2016

Hi Gerd,

I was curious to see what the "sercon" stuff would look like in
SeaVGABIOS instead of in SeaBIOS.  So, I put together a quick
prototype.  The code is also at:


This is just a proof-of-concept thing - I didn't implement any of the
useful features you have in your series.  Specifically, it doesn't
unclutter the serial output, doesn't implement cp437 translations, and
doesn't handle multi-byte input.  It does does have basic input,
output, and split-output handling though.

I'm not sure if this is better than a SeaBIOS implementation.  I
suspect it will be easier to handle vga quirks this way.  However,
handling exotic serial outputs (eg, mmio and usb based) would be
better suited in SeaBIOS.



Kevin O'Connor (3):
  sercon: Initial support for VGA emulation over serial port
  sercon: Add basic keyboard input support
  sercon: Support "split output" mode

 Makefile          |   2 +-
 vgasrc/Kconfig    |   6 +
 vgasrc/sercon.c   | 356 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 vgasrc/vgabios.c  |  15 ++-
 vgasrc/vgabios.h  |   5 +
 vgasrc/vgaentry.S |   7 ++
 vgasrc/vgahw.h    |  72 ++++++++++-
 vgasrc/vgainit.c  |  12 +-
 vgasrc/vgautil.h  |  24 ++++
 9 files changed, 482 insertions(+), 17 deletions(-)
 create mode 100644 vgasrc/sercon.c


More information about the SeaBIOS mailing list