Problem with capes

HI all,
I have some problems enabling capes on my BBB. When I query config-pin -q “pin_name” I get:

"pin_name pinmux file not found!
Pin has no cape: “pin_name”

on every pin except the one not modifyable i.e.:
#config-pin -q p9.04
Pin is not modifyable: P9_04 3V3

There is the uncommented lines in /boot/uEnv.txt:

uname_r=4.9.82-ti-r102
enable_uboot_overlays=1
enable_uboot_cape_universal=1
cmdline=coherent_pool=1M net.ifnames=0 quiet

There the result of /opt/scripts/tools/version.sh

git:/opt/scripts/:[9d965a5f40ae00774c81164f87a450a678ab79f6]
eeprom:[A335BNLT00C04417BBBK196C]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-03-05]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.01-00002-ge9ff418fb8]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2016.01-00001-g4eb802e]:[location: dd MBR]
kernel:[4.9.82-ti-r102]
nodejs:[v6.13.1]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20180322.0-0rcnee0~stretch+20180322]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~stretch+20180104]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[ 1.395598] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
dmesg | grep gpio-of-helper
[ 1.396683] gpio-of-helper ocp:cape-universal: ready
END

Thanks
Marco Zamboni

PS: My objective is to enable all UART, PWM, I2C and let every other pin as available GPIO. (Disabling eMMC,HDMI…)

Your u-boot installed to the eMMC is breaking things...

sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10

Regards,

Thanks very much,
erasing eMMC partition solved the problem

Marco Zamboni