Jump to content

Banana Pi M1 SPI


PavloPonomarov

Recommended Posts

Hello. I have a problem with SPI interface

I already tried to compile SPI interface as module in kernel config and then to turn it on, but what I get is:

root@bananapi:~# modprobe -v spidev
insmod /lib/modules/4.13.4-sunxi/kernel/drivers/spi/spidev.ko 
root@bananapi:~# lsmod | grep spidev
spidev                 16384  0 
root@bananapi:~# dmesg | grep spidev
*nothing*
root@bananapi:~# ls /sys/class/spi_master/
spi32766

I found a topic about enabling SPI on Banana Pi Pro here. But after repeating same steps(I mean decompiling dtb, adding spidev and compiling it back) for Banana Pi M1 it doesn't boot any more. After U-boot the cursor blinks for about 10 seconds and the only message is "reboot: rebooting system"

 

Linux bananapi 4.13.4-sunxi #8 SMP Fri Sep 29 09:29:20 CEST 2017 armv7l GNU/Linux

 

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