0

BB GPIO unable to unexport gpio
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

BB GPIO unable to unexport gpio

by smbrandonjr on Thu Oct 11, 2018 12:48 am

I want to use gpio0_30 for something in an app I have written. I am unable to unexport the gpio, but can export/unexport others...

I am using a Beaglebone Black, running:

dogtag:[BeagleBoard.org Debian Image 2017-03-19]
bootloader:[/dev/mmcblk0]:[U-Boot 2017.03-00002-gd12b1519b4]
bootloader:[/dev/mmcblk1]:[U-Boot 2018.03-00002-gac9cce7c6a]
kernel:[4.4.54-ti-r93]
nodejs:[v4.9.1]
Attachments
gpio-issue.PNG
gpio-issue.PNG (14.66 KiB) Viewed 24 times

smbrandonjr
 
Posts: 1
Joined: Thu Oct 11, 2018 12:44 am

Re: BB GPIO unable to unexport gpio

by drewfustini on Fri Oct 12, 2018 6:34 am

This version is u-boot bootloader on the eMMC is too old.

Please run this command on your BeagleBone to disable the old version of the u-boot bootloader on the eMMC:
sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10

This will cause the newer u-boot bootloader on the SD card to be used.

drewfustini
 
Posts: 844
Joined: Sat Dec 26, 2015 1:19 pm

Please be positive and constructive with your questions and comments.