Our IMX6 Products have the ability to boot a system with a dumb terminal on a serial port as a console. This configuration is useful for developers who want to debug the kernel or device drivers.
The UART is 3.3V, so the USB→UART cable needs to be compatible with 3.3V, not 5V. Adapter cable only needed with HummingBoard.
CuBox-i1 and CuBox-i2 do not have serial port support, CuBox-i2exW, Cubox-i2ex and CubBox-i4Pro come with a FTDI FT230X adapter, vendor ID = 1027 (0x403), productID = 24597 (0x6015).
Using a microUSB cable, it is possible to make serial connection. With a serial connection, the i.MX6 U-Boot command can be changed. It is also possible to log into a Linux environment using terminal emulation.
The serial connection is based on a self powered USB with FTDI. Connect the microUSB cable to a computer, set-up the serial connection, and power-on the CuBox-i. The default configuration is 115200 bps, 8bits, no-stop bit and any flow control disabled.
Enabling serial console in U-Boot
Before making a serial connection, output to the serial console must be enabled in i.MX6 U-Boot . The following arguments must be passed to U-Boot to enable the serial console:
Making a connection
With the power cable to the CuBox-i not connected, plug-in the microUSB cable. Now start the application of your choice. It will make a connection, even if the CuBox-i is not yet powered on. Once you connect the power to the CuBox-i, output will be shown.
In the main screen, select the radio button Serial for Connection type
Change Speed to 115200
If you connect the cable, and the correct driver is installed, a popup balloon will display the COM port CuBox is connected to. If no popup is displayed, just try the different COM ports, starting at COM1.
Try to connect by pressing Open
If nothing happens, change the Serial line to the next COM port (e.g. COM2) until it connects.
Once you know the correct port, save the session. Later open a connection by double-clicking on the session name.
Download, install, and launch
On the initial screen, select the Serial option. Select the COM port the cubox is connected to. Press OK