imx8qm mek测试can,使用ifconfig can0 up提示:
flexcan 5a8d0000.can can0: bit-timing not yet defined
ip: SIOCSIFFLAGS: Invalid argument
有人遇到过没?
另外unit_tests中也没有can的测试程序,imx8qm和imx6q的can使用是否有不同?
有知道的帮忙看下,谢谢了!
Unfortunately the i.MX8 Family has not been release yet, it is under preproduction. Please contact your local Sales or Distributor to get details about this issue that you detect. I apologize for the inconvenience.
已经解决,主要是linux-4.14.98问题,这个版本内核不再设置默认的can波特率,因此需要在使能can0的时候指定波特率,ifconfig无法提供需要使用ip工具