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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,239 次查看
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?

标签 (1)
0 项奖励
回复
1 回复

1,036 次查看
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 项奖励
回复