Could someone explain to me (or point me to some docs) about all the ports and how they work? My board has 2 large serial ports UART0 and UART1, one smallish one that I can jumper to use instead of the big UART0, and an Ethernet port.
1. Looking at the Telnet example, there's still a serial port opened. What for? Debugging?
2. In my own setup I have UART0 connected to an external device that I want to control, UART1 goes to a laptop (for debugging I assume), and the ethernet also goes to the laptop.
I only open one serial port to communicate with the device, and also use it for the Telnet connection with CmdAddCommandFd. This right here may be my problem....
Now, why does Telnet need a serial port to work with? I thought it just opens a socket on the ethernet port. And where do I tell it to use UART1 for debugging output that I can connect the MTTTY to?
Anyway, as it is, when I connect to the Telnet socket, MTTTY shows stuff being sent to it constantly, which makes my device do things it's not supposed to

This probably sounds very silly, but if someone could explain these things to me, that'd be great

Thanks!
Christoph