This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Enabling early debug print on UART in U-Boot

Part Number: AM5728

Tool/software: Linux

Working to bring up AM5728 custom board. I can see that it reaches board_early_init just fine, so I know MLO is getting loaded and executed so far.

To help with the bring up, I'd like to enable early debug messages.

I am seeing my board getting stuck before board_early_init when I attempt to enable these:

CONFIG_DEBUG_UART=y
CONFIG_DEBUG_UART_BASE=0x48020000
CONFIG_DEBUG_UART_CLOCK=48000000
CONFIG_DEBUG_UART_SHIFT=2
CONFIG_DEBUG_UART_NS16550=y

From above, I tried to enable CONFIG_DEBUG_UART_OMAP (which also disabled CONFIG_DEBUG_UART_NS16550), but I am getting compile time error.

Can someone please check my settings? I am using TI Linux SDK 4.02, which came with U-Boot version 2018.01.