mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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 <daniel@0x0f.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user