Cape-Universal overlay not found

I want to use the pins on my BeagleBoneBlack for UART. I tried configuring UART1 as such using the command -


sudo config-pin P9.24 uart   
sudo config-pin P9.26 uart

but was hit with this error -

cape-universal overlay not found
run "config-pin overlay cape-universal" to load the cape

On running the command config-pin overlay cape-universal as per the suggestion, I got -

Loading cape-universal overlay
bash: line 0: echo: write error: File exists
Error loading device tree overlay file: cape-universal

I am running off of a custom image on an SD card, whose uEnv.txt looks like the following -

##Video: Uncomment to override:
##see: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/fb/modedb.txt
#kms_force_mode=video=HDMI-A-1:1024x768@60e

##Enable systemd
systemd=quiet init=/lib/systemd/systemd

##BeagleBone Cape Overrides
optargs=capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART3,BB-UART4


##BeagleBone Black:
##Disable HDMI/eMMC
#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G

##Disable HDMI
#optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

##WIP: v3.13+ capes..
#cape=lcd4-01
#cape=

##note: the eMMC flasher script relies on the next line
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext4 rootwait fixrtc

##These are needed to be compliant with Angstrom's 2013.06.20 u-boot.
console=ttyO0,115200n8

kernel_file=zImage
initrd_file=initrd.img

loadaddr=0x82000000
initrd_addr=0x88080000
fdtaddr=0x88000000

initrd_high=0xffffffff
fdt_high=0xffffffff

loadkernel=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${kernel_file}
loadinitrd=load mmc ${mmcdev}:${mmcpart} ${initrd_addr} ${initrd_file}; setenv initrd_size ${filesize}
loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} /dtbs/${fdtfile}

loadfiles=run loadkernel; run loadinitrd; run loadfdt
mmcargs=setenv bootargs console=tty0 console=${console} ${optargs} ${kms_force_mode} root=${mmcroot} rootfstype=${mmcrootfstype} ${systemd}

uenvcmd=run loadfiles; run mmcargs; bootz ${loadaddr} ${initrd_addr}:${initrd_size} ${fdtaddr}
#

##USB Boot problem
uhci-hcd.ignore_oc=y

Also, I just checked that my /sys/devices/bone_capemgr.9 file looks like the following -

 0: 54:PF---
 1: 55:PF---
 2: 56:PF---
 3: 57:PF---
 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART1
 8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART2
10: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART4

What do I have to change to get it to work? Thanks

Your overlay for P9.24/P9.26 is already loaded…

Regards,

Thanks @RobertCNelson. But when I try using the config-pin overlay to set the pins as UART or to check if the pins are configured as UART, I get an error -

root@BoxMapperII13672:~# sudo config-pin P9.24 uart
cape-universal overlay not found
run "config-pin overlay cape-universal" to load the cape
root@BoxMapperII13672:~# sudo config-pin P9.26 uart
cape-universal overlay not found
run "config-pin overlay cape-universal" to load the cape
root@BoxMapperII13672:~# config-pin -q P9.26
cape-universal overlay not found
run "config-pin overlay cape-universal" to load the cape

How do I get the cape-universal overlay working ? Thanks

You already loaded them, no reason to run config-pin…

Regards,