On our carrier board for Xavier, the USB is connected to FTDi (USB to serial) and is populated as ttyUSB0. We want to use this as serial port rather than console port.
When we do a loopback test(ttyUSB0 to ttyTHS0), it seems functioning as a debug console for a minute and then act as serial port. Anything we type, it shows up the login prompt expecting username and password. After providing incorrect credentials, logging times out after 60s and then acts as serial port. Thereupon we are able to perform loopback test.
Why is this behaviour and how can I disable those console part?