Hi All!
I am trying to update a BBB project to a more recent operating system (was using a 2015 image). I have been using pins 9_41 and 9_42 (among others) with a custom daughter board. I can change all of the rest of the pins with
config-pin PX_XX pru(in or out)
But pins 9_41 and 9_42 do not respond.
config-pin P9_41 pruout
ERROR: write() to /sys/devices/platform/ocp/ocp:P9_41_pinmux/state failed, No such device
[592329.717480] bone-pinmux-helper ocp:P9_41_pinmux: Failed to find state pruout
[592329.740243] bone-pinmux-helper ocp:P9_42_pinmux: Failed to find state pruout
I can see that these pins have two different row entries in Derek Molloy’s pin listing.
For the original project, I had compiled a custom device tree overlay, but I don’t remember even realizing that those two pins were a unique situation, I just listed every pin I wanted to use.
Is the solution that I need a custom device tree overlay again?
Best Regards,
Alan
P.S. The details of this build are:
uname -a
Linux BeagleBone 5.15.73-bone-rt-r31 #1bullseye PREEMPT_RT Thu Oct 27 18:39:34 UTC 2022 armv7l GNU/Linux
The uEnv.txt file is:
#Docs: Beagleboard:U-boot partitioning layout 2.0 - eLinux.org
uname_r=5.15.73-bone-rt-r31
#uuid=
#dtb=
###U-Boot Overlays###
###Documentation: Beagleboard:BeagleBoneBlack Debian - eLinux.org
###Master Enable
enable_uboot_overlays=1
###Overide capes with eeprom
#uboot_overlay_addr0=.dtbo
#uboot_overlay_addr1=.dtbo
#uboot_overlay_addr2=.dtbo
#uboot_overlay_addr3=.dtbo
###Additional custom capes
#uboot_overlay_addr4=.dtbo
#uboot_overlay_addr5=.dtbo
#uboot_overlay_addr6=.dtbo
#uboot_overlay_addr7=.dtbo
###Custom Cape
#dtb_overlay=.dtbo
###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
##cape Universal Enable
enable_uboot_cape_universal=1
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###U-Boot fdt tweaks… (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###
console=ttyS0,115200n8
cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet
#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e
#Use an overlayfs on top of a read-only root filesystem:
#cmdline=coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet overlayroot=tmpfs
##enable Generic eMMC Flasher:
#cmdline=init=/usr/sbin/init-beagle-flasher