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
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.
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,
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
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,