How do I disable console process on UART0 on A10s-4GB-Android?

Started by kbro, January 25, 2014, 09:36:07 AM

Previous topic - Next topic


I have an A10s board with 4GB NAND running Android.  I can plug a USB-to-TTL-serial cable onto the UART0 pins, set a terminal emulator to 115200,8,N,1 and interact with the debug console.  The problem is that I don't want the console there - I want to use the UART for something completely different - so how do I disable it?

When I type Control-D in the terminal emulator I get messages on the screen that the shell process has exited, which is a step forward, but the next message says that init has restarted the process, so clearly there's a respawn setting in the inittab.  The problem here is that there is no /etc/inittab, so a good question to answer is how init is configured in Android.

The other thing I've come across is the setconsole program, but I haven't been able to get that to do anything helpful either.

Any suggestions?  Thanks.