Skip to main content

Serial console

Connect the debug UART​

Use a 3.3 V USB-to-TTL adapter on J4, the three-pin SH1.0 debug connector. This is not the 40-pin header UART5. Shut down and disconnect board power before wiring; locate the connector and physical pin 1 on the actual board.

J4 pinBoard signalUSB-UART adapter connection
1UART0 RXAdapter TX
2GNDAdapter GND
3UART0 TXAdapter RX

Leave the adapter's power wire disconnected and power Mo62A through its normal supply. Do not use an RS-232-level interface or a 5 V signal output. Wire colours are not a pinout.

The J4 circuit is on the right-hand side of the original schematic sheet 17; the connector table gives its board position.

Open a host terminal​

Select the adapter's actual device, preferably its stable /dev/serial/by-id/ path when available. The example /dev/ttyUSB0 is not guaranteed on every host.

ls -l /dev/serial/by-id/
minicom -s

In Serial port setup, select the device and set 115200 baud, 8 data bits, no parity, 1 stop bit, and both hardware and software flow control off. Save the configuration, then open the terminal, for example:

minicom -D /dev/ttyUSB0 -b 115200

The command selects a device and baud rate; confirm the other settings in minicom rather than assuming a previous profile is correct. On hosts that restrict serial devices, use the appropriate group membership and re-login; do not make the device world-writable.

Open the terminal before powering on to capture the boot sequence. Avoid typing while collecting an uninterrupted boot log. The current source has changed autoboot/menu behaviour, so do not assume an older interactive menu or countdown is present. For normal overlay selection from a running system, use Device tree overlays.

Confirm Linux console state​

From an existing local or SSH session, the following checks do not consume serial input or change its settings:

tr ' ' '\n' < /proc/cmdline | grep '^console='
systemctl is-active [email protected]
Live read-only system capture showing the default boot entry, console=ttyS2,115200n8 and an active serial-getty

The tested image reported console=ttyS2,115200n8 and an active getty. This capture was obtained over SSH and is not a newly recorded USB-UART boot trace or electrical loopback test. The UART5 loopback uses a different UART and does not validate J4.

Troubleshooting and log sharing​

SymptomCheck
No output at allCorrect host adapter, common ground, crossed TX/RX, J4 pin numbering and board supply
Garbled characters115200 8N1, 3.3 V signalling, stable power and cable quality
Output appears but input does not workAdapter TX to board RX, flow control disabled and no competing serial application
Linux boots but no login promptConfirm the ttyS2 console argument and [email protected] state
Host permission deniedAdapter-device ownership and group access; re-login after group changes

Keep raw logs private until reviewed. Remove account names if needed, passwords, tokens, network identifiers and confidential application output before attaching a log to a public issue. Never record a password-entry session for documentation.

Source: inhandnet/mo-docs · 7ba0dc46