Hi All,
In my custom board which is based on P2041RDB, by default console prints are coming in UART1. But i wanted to get the output prints on UART2 instead UART1. Following changes have been made from my end,
1) changed RCW[366:368] from 011 to 101
2) changed uboot parameter "consoldev" from ttyS0 to ttyS1.
but still prints are coming in UART1.
Note: As of now i'm trying at uboot level only.
Can some one guide me what else change is required ??
Thanks,
Gourav
Hello gourav jain,
Please edit u-boot configuration file include/configs/P2041RDB.h, please find the section "Serial Port", and change the variable "CONFIG_CONS_INDEX" to "2" instead of "1", then rebuild u-boot.
In addition, in Kernel bootargs, please change bootargs as "root=/dev/ram rw console=ttyS1,115200" rather than "console=ttyS0".
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yiping,
Thanks for your help. Its working now.
Have one dobt can't we enable both the UART together ??
--
Gourav
Hi Yiping,
Waiting for your response....
Hi Yiping Wang,
UART-1 and UART-2 both are working individually. How can i get the data in both the UARTs simultaneously ??
regards,
Gourav