unable to enable gpio pins when uboot-overlays is disabled in uEnv.txt file on debian 8.7

45 views
Skip to first unread message

jithu...@gmail.com

unread,
Aug 27, 2018, 11:53:27 AM8/27/18
to BeagleBoard
Hi everyone,

I am not able to enable any GPIO pins and then toggle them using (for eg:  config-pin P8.7 gpio) command. 

debian@beaglebone:~$ config-pin P8.7 gpio
P8_07 pinmux file not found!
Pin has no cape: P8_07

Actually  in uEnv.txt i have disabled uboot-overlays because when i enable it i am not able to play audio.when i disable it i am able to play audio.

###Master Enable
#enable_uboot_overlays=1

###Cape Universal Enable
enable_uboot_cape_universal=1
(i enabled cape-universal also but as uboot-overlay is disabled cape-universal is also not working i guess)  

cape_enable=bone_capemgr.enable_partno=BB-UART2,BB-UART4,BB-BONE-AUDI-02
(this is to enable audio)

So i just want to know is there any other way to enable GPIO other than uboot-overlay(cape-universal) as i cant compromise on audio. Audio is must for my project. I have tried multiple ways for audio.only this method worked. So i want alternative way for enabling GPIO.

Please help ASAP.

Thanks in advance.
Jithu

Robert Nelson

unread,
Aug 27, 2018, 12:36:41 PM8/27/18
to Beagle Board
This was fixed within the last couple of weeks..

Run

sudo /opt/scripts/tools/version.sh

So we can find out what your running.

Regards,


Thanks in advance.
Jithu

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/bdce1fbd-2f5f-4897-bf2c-cd42c1949216%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jithu nair

unread,
Aug 28, 2018, 9:57:13 AM8/28/18
to beagl...@googlegroups.com
Hi Robert,

Thanks alot for replying. Ok but when i searched i couldnt find a solution. It will be really helpful if u will look into this. Here is the version.sh log which u asked for.

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
[sudo] password for debian:
git:/opt/scripts/:[4dd50b306e4eb31a05bb72a9573febc3695f1f05]
eeprom:[A335BNLT00C04717BBBK0E43]
dogtag:[BeagleBoard.org Debian Image 2017-03-19]
bootloader:[/dev/mmcblk0]:[U-Boot 2017.03-00002-gd12b1519b4]
kernel:[4.4.54-ti-r93]
nodejs:[v6.14.3]
device-tree-override:[dtb=ibot_controls.dtb]

The dtb file is the one which i compiled for some extra features.

Thanks,
Jithu

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/j5pFExQm0Nw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYhKvFP9d6Qu27sbhBGoo%2BTgcrZMfzodeTj30phteQrLNA%40mail.gmail.com.

Robert Nelson

unread,
Aug 28, 2018, 10:06:56 AM8/28/18
to Beagle Board, jithu...@gmail.com
On Tue, Aug 28, 2018 at 8:57 AM jithu nair <jithu...@gmail.com> wrote:
>
> Hi Robert,
>
> Thanks alot for replying. Ok but when i searched i couldnt find a solution. It will be really helpful if u will look into this. Here is the version.sh log which u asked for.
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> [sudo] password for debian:
> git:/opt/scripts/:[4dd50b306e4eb31a05bb72a9573febc3695f1f05]
> eeprom:[A335BNLT00C04717BBBK0E43]
> dogtag:[BeagleBoard.org Debian Image 2017-03-19]
> bootloader:[/dev/mmcblk0]:[U-Boot 2017.03-00002-gd12b1519b4]

too old, you'd need 2018.03

> kernel:[4.4.54-ti-r93]

wrong branch, you'll need v4.14.x-ti (4.14.65-ti-r72)

> nodejs:[v6.14.3]
> device-tree-override:[dtb=ibot_controls.dtb]

this disables the config-pin path in v4.14.x-ti.. (4.14.65-ti-r72)

This would get you that:

```
debian@test-bbb-2:~$ cd /opt/scripts/tools/
debian@test-bbb-2:/opt/scripts/tools$ git pull
Already up-to-date.
debian@test-bbb-2:/opt/scripts/tools$ sudo ./update_kernel.sh
--ti-channel --lts-4_14
debian@test-bbb-2:/opt/scripts/tools$ sudo ./developers/update_bootloader.sh
debian@test-bbb-2:/opt/scripts/tools$ sudo apt install --only-upgrade
bb-cape-overlays
```

Just remember, to disable dtb=ibot_controls.dtb in /boot/uEnv.txt

and have:

enable_uboot_overlays=1
enable_uboot_cape_universal=1

enabled...

Regards,

--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages