So I’ve been searching the groups here for the last several hours. I’ve tried several things, even noted that the device tree “binary” file (compiled file in /lib/firmware) was marked as executable. So I set the executable bit via chmod -x . . .Anyway, this is a custom device tree overlay binary, that enabled several GPO’s 6 GPI’s, and all 3 “dual channel” pwm modules. Plus I think uart4. The overlay fails to load at boot via /boot/uEnv.txt.
william@beaglebone:~$ dmesg |grep controller [ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 bone_capemgr.enable_partno=controller root=/dev/mmcblk0p1 rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable ipv6.disable=1 . . . [ 2.167008] IPv6: Loaded, but administratively disabled, reboot required to enable [ 2.426546] bone_capemgr bone_capemgr: enabled_partno PARTNO 'lcontroller' VER 'N/A' PR '0' [ 2.426586] bone_capemgr bone_capemgr: slot #4: 'Override Board Name,00A0,Override Manuf,controller' [ 3.437016] bone_capemgr bone_capemgr: loader: failed to load slot-4 controller:00A0 (prio 0)
I have tried this with cape_universal=enable, as well as commented out( simply removed the text ).
william@beaglebone:~$ uname -r 4.4.14-ti-r34 william@beaglebone:~$ cat /etc/dogtag BeagleBoard.org Debian Image 2016-05-01 william@beaglebone:~$ dtc -v Version: DTC 1.4.1
So here is the funny part.
`
william@beaglebone:~$ sudo config-pin overlay controller
[sudo] password for william:
Loading led-controller overlay
william@beaglebone:~$ dmesg |grep controller
[ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 bone_capemgr.enable_partno=controller root=/dev/mmcblk0p1 rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable ipv6.disable=1
[ 2.426546] bone_capemgr bone_capemgr: enabled_partno PARTNO ‘controller’ VER ‘N/A’ PR ‘0’
[ 2.426586] bone_capemgr bone_capemgr: slot #4: ‘Override Board Name,00A0,Override Manuf,controller’
[ 3.437016] bone_capemgr bone_capemgr: loader: failed to load slot-4 controller:00A0 (prio 0)
[ 1972.395048] bone_capemgr bone_capemgr: part_number ‘controller’, version ‘N/A’
[ 1972.395115] bone_capemgr bone_capemgr: slot #5: ‘Override Board Name,00A0,Override Manuf,controller’
[ 1972.526297] bone_capemgr bone_capemgr: slot #5: dtbo ‘controller-00A0.dtbo’ loaded; overlay id #0
`
Is this a known issue ? Or maybe I’m doing something wrong ? Maybe I need a different board file loaded at boot ?
`
william@beaglebone:~$ cat /boot/uEnv.txt
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=4.4.14-ti-r34
#uuid=
#dtb=
##BeagleBone Black/Green dtb’s for v4.1.x (BeagleBone White just works…)
##BeagleBone Black: HDMI (Audio/Video) disabled:
dtb=am335x-boneblack-emmc-overlay.dtb
##BeagleBone Black: eMMC disabled:
#dtb=am335x-boneblack-hdmi-overlay.dtb
##BeagleBone Black: HDMI Audio/eMMC disabled:
#dtb=am335x-boneblack-nhdmi-overlay.dtb
##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
#dtb=am335x-boneblack-overlay.dtb
##BeagleBone Black: wl1835
#dtb=am335x-boneblack-wl1835mod.dtb
##BeagleBone Green: eMMC disabled
#dtb=am335x-bonegreen-overlay.dtb
cmdline=coherent_pool=1M quiet cape_universal=enable ipv6.disable=1
#cmdline=ipv6.disable=1 quiet
#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M quiet cape_universal=enable video=HDMI-A-1:1024x768@60e
##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=
##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=
cape_enable=bone_capemgr.enable_partno=controller
##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
`
`
william@beaglebone:~$ cat /sys/devices/platform/bone_capemgr/slots
0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
5: P-O-L- 0 Override Board Name,00A0,Override Manuf,controller
`
The overlay source file does have some aspects similar to the universal IO overlays. dir-changable, init-hi/lo etc.