CP210X Driver on iMX7D Linux V2.7.3

I have a sensor with serial communcation using a CP2102 USB to UART converter. My platform is a Colibrí imx7D running Linux 2.7.3.

I cannot find the ttyUSBX port so how can I install the drivers?

Below some prompts from the Linux terminal

root@colibri-imx7:~# dmesg | grep tty
[    0.000000] Kernel command line: ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubifs ubi.fm_autoconvert=1 console=tty1 console=ttymxc0,115200n8 consoleblank=0 video=mxsfb:800x480M-16@60
[    0.002413] console [tty1] enabled
[    0.267375] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 273, base_baud = 1500000) is a IMX
[    0.992946] console [ttymxc0] enabled
[    3.069295] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    3.399280] systemd[1]: Created slice system-getty.slice.
[    3.548544] imx_rpmsg_tty rpmsg0: new channel: 0x400 -> 0x0!
[    3.556142] Install rpmsg tty driver!

root@colibri-imx7:~# lsusb
Bus 002 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 002 Device 004: ID 046a:b091 Cherry GmbH
Bus 002 Device 003: ID 222a:0001
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


You need to compile a custom kernel and integrate the driver CP102X ).

Best regards,

Hi Jaski,
great, I have not find it. Another question:
Can I compile the driver on target and “install” it to the kernell?

Hi, I updated the link above.
You can compile the driver on the module, but we recommend you to do the cross compilation on your host.

Note, currently the gcc is broken in the regular images as reported here. You will need to compile a custom image to make it work.