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.

Linux/am5728: CAN0 not found

Part Number: AM5728

Tool/software: Linux

Using a am572x_gp_evm_REV_A3a evaluation module with the display panel detached.  According to the schematics the connector P17

has DCAN1_RX and DCAN1_TX accessible on pins 20 and 50 respectively.  Running the stock Linux kernel but I seem to be unable to

get the can device to be recognized by the kernel.  Not sure what I am missing.

root@am57xx-evm:~# uname -a
Linux am57xx-evm 4.9.28-geed43d1050 #2 SMP PREEMPT Wed Jun 28 18:16:59 EDT 2017
armv7l GNU/Linux
root@am57xx-evm:~# canconfig can0 bitrate 100000 ctrlmode triple-sampling on
Cannot find device "can0"
failed to set bitrate of can0 to 100000
root@am57xx-evm:~# modprobe can
root@am57xx-evm:~# modprobe can-dev
root@am57xx-evm:~# modprobe can-raw
root@am57xx-evm:~# dmesg | grep can:
[   43.350819] can: controller area network core (rev 20120528 abi 9)
[   61.919590] can: raw protocol (rev 20120528)
root@am57xx-evm:~# canconfig can0 bitrate 100000 ctrlmode triple-sampling on
Cannot find device "can0"
failed to set bitrate of can0 to 100000
root@am57xx-evm
:~#

tail of dmesg:

[   43.350819] can: controller area network core (rev 20120528 abi 9)
[   43.357269] NET: Registered protocol family 29
[   53.801815] CAN device driver interface
[   61.919590] can: raw protocol (rev 20120528)