Console UART To Application UART RS232

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Console UART To Application UART RS232

941 次查看
admin
Specialist II

Hi all,

      we are using mx28, in our board, we have one rs232 port (console port).  

we like to use for application purpose.

after  login, how to use the the console UART to application UART.

Thanks.

标签 (1)
0 项奖励
1 回复

473 次查看
Raybiztech
Contributor V

Serial console can be extremely convenient if you need to access your imx28-board when it is not connected to a monitor and network remote access is not available.

If you intend to use the serial port for a software application running on the IMX28- board, there is a bit of configuration required to disable the console from using this port. By default, the serial port is configured as a console port for interacting with the Linux os shell. The following steps will guide you through disabling the port from console access.

Step1: while passing bootargs env variable to uboot, edit console parameter from “console=ttymxc1” to “console=tty1”

Step 2:

--> if you are usnig Buildroot, openembedded, yocto, Debian based root filesystem means comment following line in “etc/inittab” file,

T0:23:respawn:/sbin/getty -L ttymxc1 115200 vt100


--> if you are using ltib based root file system means add following lines at starting line in “etc/rc.d/rc_mxc.S” file,


if grep -sq tty1 /proc/cmdline; then

      /sbin/getty -L tty1 115200 vt100

fi



Thanks & Regards,

RAY BIZ Tech.

0 项奖励