Serial Port Console Redirection on ODROID-H2

The serial redirection allows video and keyboard redirection via serial ports. Video redirection via serial port is commonly used on “headless” systems which run without the need for a VGA video display adapter.

To use this feature on ODROID-H2, the bios version is 1.06 or higher.
Please refer this link for update the BIOS

Requirements

You should connect a USB-UART module connected to your HOST-PC to a 20-pin I/O port of ODROID-H2.
It is important to cross the RX/TX of the UART module and the RX/TX of the 20 pin I/O port of ODROID-H2.

You need to check twice when your wiring.
The “UART:TX” means the TX on UART side and the “H2:TX” means the TX on H2 side. You must cross these pins each other like the picture below. The following example is a connection to the COM0 port of ODROID-H2.
UART:Tx - H2:Rx
UART:Rx - H2:Tx

Please refer to the picture and the table for using the other COM ports.

Pin# Pin Label dev node Pin# Pin Label dev node
8 UART1_RXD COM0 3 UART2_TXD COM1
10 UART1_TXD 5 UART2_RXD

Entering BIOS menu

To enable the SPCR you have to enter the BIOS menu. You can use the DEL key while booting to enter the BIOS. And move to the “Advanced tap” then you can see the “SPCR menu” like the following picture.

In the SPCR menu, you can enable the COM ports you want. And you can also enable “Legacy Console Redirection” and “EMS service”.

To communication with HOST-PC, you should set the baud rate, parity and etc.

Back to your HOST-PC, you can run a serial communication program like “minicom” or “putty” to see and set ODROID-H2's BIOS.

Install minicom

sudo apt install minicom

Check you tty device.

ls /dev/ttyUSB*

Run the minicom for the setting.

sudo minicom -s

In “Serial port setup” menu, set the baud rate, parity, H/W flow control and etc same you set on H2-BIOS.

After that, run the “Save setup as dfl” for the default setting, then “Exit”.

If your H2 is in the BIOS, press the left or right key to see the BIOS screen.

If you can not see the BIOS on the serial terminal, check the two below.

  1. Is your ODROID-H2 currently in BIOS?
  2. Is the serial setting value in the ODROID-H2's BIOS the same as the settings of serial communication program in your HOST-PC? (check baud rate, parity, flow control and etc…)

The user let us know a way to use a colorful BIOS screen with VT100+ instead of boring VT100.

minicom -c 


Further information in the forum thread.