各位好。
我使用的是4.9.28的内核,发现tisdk_am335x-evm_defconfig默认的配置文件中,配置串口是CONFIG_SERIAL_8250,而不是CONFIG_SERIAL_OMAP,那么这里为什么要配置成8250呢?8250的串口驱动是干嘛用的?
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.
各位好。
我使用的是4.9.28的内核,发现tisdk_am335x-evm_defconfig默认的配置文件中,配置串口是CONFIG_SERIAL_8250,而不是CONFIG_SERIAL_OMAP,那么这里为什么要配置成8250呢?8250的串口驱动是干嘛用的?
一般这种信息在user guide中的相关模块章节都能查到:
比如你的这个问题:

The 8250 UART driver framework has been used for many years for several processors including x86. Therefore, TI plans on shifting away from omap-serial driver to the generic 8250 framework. 8250 support for OMAP devices was accepted into mainline 3.19 kernel.
Currently there are two UART drivers available to the user and by default the legacy omap-serial driver is used. The current plan is to eventually make the 8250 driver the default for OMAP devices after several kernel releases to insure proper testing.
However, the 8250 driver includes several features that are extremely useful for some users right now. The biggest new feature is support for DMA when using UART which significantly increases throughput and reliability while at the same time significantly decreasing CPU load. If you will be transferring alot of data via UART at a very high baud rate then it is recommend to use the 8250 driver.