Jump to content

Running canbus on Banna Pi M4?


Felix S

Recommended Posts

Hello,

 

I am trying to activate and use canbus on the BananaPi M4. Since the BananaPi M4 is released half a year ago, it seems like never anybody tried this or just don't needed any help. I am googleing for days now to find any solution and get canbus to work.

 

Hardware: BananaPi M4

System: armbian for BananaPi M4 (Debian 10 Buster Lite)

Kernel: 4.9.119-BPI-M4-Kernel

 

I want to use it over SPI like on an raspberrypi 3 there I done the following:

 

Added to the /boot/config.txt

 

dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=6

dtoverlay=spi-bcm2835-overlay

 

After an reboot I activated the Interface:

 

ip link set can0 up type can bitrate 500000

 

How do I get this interface up for the BananaPi M4?

Is it even possible?

Link to comment
Share on other sites

1 minute ago, Igor said:


There is no Armbian for Bananapi M4.

 

yes not directly. It's Debian Buster 10. see: http://wiki.banana-pi.org/Banana_Pi_BPI-M4

2019-08-06 update,BPI-M4/BPI-W2 Debian 10 Buster Lite Demo Image ,This release is for banana pi M4 and W2 board, and it is based on Debian 10 Operation system with kernel 4.9.

 

But if you install this image you get the following screen.

BPI.png.3bbf4e98c9dadb1204427ec5bc28bab5.png

 

So somehow it seems to be something like Armbian Linux.

 

Anyway, someone got any suggestions to help me?

I can't even activate SPI. There's no Output with lsmod or dmesg of SPI

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines