Source files for DCAN drivers?

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 ( 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:

  1. Is it possible to integrate the d_can driver files into this kernel?
  2. How would I go about starting to do this?

Andrew Glen.

That wiki ( pertains to what is built with TI Linux SDK

Thanks Lazarman; understood.

I was just wondering if anyone could give some guidance (or an indication of viability) on patching the RCN kernel with the TI D_CAN driver files. I’m fairly confident modifying config options and recompiling the kernel etc, but have no experience with the process of adding new features which this would appear to be.