Jump to content

Spi on Orange Pi Pc


Sandr

Recommended Posts

 

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

 

 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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)

 

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