From c15a08b730e3399c26622c8cb083bf521039606a Mon Sep 17 00:00:00 2001 From: Daniel Palmer Date: Mon, 9 Mar 2026 19:51:10 +0900 Subject: [PATCH] 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 --- doc/board/emulation/qemu-m68k.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) 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: