Hi all,
I am bringing up a custom board. We moved the debug console from UART0 to UART2. I was able to get UBOOT to use UART2, but can not figure out how to setup the Linux Source to use UART2. Any suggestions?
Thank You.
Chuck
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 all,
I am bringing up a custom board. We moved the debug console from UART0 to UART2. I was able to get UBOOT to use UART2, but can not figure out how to setup the Linux Source to use UART2. Any suggestions?
Thank You.
Chuck
Hi Chuck,
The kernel serial console can be changed by the U-Boot "console" env var:
setenv console ttyO2,115200n8
If you wish to change the user-space console as well, you need to change the following line inside /etc/inittab in your rootfs partition:
S:2345:respawn:/sbin/getty 115200 ttyO0
Best regards,
Miroslav
Thank you.
I neglected to mention that my Uart2 is on L18 and K18. Which are routed as part of the MII in mode 0 of the ZCZ package. How do I change those pins to be UART2 TX and RX in kernel code?
Thanks,
Chuck
Hi CKamas,
I am also trying to change linux console from UART0 to UART2 on the Beagle bone black but, the uboot messages does not show up on UART2 whereas the kernel log shows up completely and I am able to get the liunx userspace console as well on UART2.
Any help would be appreciated.
Can you suggest me how you moved the debug console from uart0 to uart2?
For changing Uboot, as always GOOGLE is your friend:
http://e2e.ti.com/support/arm/sitara_arm/f/791/t/367955.aspx
Good luck and let me know if you get it working.
Chuck