where is the imx6q /dev/ttyS0 /dev/ttyS1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

where is the imx6q /dev/ttyS0 /dev/ttyS1

879 Views
descent
Contributor I

Dear all,

I have a program that needs to open /dev/ttyS0, I use core-image-minimal-imx6qsabresd.sdcard by yocto.

After booting, I don't find /dev/ttyS0, I check linux-2.6-imx/drivers/tty/serial/imx.c (http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git ) only ttymxc0.

Does something I miss?

Labels (1)
0 Kudos
Reply
1 Reply

676 Views
alejandrolozan1
NXP Employee
NXP Employee

In the latest releases of our BSP, the UART devices are named as ttymxcX. If you need to send data over a UART port you havet to open one of those devices.

Best Regards,

Alejandro

0 Kudos
Reply