config-pin errors

I am feeling like an idiot here — this used to work a few months back, but I haven’t touched it in a while, and have done some system updates in the meanwhile.

I can’t seem to get config-pin to do anything useful for me:

debian@beaglebone:~$ sudo config-pin P9-23 lo
[sudo] password for debian:
P9_23 pinmux file not found!
WARNING: GPIO pin not exported, cannot set direction or value!
bash: /sys/devices/platform/ocp/ocp*P9_23_pinmux/state: No such file or directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_23_pinmux/state

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[8e0b1e6f135ff3c30468f49a7a952c98be97219a]
eeprom:[A335BNLTBWA51650BBWG4929]
dogtag:[BeagleBoard.org Debian Image 2017-08-24]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2017.09-rc2-00002-g84a7f2]
kernel:[4.4.83-ti-r119]
nodejs:[v6.12.0]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV0-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20171126.0-0rcnee1~stretch+20171126]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee1~stretch+20170829]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]

debian@beaglebone:~$ uname -r
4.4.83-ti-r119

debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Image 2017-08-24

What am I missing?

Thanks!

-- Luke

I am feeling like an idiot here — this used to work a few months back, but I haven’t touched it in a while, and have done some system updates in the meanwhile.

I can’t seem to get config-pin to do anything useful for me:

debian@beaglebone:~$ sudo config-pin P9-23 lo
[sudo] password for debian:
P9_23 pinmux file not found!
WARNING: GPIO pin not exported, cannot set direction or value!
bash: /sys/devices/platform/ocp/ocp*P9_23_pinmux/state: No such file or directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_23_pinmux/state

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[8e0b1e6f135ff3c30468f49a7a952c98be97219a]
eeprom:[A335BNLTBWA51650BBWG4929]
dogtag:[BeagleBoard.org Debian Image 2017-08-24]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2017.09-rc2-00002-g84a7f2]
kernel:[4.4.83-ti-r119]
nodejs:[v6.12.0]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV0-00A0.dtbo]

This ^ disables cape universal...

uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20171126.0-0rcnee1~stretch+20171126]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee1~stretch+20170829]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]

debian@beaglebone:~$ uname -r
4.4.83-ti-r119

debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Image 2017-08-24

What am I missing?

Regards,

PS the cape universal already contains a spidev node, you just need to use config-pin to much the spi pins…

Regards,

Ah, I didin’t know that. It’s an artifact from an earlier project — removing it fixes the problem.

Thanks!

— Luke