Jump to content

BPI-M2 enable SPI


zoudu

Recommended Posts

Hello Forum,

I want to use the SPI functionality of the BananaPi M2 board and installed "Armbian_5.38_Bananapim2_Ubuntu_xenial_next_4.14.15_desktop.img".

Unfortunately there is no spi device in /dev/.

 

I saw this thread:


So there must be trick to activate I just don't know.

 

Can someone help me? Please!

 

Greetings

Stefan

Link to comment
Share on other sites

Hello Igor,

thanks for reply!

The SoC is a A31S.

 

Following this example: https://docs.armbian.com/User-Guide_Allwinner_overlays/#example-bootarmbianenvtxt-contents

 

The content of my armbianEnv.txt is now:

verbosity=1
logo=disabled
console=both
disp_mode=1920x1080p60
overlay_prefix=sun6i-a31s
rootdev=UUID=a0ca4801-df32-460d-97d3-ee3af8334889
rootfstype=ext4
overlays=spi-spidev

param_spidev_spi_bus=0

usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

But while booting I get this:

** File not found /boot/dtb/overlay/sun6i-a31s-spi-spidev.dtbo **

 

Indeed there is no file with this name in the directory

 

Where I can get this file?

 

Thank you!

 

 

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