https://github.com/cbrake/linux-serial-test

简单的使用说明:
linux-serial-test -s -p /dev/ttyO0 -b 3000000
该程序往串口/dev/ttyO2里反复写数据,每隔5s会输出对应的结果。