diff options
| author | Heinrich Schuchardt <[email protected]> | 2022-04-05 16:14:27 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2022-04-09 21:06:31 +0200 |
| commit | 16736c2312bff2a35707c411c3dba91de86751a9 (patch) | |
| tree | e39bb3056d1647b13470371a5d80e0a40808ba10 | |
| parent | 56bc239db201e00e9885223cf03333b5d369e1be (diff) | |
doc: debug UART for RISC-V QEMU virt machine
Provide settings for enabling the debug UART of the virt machine on
RISC-V QEMU.
Signed-off-by: Heinrich Schuchardt <[email protected]>
| -rw-r--r-- | doc/board/emulation/qemu-riscv.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/board/emulation/qemu-riscv.rst b/doc/board/emulation/qemu-riscv.rst index ae998810c87..782f37251c3 100644 --- a/doc/board/emulation/qemu-riscv.rst +++ b/doc/board/emulation/qemu-riscv.rst @@ -132,3 +132,13 @@ An attached disk can be emulated in RISC-V virt machine by adding:: -device ide-hd,drive=mydisk,bus=ahci.0 You will have to run 'scsi scan' to use it. + +Debug UART +---------- + +The following settings provide a debug UART for the virt machine:: + + CONFIG_DEBUG_UART=y + CONFIG_DEBUG_UART_NS16550=y + CONFIG_DEBUG_UART_BASE=0x10000000 + CONFIG_DEBUG_UART_CLOCK=3686400 |
