I gave up trying to figure out how to get config-pins, overlays, uboot, etc all in-sync to allow access to all the available pru pins, so I followed previous instructions to update.
What I did:
debian@BBBWl:~$ cd /opt/scripts/tools
debian@BBBWl:~$ sudo ./update_kernel.sh
edited /boot/uEnv.txt to include:
enable_uboot_overlays=1
disable_uboot_overlay_audio=1
uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
enable_uboot_cape_universal=1
and changed this:
cmdline=coherent_pool=1M quiet cape_universal=enable
to this:
cmdline=coherent_pool=1M quiet
rebooted and…
Last login: Fri Mar 23 22:01:29 2018 from 10.8.0.6
debian@BBBWl:~$ uname -r
4.4.113-ti-r148
debian@BBBWl:~$ config-pin -l p9.25
default gpio gpio_pu gpio_pd qep pruout pruin
debian@BBBWl:~$ config-pin p9.25 pruout
P9_25 pinmux file not found!
cape-universala overlay not found
run “config-pin overlay cape-universala” to load the cape
checked to see if the bb-cape-overlays had been updated and saw a newer version so installed that:
debian@BBBWl:~$ apt show bb-cape-overlays
Package: bb-cape-overlays
Version: 4.4.20180322.0-0rcnee0~jessie+20180322
Maintainer: Robert Nelson robertcnelson@gmail.com
Installed-Size: 2,289 kB
Priority: extra
Section: misc
Download-Size: 66.7 kB
APT-Sources: http://repos.rcn-ee.com/debian/ jessie/main armhf Packages
Description: Device tree overlays for Beaglebone.
Device tree overlays for Beaglebone /lib/firmware/
rebooted and same problem.
I then looked to see if the uio_pruss driver had been installed…
debian@BBBWl:/opt/scripts/tools$ ls /sys/class/uio
debian@BBBWl:/opt/scripts/tools$
Bad.
debian@BBBWl:/opt/scripts/tools$ ls /sys/class/gpio
export gpio12 gpio13 gpiochip0 gpiochip32 gpiochip64 gpiochip96 unexport
Worse.
So now I have no uio_pruss driver, and just two gpio pins.
Info:
debian@BBBWl:/opt/scripts/tools$ sudo ./version.sh
git:/opt/scripts/:[9d965a5f40ae00774c81164f87a450a678ab79f6]
eeprom:[A335BNLTBWA51650BBWG0378]
model:[TI_AM335x_BeagleBone_Black_Wireless]
dogtag:[BeagleBoard.org Debian Image 2016-11-06]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2016.11-rc3-00002-g73df7f]:[location: dd MBR]
kernel:[4.4.113-ti-r148]
nodejs:[v6.12.2]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20180322.0-0rcnee0~jessie+20180322]
pkg:[bb-wl18xx-firmware]:[1.20161020-0rcnee1~bpo80+20161020+1]
WARNING:pkg:[firmware-ti-connectivity]:[NOT_INSTALLED]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal netdev i2c admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 root=UUID=ac4731db-c4db-463f-9129-07e6746b98ba ro rootfstype=ext4 rootwait coherent_pool=1M quiet]
dmesg | grep pinctrl-single
[ 1.179799] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 1.180937] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0
[ 1.181098] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1
[ 1.181110] gpio-of-helper ocp:cape-universal: ready
END
Help please…