Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

Orange Pi and Blinka
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Orange Pi and Blinka

by keremsoke on Fri Apr 03, 2020 4:44 pm

Hello, I'm trying to install Blinka to my Orange Pi Zero with this tutorial. https://learn.adafruit.com/circuitpytho ... ange-pi-r1
I've installed kernel headers for 5.14. When I exec ./libgpiod.sh command to install libgpiod, it gives this errors:
configure: error: "libgpiod needs linux headers version >= v5.5.0"
cp: cannot stat 'bindings/python/.libs/gpiod.so': No such file or directory
cp: cannot stat 'bindings/python/.libs/gpiod.la': No such file or directory
cp: cannot stat 'bindings/python/.libs/gpiod.a': No such file or directory

My "uname -sr" output: Linux 5.5.14-sunxi

My "cat /etc/armbian-release"output:
# PLEASE DO NOT EDIT THIS FILE
BOARD=orangepizero
BOARD_NAME="Orange Pi Zero"
BOARDFAMILY=sun8i
BUILD_REPOSITORY_URL=https://github.com/armbian/rkbin
BUILD_REPOSITORY_COMMIT=3e533c9
DISTRIBUTION_CODENAME=buster
DISTRIBUTION_STATUS=supported
VERSION=20.02.1
LINUXFAMILY=sunxi
BRANCH=current
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=Image

keremsoke
 
Posts: 2
Joined: Fri Apr 03, 2020 4:33 pm

Re: Orange Pi and Blinka

by siddacious on Mon Apr 06, 2020 1:29 pm

I'm not sure myself but I'll get this to someone who can help. Stand by!

siddacious
 
Posts: 271
Joined: Fri Apr 21, 2017 3:09 pm

Re: Orange Pi and Blinka

by MakerMelissa on Mon Apr 06, 2020 1:32 pm

Hi,

Want to try installing it as a package? You can follow the section titled "Installing the libgpiod as a package" in https://learn.adafruit.com/adding-a-sin ... ware-setup. It might be easier.

If it works, for you, then we can update the guide.

Melissa

MakerMelissa
 
Posts: 138
Joined: Wed Jun 05, 2013 2:10 am

Re: Orange Pi and Blinka

by keremsoke on Mon Apr 06, 2020 6:11 pm

It worked when I installed it as a package. Thank you so much. :)

keremsoke
 
Posts: 2
Joined: Fri Apr 03, 2020 4:33 pm

Re: Orange Pi and Blinka

by MakerMelissa on Mon Apr 06, 2020 6:14 pm

Excellent. Thanks for letting us know.

MakerMelissa
 
Posts: 138
Joined: Wed Jun 05, 2013 2:10 am

Please be positive and constructive with your questions and comments.