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.
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”
--> 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
Thanks & Regards,
RAY BIZ Tech.