Hello users of RobertCNelson’s ubuntu/kernel.
I’ve been having some problems which seem to relate the CAN bus. Details of the issue itself are fairly redundant with regards to my actual question, but are as follows: With CAN running and traffic present on the bus, when I do, for example, a very large data transfer from my host machine (over wifi with an ath9k_htc usb wifi device on the BBB in access point mode) using scp, the system regularly locks up (and is subsequently rebooted by the watchdog). Sometime it gives no stack trace messages, but when it does it appears as if various CAN related functions were being processed. Performing this test with the same setup, but can physically disconnected, presents no issues at all.
So I thought I’d take a look at the can driver source files and reading the info from TI here (http://processors.wiki.ti.com/index.php/AM335X_DCAN_Driver_Guide) was expecting to find d_can.c and d_can_platform.c in KERNEL/drivers/net/can/d_can/, but found that only the equivalent c_can files were present - so it seems the very latest can drivers are not being used.
So I have two questions I’d greatly appreciate some help on:
- Is it possible to integrate the d_can driver files into this kernel?
- How would I go about starting to do this?