Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Banana Pi M1 SPI

Featured Replies

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

 

  • Author

One small thing to clarify. In that article there is "/boot/dtb". Does that mean that changes should be made on running board or it means "build/cache/sources/.../arch/arm/boot/dts" on PC where I compile?

i updated with armbian-config to newest nightly and enabled all spi overlays but still have no /dev/spi* :(

any clue?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.