This is an old revision of the document!
Table of Contents
USB2CAN
Void Linux for Raspberry Pi
First install development tools and the kernel headers.
xbps-install mercurial make gcc rpi-kernel-headers
Now install the kernel modules.
hg clone http://hg.kewl.org/pub/can-modules cd can-modules ./rpi-void.sh
Bananian for Banana Pi
Install development tools and the kernel headers and then install the kernel modules.
hg clone http://hg.kewl.org/pub/can-modules cd can-modules ./bpi-bananian.sh
Configure
modprobe usb_8dev ip link set can0 up type can bitrate 250000 ip link set can0 txqueuelen 1024 ip -s -d link show can0