Hello,
In sdk-04.03.00.05 (26 Mar 2018),How can I enable the DEBUG_UART functionality in U-Boot ?
I had configured it using the "make menuconfig" command as follows:
Device Drivers → Serial drivers
[*] Enable an early debug UART for debugging
Select which UART will provide the debug UART (ns16550) --->
(0x44e09000) Base address of UART
(48000000) UART input clock
(2) UART register shift
[ ] Enable board-specific debug UART init
[*] Show a message when the debug UART starts up
[*] NS16550 UART or compatible
The .config configuration is as follows:
CONFIG_DEBUG_UART=y
# CONFIG_DEBUG_UART_ALTERA_JTAGUART is not set
# CONFIG_DEBUG_UART_ALTERA_UART is not set
# CONFIG_DEBUG_UART_ATMEL is not set
CONFIG_DEBUG_UART_NS16550=y
# CONFIG_DEBUG_UART_S5P is not set
# CONFIG_DEBUG_UART_UARTLITE is not set
# CONFIG_DEBUG_UART_ARM_DCC is not set
# CONFIG_DEBUG_MVEBU_A3700_UART is not set
# CONFIG_DEBUG_UART_ZYNQ is not set
# CONFIG_DEBUG_UART_PL010 is not set
# CONFIG_DEBUG_UART_PL011 is not set
CONFIG_DEBUG_UART_BASE=0x44e09000
CONFIG_DEBUG_UART_CLOCK=48000000
CONFIG_DEBUG_UART_SHIFT=2
# CONFIG_DEBUG_UART_BOARD_INIT is not set
CONFIG_DEBUG_UART_ANNOUNCE=y
# CONFIG_DEBUG_UART_SKIP_INIT is not set
# CONFIG_ALTERA_JTAG_UART is not set
# CONFIG_ALTERA_UART is not set
# CONFIG_ATMEL_USART is not set
# CONFIG_FSL_LPUART is not set
# CONFIG_MVEBU_A3700_UART is not set
CONFIG_SYS_NS16550=y
With the above configuration, after powering on, it only prints "CCCCCCCCC" and then stops.
However, when DEBUG_UART is disabled, it can boot up normally.
What could be causing this? And How can I enable DEBUG_UART functionality in U-Boot?
Best regards,
zw