I am trying to use UARTA on my Apalis T30 (ttyS0) as a standard serial port and not a debug one. I experience some issues as an “echo”; my serial outputs whatever gets in.
I followed your instructions here: http://developer.toradex.com/knowledge-base/how-to-disable-enable-debug-messages-in-linux
and succesfully changed the serial port in the uboot configuration but my dmesg still says:
[ 0.408111] Selecting UARTA as the debug console [ 0.408156] The debug console clock name is uarta_dbg
And I have an active process
root 523 0.2 0.0 1980 684 ttyS0 Ss+ 17:22 0:00 /sbin/agetty -8 -L ttyS0 115200 xterm
not started by me that uses that UART port. If I kill it it restarts immediately. I know using UARTA as a standard serial port is not recommended but I can not do otherwise.