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.

Spi on Orange Pi Pc

Featured Replies

 

Good day.

 

My trouble - is not started spi, on orange pi pc, with ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 4.10.0-sun8i

 

I read documentation for DTB overlays on official site https://docs.armbian.com/Hardware_Allwinner_overlays/

 

Check armbianEnv.txt,

edit DTB (dts) sun8i-h3-orangepi-pc.dts

And change status from "disabled" to "okay

spi@01c68000 {            ......            status = "okay";          .......
 

 

This is my /boot/armbianEnv.txt

verbosity=1
console=serial
overlay_prefix=sun8i-h3
overlays=w1-gpio spi-spidev
param_spidev_spi_bus=0
 

 

But SPI not started

 

This is boot log http://sprunge.us/SJQh

 

 

3 hours ago, Sandr said:

My trouble - is not started spi, on orange pi pc, with ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 4.10.0-sun8i

 

I read documentation for DTB overlays on official site https://docs.armbian.com/Hardware_Allwinner_overlays/

And I'm assuming you saw this in the docs page you linked:

Quote
  • DT overlays are a Work-in-Progress (WIP) feature, present only in fresh images starting with 5.30, nightly and user made images
  • For older images (even upgraded to 5.30 or later) manual update of the u-boot and the boot script is required

 

  • Author

I have upgrade my system to ARMBIAN 5.31 stable Ubuntu 16.04.2 LTS 4.11.5-sun8i

But in docs 

Quote

 older images (even upgraded to 5.30 or later) manual update of the u-boot and the boot script is required

And new question: 

where i can find docs - How manual update u-boot and boot script?

  • Author

And new question

I cant find gpio module gpio-sunxi

> modprobe gpio-sunxi
modprobe: FATAL: Module gpio-sunxi not found in directory /lib/modules/4.11.5-sun8i

and of course 

Quote

sunxi-tools is already the newest version (1.4.2-1~armbian5.31+1)

 

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.