On 7/6/2016 11:58 AM,
fis...@gmail.com wrote:
>
> Personally, I have been able to complete a connection through the use of USB,
> but the serial port is an issue. (Seems like they automatically tie up with a
> console, which interferes with the communication between the printer and the
> server.) UART should work well once I find a method to remove the console tie-up.
AFAIK, there's only one serial console, and that's on the serial debug
port (the 6-pin header). You should be free to use any of the UARTs
connected to P8/P9 pins, but you'll probably need to enable them first
via a device tree overlay.
If you want to use the 6-pin serial debug header, you can disable the
console by editing /etc/inittab. Comment the line near the bottom
that looks like:
T0:23:respawn:/sbin/getty -L ttyO0 115200 vt102
...then you should be able to use the port for whatever you want, but
you'll still get some "garbage" spewed by the kernel and u-Boot at
boot. You could disable that too, but it's more complicated. If the
characters printed at boot are a problem, just use one of the ports on
P8/P9.
--
Charles Steinkuehler
cha...@steinkuehler.net