Hello
I have 6636 custom board, and I want to change UART number On U-boot for debugging. but I cannot find to set UART number in U-BOOT source code.
Can I get a solution changing UART number??
Thank you.
Regards.
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.
Hi,
In EVM, the UART0 will be used by default for console/debugging message.
Please find those definition in below file,
File Name: include/configs/ks2_evm.h
/* UART Configuration */ #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE -4 #define CONFIG_SYS_NS16550_COM1 KS2_UART0_BASE #define CONFIG_SYS_NS16550_COM2 KS2_UART1_BASE #define CONFIG_SYS_NS16550_CLK clk_get_rate(KS2_CLK1_6) #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } #define CONFIG_CONS_INDEX 1 #define CONFIG_BAUDRATE 115200
Please change the index value to 2 for UART1.
Thank you.