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 <heinrich.schuchardt@canonical.com>
This commit is contained in:
Heinrich Schuchardt 2022-04-05 16:14:27 +02:00
parent 56bc239db2
commit 16736c2312

View File

@ -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