On Tue, 15 Sep 2020 06:19:29 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Pavel Yermolenko
<[email protected]> wrote:
>
>Request for status of some pins fails (whereas on others works):
>
Suggest you install https://github.com/mvduin/bbb-pin-utils
>debian@beaglebone:~$ config-pin -q *p9.25*
>P9_25 pinmux file not found!
>Cannot read pinmux file: /sys/devices/platform/ocp/ocp*P9_25_pinmux/state
P9.25 / audio osc 107 fast rx up 0 asp 0 tx hclk
mcasp@48038000 (mcasp0_pins)
>debian@beaglebone:~$ sudo config-pin -q *p9.31*
>P9_31 pinmux file not found!
>Cannot read pinmux file: /sys/devices/platform/ocp/ocp*P9_31_pinmux/state
P9.31 / hdmi audio clk 100 fast down 0 asp 0 tx clk
mcasp@48038000 (mcasp0_pins)
>debian@beaglebone:~$ config-pin -q *p9.24*
>P9_24 Mode: default Direction: in Value: 1
P9.24 97 fast rx up 7 gpio 0.15 << hi P9_24
(pinmux_P9_24_default_pin)
You would have to disable the mcasp unit and maybe HDMI to free the
affected pins from dedicated usage and allow them to be exported -- this is
likely a device tree operation. Start with editing /boot/uEnv.txt
-=-=-
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
disable_uboot_overlay_audio=1 <================
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
-=-=-
and reboot...
debian@beaglebone:~$ sudo
/opt/source/bb.org-overlays/tools/beaglebone-universal-io/config-pin -q
p9.25
P9_25 Mode: default Direction: in Value: 0
debian@beaglebone:~$ sudo
/opt/source/bb.org-overlays/tools/beaglebone-universal-io/config-pin -q
p9.31
P9_31 Mode: default Direction: in Value: 0
debian@beaglebone:~$
P9.25 / audio osc 107 fast rx down 7 gpio 3.21 << lo P9_25
(pinmux_P9_25_default_pin)
P9.31 / hdmi audio clk 100 fast rx down 7 gpio 3.14 << lo P9_31
(pinmux_P9_31_default_pin)
--
Dennis L Bieber
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/los1mf1p7vn3fraf6hnvgk2oceedvjuc34%404ax.com.