Hi:
I’m running BeagleBoard.org Debian Image 2016-08-28 which is running the 4.4.19-ti-r41 kernel. I’ve disabled the HDMI (audio and video) and want to use the eQEPs.
ls /lib/firmware/ | grep -i eqep
bone_eqep0-00A0.dtbo
bone_eqep1-00A0.dtbo
bone_eqep2-00A0.dtbo
bone_eqep2b-00A0.dtbo
PyBBIO-eqep0-00A0.dtbo
PyBBIO-eqep1-00A0.dtbo
PyBBIO-eqep2-00A0.dtbo
PyBBIO-eqep2b-00A0.dtbo
shows I have several options. However none seem to work.
echo bone_eqep1 > $SLOTS
-bash: echo: write error: File exists
dmesg
[Sep14 16:15] bone_capemgr bone_capemgr: part_number ‘bone_eqep1’, version ‘N/A’
[ +0.000075] bone_capemgr bone_capemgr: slot #9: override
[ +0.000045] bone_capemgr bone_capemgr: Using override eeprom data at slot 9
[ +0.000046] bone_capemgr bone_capemgr: slot #9: ‘Override Board Name,00A0,Override Manuf,bone_eqep1’
[ +0.012094] bone_capemgr bone_capemgr: slot #9: bone_eqep1 conflict P8.35 (#4:univ-emmc)
[ +0.008573] bone_capemgr bone_capemgr: slot #9: Failed verification
So it looking like the emmc overlay is controlling the pin.
What’s the correct way to get emmc overlay to let me use the pin?
Do I have to get dtb-4.4-ti and edit am335x-boneblack-emmc-overlay.dtb? If so, what do I edit?
I’m looking for a general approach that I can apply to other pins I want to control.
Thanks…
–Mark