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 Pro SPI

Featured Replies

What module should I load to get SPI working on 4.x kernel image? My usual suspect spi_bcm2708 is not available. I once used it on Banana Pi M2 from other manufacturer (SinoVOIP?) with Raspbian, now on Banana Pro I'm stuck with not working SPI.

My usual suspect spi_bcm2708 is not available. I once used it on Banana Pi M2 from other manufacturer (SinoVOIP?) with Raspbian

 

Very unlikely since the M2 is also not a board using a BroadCom SoC. Have you tried a 'modprobe spidev' already? To check whether kernel support is present I would've a look at the output of

zgrep CONFIG_SPI /proc/config.gz

With kernel 3.4.108 it will be the same or similar as you are used to. The module name in Allwinner world is spi_sun7i (not Broadcomm  bcm2708) and it's already loaded within my images. But to enable SPI you need to enable it in script.bin files located in /boot ...

 

For kernel 4.x I can't give you direct how-to since I haven't come this far. It's totally different but possible. 

 

ADD: And spidev too yes.

  • Author

modprobe -v spidev prints nothing and module is not loaded.
 
Kernel is stock, so it has SPI support compiled in. Module spi_7sun (nor any other sun*-spi) is not available although it's enabled in config:

 

$ zgrep CONFIG_SPI /proc/config.gz
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y
# CONFIG_SPI_ALTERA is not set
# CONFIG_SPI_BITBANG is not set
# CONFIG_SPI_BUTTERFLY is not set
# CONFIG_SPI_CADENCE is not set
# CONFIG_SPI_GPIO is not set
# CONFIG_SPI_LM70_LLP is not set
# CONFIG_SPI_FSL_SPI is not set
# CONFIG_SPI_OC_TINY is not set
# CONFIG_SPI_PXA2XX_PCI is not set
# CONFIG_SPI_ROCKCHIP is not set
# CONFIG_SPI_SC18IS602 is not set
CONFIG_SPI_SUN4I=y
CONFIG_SPI_SUN6I=y
# CONFIG_SPI_XCOMM is not set
# CONFIG_SPI_XILINX is not set
# CONFIG_SPI_DESIGNWARE is not set
CONFIG_SPI_SPIDEV=y
# CONFIG_SPI_TLE62X0 is not set

 

I specifically need newer kernel because of docker>=1.6.2 requirement.

  • Author

Thank you.

 

Replying to myself: spidev is not loaded because it's not compiled as module.

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.