經實際測試
UART0 對應到 /dev/ttyO0
UART2 對應到 /dev/tty02
1.請問這關係是在哪邊設定的呢?? Kernel / uBoot Source code??
2.為什麼不是ttyS0,ttyS2 而是ttyOx呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这个是个标准的驱动,您可以参考 http://oss.org.cn/kernel-book/ldd3/ch18.html,当然会有区别,因为kernel的版本有升级,您也可以进一步百度下