It does, but it depends on the image you start with.  Usually it's
found in /opt/source/beaglebone-universal-io/, with a symlink for
config-pin in /usr/local/bin/config-pin:

https://github.com/RobertCNelson/omap-image-builder/blob/master/target/chroot/beagleboard.org-wheezy.sh#L389-L396

On 6/23/2016 11:23 AM, William Hermans wrote:
> I thought, perhaps incorrectly that config-pin came shipped by default.
> 
> On Thu, Jun 23, 2016 at 9:22 AM, William Hermans <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     My cure . . .
> 
>     william@beaglebone:~$ wget
>     
> https://raw.githubusercontent.com/cdsteinkuehler/beaglebone-universal-io/master/config-pin
>     william@beaglebone:~$ sudo chmod +x config-pin
>     [sudo] password for william:
>     william@beaglebone:~$ sudo cp ./config-pin /usr/bin
>     william@beaglebone:~$ config-pin -l P8.07
>     default gpio gpio_pu gpio_pd timer
> 
>     On Thu, Jun 23, 2016 at 9:07 AM, William Hermans <[email protected]
>     <mailto:[email protected]>> wrote:
> 
>         Still no dice . . .
> 
>         william@beaglebone:~$ dmesg |grep univ
>         [    0.000000] Kernel command line: console=tty0 
> console=ttyO0,115200n8
>         bone_capemgr.enable_partno=cape-universaln root=/dev/mmcblk0p1
>         rootfstype=ext4 rootwait ipv6.disable=1
>         [    5.541989] bone_capemgr bone_capemgr: enabled_partno PARTNO
>         'cape-universaln' VER 'N/A' PR '0'
>         [    5.563179] bone_capemgr bone_capemgr: slot #4: 'Override Board
>         Name,00A0,Override Manuf,cape-universaln'
>         [    5.704778] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0
>         [    5.713400] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1
>         . . .
> 
>         [    6.198582] gpio-of-helper ocp:cape-universal: Allocated GPIO id=32
>         [    6.204916] gpio-of-helper ocp:cape-universal: ready
>         [    6.320586] bone_capemgr bone_capemgr: slot #4: dtbo
>         'cape-universaln-00A0.dtbo' loaded; overlay id #0
>         william@beaglebone:~$ sudo config-pin
>         [sudo] password for william:
>         sudo: config-pin: command not found
> 
>         william@beaglebone:~$ uname -r
>         4.4.9-bone-rt-r10
> 
>         william@beaglebone:~$ cat /etc/dogtag
>         BeagleBoard.org Debian Image 2016-05-01
> 
>         william@beaglebone:~$ cat /boot/uEnv.txt |grep cmdline
>         #cmdline=coherent_pool=1M quiet cape_universal=enable ipv6.disable=1
>         cmdline=ipv6.disable=1
>         #cmdline=coherent_pool=1M quiet cape_universal=enable
>         video=HDMI-A-1:1024x768@60e
>         #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
> 
>         william@beaglebone:~$ cat /boot/uEnv.txt |grep universaln
>         cape_enable=bone_capemgr.enable_partno=cape-universaln
> 
> 
> 
> 
>         On Thu, Jun 23, 2016 at 8:48 AM, William Hermans <[email protected]
>         <mailto:[email protected]>> wrote:
> 
>             @Robert
> 
>             So I decided to give universal-io a go for the first time( finally
>             ), but . . . trying to follow along with Charles' examples on 
> github
>             . . .
> 
>             william@beaglebone:~$ sudo config-pin -l P9.14
>             sudo: config-pin: command not found
> 
>               At this point, I do not know what is going on. So I check 
> around a
>             little.
>             william@beaglebone:~$ dmesg |grep universal
>             [    0.000000] Kernel command line: console=tty0
>             console=ttyO0,115200n8 root=/dev/mmcblk0p1 rootfstype=ext4 
> rootwait
>             coherent_pool=1M quiet cape_universal=enable ipv6.disable=1
> 
>             william@beaglebone:~$ cat /boot/uEnv.txt | grep cmdline
>             cmdline=coherent_pool=1M quiet cape_universal=enable 
> ipv6.disable=1
>             #cmdline=ipv6.disable=1
>             #cmdline=coherent_pool=1M quiet cape_universal=enable
>             video=HDMI-A-1:1024x768@60e
>             #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
> 
>             At which point, I am stuck. I did on a previous boot also manually
>             load the universaln overlay. I did notice a lot more noise from
>             dmesg in relation to pings being configured. But still no 
> config-pin
>             utility . . .
> 
>             What am I missing ?
> 
>             -- 
>             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 [email protected]
>             <mailto:[email protected]>.
>             To view this discussion on the web visit
>             
> https://groups.google.com/d/msgid/beagleboard/f35e0bef-730f-4ddb-bc64-1abb8e4a24e8%40googlegroups.com
>             
> <https://groups.google.com/d/msgid/beagleboard/f35e0bef-730f-4ddb-bc64-1abb8e4a24e8%40googlegroups.com?utm_medium=email&utm_source=footer>.
>             For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> 
> -- 
> 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 [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/CALHSORqZwjcxuJKZDirbD8J80mgetcgxNRxgbcgMraGjLyOk7w%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/beagleboard/CALHSORqZwjcxuJKZDirbD8J80mgetcgxNRxgbcgMraGjLyOk7w%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
> 


-- 
Charles Steinkuehler
[email protected]

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/4718b2a6-629f-d06b-abb2-e2bd321d4529%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to