Im trying to use UART1 as debug console, linux prints are seen on UART1 console but u-boot prints are seen on UART0.
Below are the configuration done in u-boot,
- #define CONFIG_SYS_NS16550_COM2 SOCFPGA_UART1_ADDRESS
- #define CONFIG_CONS_INDEX 2
- #define CONFIG_BOOTARGS “console=ttyS1,” __stringify(CONFIG_BAUDRATE)
Do I have to configure anything else other than the above to make UART1 to work as debug port?
Below is my workig environment,
Board: Arria10 SX660 SoC
Thanks in advance.