Other Parts Discussed in Thread: BEAGLEBOARD-X15
Hello,
I'm using processor sdk 5.02 with am5728.I'm trying to port uboot 2018.01 to our Custom designed board based on AM5728 EVM board.
So i've modified our ram timing as described in AM57x, DRA7x, and TDA2x EMIF Tools.pdf and updated uboot files according, Default uart is on the same port as beagleboard evm.Modified other pinmux configuration as per requirement.But still board doesn't start so trying to enable early debug print in spl so i've modified uboot as per below.
Added below line in include/configs/am57xx_evm.h
#define DEBUG 1
Updated uboot config to this and modified default uboot config file in configs/am57xx_evm_defconfig
CONFIG_DEBUG_UART=y CONFIG_DEBUG_UART_OMAP=y CONFIG_DEBUG_UART_BASE=0x48020000 CONFIG_DEBUG_UART_CLOCK=48000000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_DEBUG_UART_ANNOUNCE=y
Still i'm not getting any output on serial.
While trying to debug using XDS110 it stuck at below line in file drivers/serial/ns16550.c
static inline void _debug_uart_putc(int ch)
{
struct NS16550 *com_port = (struct NS16550 *)CONFIG_DEBUG_UART_BASE;
--> while (!(serial_din(&com_port->lsr) & UART_LSR_THRE))
;
serial_dout(&com_port->thr, ch);
}
While debugging uboot sometimes it jumps to 0xc mmc_fat_write funtion and the reason is not always the same line.
Can anybody guide me how to troubleshoot this issue.
Thanks,