summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Palmer <[email protected]>2026-03-09 19:51:10 +0900
committerTom Rini <[email protected]>2026-04-14 13:25:13 -0600
commitc15a08b730e3399c26622c8cb083bf521039606a (patch)
treea47160397449a3618643571088316891eb0555ff
parent2df4926ca4f215d9b1a91d0c02c6fef49c845837 (diff)
doc: board: virt: m68k: Detail how to use debug uart
Add a paragraph to explain how to get the address of the goldfish tty and use it as the debug uart. I think the address is actually fixed right now but it might change in the future. Signed-off-by: Daniel Palmer <[email protected]>
-rw-r--r--doc/board/emulation/qemu-m68k.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/board/emulation/qemu-m68k.rst b/doc/board/emulation/qemu-m68k.rst
index 6c4de54cf6a..2f2e6bd6444 100644
--- a/doc/board/emulation/qemu-m68k.rst
+++ b/doc/board/emulation/qemu-m68k.rst
@@ -31,6 +31,16 @@ The minimal QEMU command line to get U-Boot up and running is:
Note that the `-nographic` option is used to redirect the console to stdio,
which connects to the emulated Goldfish TTY device.
+Debugging U-Boot
+----------------
+
+If you need early debugging output enable `CONFIG_DEBUG_UART_GOLDFISH`.
+The base address for the UART can be found by activating the QEMU monitor,
+running `info qtree`, and then looking for the goldfish tty device and
+taking the mmio address.
+
+Baud rate doesn't matter.
+
Hardware Support
----------------
The following QEMU virt peripherals are supported in U-Boot: