0
Felix S

Running canbus on Banna Pi M4?

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?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0