diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2025-04-24 14:13:15 +0200 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2025-04-25 16:39:34 +0800 |
commit | 95c1bb5f55dc9ce7fe922cc2ee36b191a25236c8 (patch) | |
tree | 050c487209024e5f9b94f13bad37b90552fa0ac1 | |
parent | f0b86c4dd14a94422b69b440554e050e89dd7a72 (diff) |
doc: jh7110: describe debug UART
Provide the settings for using the debug UART in SPL.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: E Shattow <e@freeshell.de>
-rw-r--r-- | doc/board/starfive/jh7110_common.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/board/starfive/jh7110_common.rst b/doc/board/starfive/jh7110_common.rst index fb8d87a1551..4a8058ee5da 100644 --- a/doc/board/starfive/jh7110_common.rst +++ b/doc/board/starfive/jh7110_common.rst @@ -87,3 +87,17 @@ u-boot.itb via the Y-modem protocol. Due to restrictions of the boot ROM not all X-modem implementations are compatible. The package tio (https://github.com/tio/tio) has been found to be usable. + +Debug UART +---------- + +By default the SBI interface is used for the debug UART. But this only works +in main U-Boot. To enable the debug UART in SPL, too, use the following +settings:: + + CONFIG_DEBUG_UART=y + CONFIG_DEBUG_UART_NS16550=y + CONFIG_DEBUG_UART_BASE=0x10000000 + CONFIG_SPL_DEBUG_UART_BASE=0x10000000 + CONFIG_DEBUG_UART_CLOCK=24000000 + CONFIG_DEBUG_UART_SHIFT=2 |