public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable runtime serial port debug for ArmVirtQemu
@ 2019-04-01  9:06 Heyi Guo
  2019-04-01  9:06 ` [PATCH 1/2] ArmVirtPkg: add runtime instance of FdtPL011SerialPortLib Heyi Guo
  2019-04-01  9:06 ` [PATCH 2/2] ArmVirtQemu: enable runtime debug by build flag Heyi Guo
  0 siblings, 2 replies; 7+ messages in thread
From: Heyi Guo @ 2019-04-01  9:06 UTC (permalink / raw)
  To: edk2-devel
  Cc: wanghaibin.wang, Heyi Guo, Laszlo Ersek, Ard Biesheuvel,
	Julien Grall

These patches are based on below discussion:
https://lists.01.org/pipermail/edk2-devel/2019-March/037986.html

We have decided to use an individual firmware UART for UEFI runtime
debug, however this depends on QEMU to provide this virtual device, so
we still use the OS visible system UART at the moment, with the
potential *risk* of conflicting OS serial port read/write.

Once QEMU implements individual firmware UART, we need rewrite
PlatformGetRtSerialBase() to get the real runtime serial port base
address.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Julien Grall <julien.grall@arm.com>

Heyi Guo (2):
  ArmVirtPkg: add runtime instance of FdtPL011SerialPortLib
  ArmVirtQemu: enable runtime debug by build flag

 ArmVirtPkg/ArmVirt.dsc.inc                                                |   4 +
 ArmVirtPkg/ArmVirtQemu.dsc                                                |   1 +
 ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.c          |   6 +-
 ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.h          |  32 ++++
 ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLibRuntime.c   | 187 ++++++++++++++++++++
 ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLibRuntime.inf |  59 ++++++
 6 files changed, 287 insertions(+), 2 deletions(-)
 create mode 100644 ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLib.h
 create mode 100644 ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLibRuntime.c
 create mode 100644 ArmVirtPkg/Library/FdtPL011SerialPortLib/FdtPL011SerialPortLibRuntime.inf

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-04-02  7:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-01  9:06 [PATCH 0/2] Enable runtime serial port debug for ArmVirtQemu Heyi Guo
2019-04-01  9:06 ` [PATCH 1/2] ArmVirtPkg: add runtime instance of FdtPL011SerialPortLib Heyi Guo
2019-04-01 16:14   ` Laszlo Ersek
2019-04-02  1:45     ` Heyi Guo
2019-04-02  7:38       ` Laszlo Ersek
2019-04-01  9:06 ` [PATCH 2/2] ArmVirtQemu: enable runtime debug by build flag Heyi Guo
2019-04-01 16:14   ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox