Hi,
I’m unable to use config-pin for any of the SPI pins (P9.17, 18, 21, 22, 28, 29, 30, 31).
config-pin p9.17 spi_cs
P9_17 pinmux file not found!
bash: /sys/devices/platform/ocp/ocp*P9_17_pinmux/state: No such file or directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_17_pinmux/state
root@arm:~# dpkg --list | grep cape
ii bb-cape-overlays 4.4.20190215.0-0rcnee0~bionic+20190215 armhf Device tree overlays for Beaglebone.
I know this issue has been brought up in this forum in the past and I have tried all of the solutions from those posts (at least that I have found) to no avail. It’s very similar to this post where I am able to run config-pin -l P9_31 spi_sclk with no issue. For reference:
root@arm:~# sudo /opt/scripts/tools/version.sh
git:/opt/scripts/:[d9a7ff1063db8359841c0349caf0898fd0bbc452]
eeprom:[A335BNLTBWA51650BBWG4180]
model:[TI_AM335x_BeagleBone_Black_Wireless]
dogtag:[rcn-ee.net console Ubuntu Image 2018-12-10]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.09-00002-g08ae12f051]:[location: dd MBR]
kernel:[4.14.79-ti-r84]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV0-00A0.dtbo ]
uboot_overlay_options:[uboot_overlay_addr5=/lib/firmware/BB-SPIDEV1-00A0.dtbo ]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.4.20190215.0-0rcnee0~bionic+20190215]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~bionic+20180517]
pkg:[kmod]:[24-1ubuntu3.2rcnee0~bionic+20190208]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
groups:[ubuntu : ubuntu adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep admin spi tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.enable_partno=cape-universala bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet cape_universal=enable]
dmesg | grep pinctrl-single
[ 1.292705] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 1.304466] gpio-of-helper ocp:cape-universal: ready
END
Furthermore, when checking /sys/devices/platform/ocp/, it appears that all of the pins corresponding to spi_cs and spi_sclk are missing. What’s going on? Do I even need config-pin? I was able to run the Adafruit BBIO SPI test despite this, which I find odd.