Hello,
I want to use SocketCan on the Banana Pi / Allwinner A20 with the internal CAN interface.
I have tested my hardware in the past using can4linux and also have some experience with Socketcan and other interfaces.
Configuarion: Armbian
root@bananapi:/# uname -r 4.4.1-sunxi
loaded the can driver with "modprobe sun4i_can" results in "lsmod":
Module Size Used by sun4i_can 5810 0 can_dev 8307 1 sun4i_can
And dmesg states:
[ 2632
Hi,
I had the same problem still with ARMBIAN 5.38 stable Debian GNU/Linux 9 (stretch) 4.14.18-sunxi. But I didn't want to compile the kernel anew.
So I did
dtc -I dtb -O dts -o sun7i-a20-bananapi.dts sun7i-a20-bananapi.dtb
with a copy of the dtb file from "/boot/dtb-4.14.18-sunxi" (maybe with sudo).
Then edited the dts like this patch
--- sun7i-a20-bananapi.dts 2018-03-05 18:42:30.608935387 +0000
+++ sun7i-a20-bananapi_can.dts 2018-03-05 18:28:21.085552756 +0000
@@ -1