Hi All,
P2040 supports two UARTs.
I'm trying to get the data in both the UART simultaneously but at present i'm able to to get data in either first or second via following changes,
1) RCW file
2) P2041rdb.c board file
3) And root=/dev/ram rw console=$consoledev in uboot. [where consoledev : ttyS0 / ttyS1]
Would be very thankful if someone pls let me know how to get the data on both the UART.
regards,
Gourav Jain
The P2041 u-boot can use UART0 or UART1 as console.
Set the CONFIG_CONS_INDEX to 2 in the /include/configs/P2041RDB.h file in the u-boot source if USRT1 is needed as console.
For using both UART under Linux use the following command:
cat /proc/interrupts
Is there interrupt from both UARTs?
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------