[PATCH 0/2] risc-v: implement DBCN based debug console

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sat Aug 19 15:12:48 CEST 2023


Currently we only offer an SBI based debug UART for SBI v0.1.
With OpenSBI 1.3 the Debug Console Extension (DBCN) has become available.
This allows us to implement a debug UART in a device independent manor.

Heinrich Schuchardt (2):
  risc-v: implement DBCN write byte
  risc-v: implement DBCN based debug console

 arch/riscv/include/asm/sbi.h |  1 +
 arch/riscv/lib/sbi.c         | 16 ++++++++++++++++
 drivers/serial/Kconfig       |  3 ++-
 drivers/serial/serial_sbi.c  | 19 +++++++++++++++++++
 4 files changed, 38 insertions(+), 1 deletion(-)

-- 
2.40.1



More information about the U-Boot mailing list