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.

H2+ SPI with OrangePi Zero running Linux 5.10.xx-sunxi

Featured Replies

Hello there,

 

I have an Orange Pi Zero running Armbian 22.02.0-trunk.0003 Bullseye with Linux 5.10.89-sunxi.
I have followed this thread about H3 and SPI, but it does not work for me. I have checked the right (?) options in armbian-config, added spi0-spidev in armbianEnv.txt.
Here is my armbianEnv.txt:

verbosity=1
bootlogo=false
console=serial
disp_mode=1920x1080p60
overlay_prefix=sun8i-h3
overlays=i2c0 pwm spi-add-cs1 spi-jedec-nor spi-spidev usbhost2 usbhost3 spi0-spidev
rootdev=UUID=1244dc6c-1888-4768-9cbd-922ca4cc3436
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

I don't have any spi subfolder in /dev.
I'm almost sure I have forgotten something really trivial, but I can't see what for the time being.

 

Can anyone point me the obvious mistake I made?

Thanks.

  • Author

Thank you Werner. I will try on a supported version of Armbian with another Zero and see what I get.

It is possible that there are some options missing from armbianEnv.txt. On my Banana Pi M2 Zero, beyond setting the overlays, some additional settings had to be added to armbianEnv.txt. These options are:

param_spidev_spi_bus=1
param_spidev_spi_cs=0

If I understood the page about the OrangePi Zero (https://linux-sunxi.org/Xunlong_Orange_Pi_Zero), using BUS 1 and CS 0 should work (however, I don't have one to test).

 

You can find a more complete description about all possible parameters for armbianEnv.txt for the H3 on the page https://github.com/armbian/sunxi-DT-overlays/tree/master/sun8i-h3

On 1/11/2022 at 4:36 PM, gounthar said:

Thank you FurretUber, I'll try that.

Did you solve this issue? I have similar issue on 22.02 - I can't enable SPI

2 minutes ago, gounthar said:

Nope, sorry.

I reported bug, you can track it or add your input:

 

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.