Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

config-pin P9_25 gpio problem? #104

Open
WalterCEden opened this issue Oct 11, 2022 · 0 comments
Open

config-pin P9_25 gpio problem? #104

WalterCEden opened this issue Oct 11, 2022 · 0 comments

Comments

@WalterCEden
Copy link

I'm running am335x-debian-11.5-iot-armhf-2022-10-10-4gb.img.xz on a BeagleBone Black. I am doing some initial testing booted from a microSD card. My existing C program executes

system(config-pin P9_25 gpio");
This works fine under 4.19.94.ti.r42

At the Debian command line,

config-pin -l P9_25

shows gpio as an available mode. but I get this error when I run

config-pin P9_25 gpio

ERROR: open() for /sys/devices/platform/ocp/ocp:P9_25_pinmux/state failed, No such file or directory

Here is the output of beagle-version

eeprom:[A335BNLTBWA51824BBWG0524] model:[TI_AM335x_BeagleBone_Black_Wireless] dogtag:[BeagleBoard.org Debian Bullseye IoT Image 2022-10-10] bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot SPL 2022.04-gd0771d53 (Jul 21 2022 - 02:13:23 +0000)]:[location: dd MBR] bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2022.04-gd0771d53 (Jul 21 2022 - 02:13:23 +0000)]:[location: dd MBR] UBOOT: Booted Device-Tree:[am335x-boneblack-uboot-univ.dts] UBOOT: Loaded Overlay:[BB-ADC-00A0.kernel] UBOOT: Loaded Overlay:[BB-BBBW-WL1835-00A0.kernel] UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.kernel] UBOOT: Loaded Overlay:[BB-HDMI-TDA998x-00A0.kernel] kernel:[5.10.140-ti-r52] nodejs:[v12.22.12] /boot/uEnv.txt Settings: uboot_overlay_options:[enable_uboot_overlays=1] uboot_overlay_options:[enable_uboot_cape_universal=1] pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>] pkg:[bb-cape-overlays]:[4.14.20210821.0-0~bullseye+20210821] pkg:[bb-customizations]:[1.20220913.0-0~bullseye+20220913] pkg:[bb-usb-gadgets]:[1.20220816.0-0~bullseye+20220816] pkg:[bb-wl18xx-firmware]:[1.20211222.2-0~bullseye+20211222] pkg:[kmod]:[28-1] WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED] pkg:[firmware-ti-connectivity]:[20210315-3] groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal input bluetooth netdev i2c gpio admin tisdk weston-launch cloud9ide] cmdline:[console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet] dmesg | grep remote [ 8.700620] remoteproc remoteproc0: wkup_m3 is available [ 38.806778] remoteproc remoteproc0: powering up wkup_m3 [ 38.806813] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148 [ 38.807098] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 46.390146] Bluetooth: hci0: change remote baud rate command in firmware [ 57.596360] remoteproc remoteproc1: 4a334000.pru is available [ 57.634870] remoteproc remoteproc2: 4a338000.pru is available dmesg | grep pru [ 57.596360] remoteproc remoteproc1: 4a334000.pru is available [ 57.634870] remoteproc remoteproc2: 4a338000.pru is available dmesg | grep pinctrl-single [ 8.349841] pinctrl-single 44e10800.pinmux: 142 pins, size 568 dmesg | grep gpio-of-helper [ 8.351584] gpio-of-helper ocp:cape-universal: Failed to get gpio property of 'P8_03' [ 8.351613] gpio-of-helper ocp:cape-universal: Failed to create gpio entry [ 8.904695] gpio-of-helper ocp:cape-universal: Allocated GPIO id=0 name='P8_03' [ 8.904904] gpio-of-helper ocp:cape-universal: Allocated GPIO id=1 name='P8_04' [ 8.905074] gpio-of-helper ocp:cape-universal: Allocated GPIO id=2 name='P8_05' [ 8.905266] gpio-of-helper ocp:cape-universal: Allocated GPIO id=3 name='P8_06' [ 8.905714] gpio-of-helper ocp:cape-universal: Allocated GPIO id=4 name='P8_07' [ 8.905923] gpio-of-helper ocp:cape-universal: Allocated GPIO id=5 name='P8_08' [ 8.906118] gpio-of-helper ocp:cape-universal: Allocated GPIO id=6 name='P8_09' [ 8.906281] gpio-of-helper ocp:cape-universal: Allocated GPIO id=7 name='P8_10' [ 8.906459] gpio-of-helper ocp:cape-universal: Allocated GPIO id=8 name='P8_11' [ 8.906734] gpio-of-helper ocp:cape-universal: Allocated GPIO id=9 name='P8_12' [ 8.907018] gpio-of-helper ocp:cape-universal: Allocated GPIO id=10 name='P8_13' [ 8.907214] gpio-of-helper ocp:cape-universal: Allocated GPIO id=11 name='P8_14' [ 8.907394] gpio-of-helper ocp:cape-universal: Allocated GPIO id=12 name='P8_15' [ 8.907572] gpio-of-helper ocp:cape-universal: Allocated GPIO id=13 name='P8_16' [ 8.907732] gpio-of-helper ocp:cape-universal: Allocated GPIO id=14 name='P8_17' [ 8.907909] gpio-of-helper ocp:cape-universal: Allocated GPIO id=15 name='P8_18' [ 8.908081] gpio-of-helper ocp:cape-universal: Allocated GPIO id=16 name='P8_19' [ 8.908249] gpio-of-helper ocp:cape-universal: Allocated GPIO id=17 name='P8_20' [ 8.908423] gpio-of-helper ocp:cape-universal: Allocated GPIO id=18 name='P8_21' [ 8.908587] gpio-of-helper ocp:cape-universal: Allocated GPIO id=19 name='P8_22' [ 8.908746] gpio-of-helper ocp:cape-universal: Allocated GPIO id=20 name='P8_23' [ 8.908926] gpio-of-helper ocp:cape-universal: Allocated GPIO id=21 name='P8_24' [ 8.909121] gpio-of-helper ocp:cape-universal: Allocated GPIO id=22 name='P8_25' [ 8.909289] gpio-of-helper ocp:cape-universal: Allocated GPIO id=23 name='P8_26' [ 8.909460] gpio-of-helper ocp:cape-universal: Allocated GPIO id=24 name='P8_27' [ 8.909621] gpio-of-helper ocp:cape-universal: Allocated GPIO id=25 name='P8_28' [ 8.909793] gpio-of-helper ocp:cape-universal: Allocated GPIO id=26 name='P8_29' [ 8.909969] gpio-of-helper ocp:cape-universal: Allocated GPIO id=27 name='P8_30' [ 8.910143] gpio-of-helper ocp:cape-universal: Allocated GPIO id=28 name='P8_31' [ 8.910317] gpio-of-helper ocp:cape-universal: Allocated GPIO id=29 name='P8_32' [ 8.910480] gpio-of-helper ocp:cape-universal: Allocated GPIO id=30 name='P8_33' [ 8.910763] gpio-of-helper ocp:cape-universal: Allocated GPIO id=31 name='P8_34' [ 8.910933] gpio-of-helper ocp:cape-universal: Allocated GPIO id=32 name='P8_35' [ 8.911110] gpio-of-helper ocp:cape-universal: Allocated GPIO id=33 name='P8_36' [ 8.911289] gpio-of-helper ocp:cape-universal: Allocated GPIO id=34 name='P8_37' [ 8.911452] gpio-of-helper ocp:cape-universal: Allocated GPIO id=35 name='P8_38' [ 8.911627] gpio-of-helper ocp:cape-universal: Allocated GPIO id=36 name='P8_39' [ 8.911793] gpio-of-helper ocp:cape-universal: Allocated GPIO id=37 name='P8_40' [ 8.911978] gpio-of-helper ocp:cape-universal: Allocated GPIO id=38 name='P8_41' [ 8.912148] gpio-of-helper ocp:cape-universal: Allocated GPIO id=39 name='P8_42' [ 8.912321] gpio-of-helper ocp:cape-universal: Allocated GPIO id=40 name='P8_43' [ 8.912492] gpio-of-helper ocp:cape-universal: Allocated GPIO id=41 name='P8_44' [ 8.912661] gpio-of-helper ocp:cape-universal: Allocated GPIO id=42 name='P8_45' [ 8.912820] gpio-of-helper ocp:cape-universal: Allocated GPIO id=43 name='P8_46' [ 8.912994] gpio-of-helper ocp:cape-universal: Allocated GPIO id=44 name='P9_11' [ 8.913168] gpio-of-helper ocp:cape-universal: Allocated GPIO id=45 name='P9_12' [ 8.913342] gpio-of-helper ocp:cape-universal: Allocated GPIO id=46 name='P9_13' [ 8.913515] gpio-of-helper ocp:cape-universal: Allocated GPIO id=47 name='P9_14' [ 8.913679] gpio-of-helper ocp:cape-universal: Allocated GPIO id=48 name='P9_15' [ 8.913871] gpio-of-helper ocp:cape-universal: Allocated GPIO id=49 name='P9_16' [ 8.914034] gpio-of-helper ocp:cape-universal: Allocated GPIO id=50 name='P9_17' [ 8.914207] gpio-of-helper ocp:cape-universal: Allocated GPIO id=51 name='P9_18' [ 8.914378] gpio-of-helper ocp:cape-universal: Allocated GPIO id=52 name='P9_19' [ 8.914625] gpio-of-helper ocp:cape-universal: Allocated GPIO id=53 name='P9_20' [ 8.914843] gpio-of-helper ocp:cape-universal: Allocated GPIO id=54 name='P9_21' [ 8.915025] gpio-of-helper ocp:cape-universal: Allocated GPIO id=55 name='P9_22' [ 8.915203] gpio-of-helper ocp:cape-universal: Allocated GPIO id=56 name='P9_23' [ 8.915384] gpio-of-helper ocp:cape-universal: Allocated GPIO id=57 name='P9_24' [ 8.915581] gpio-of-helper ocp:cape-universal: Allocated GPIO id=58 name='P9_25' [ 8.915763] gpio-of-helper ocp:cape-universal: Allocated GPIO id=59 name='P9_26' [ 8.915925] gpio-of-helper ocp:cape-universal: Allocated GPIO id=60 name='P9_27' [ 8.916102] gpio-of-helper ocp:cape-universal: Allocated GPIO id=61 name='P9_28' [ 8.916274] gpio-of-helper ocp:cape-universal: Allocated GPIO id=62 name='P9_29' [ 8.916432] gpio-of-helper ocp:cape-universal: Allocated GPIO id=63 name='P9_30' [ 8.916608] gpio-of-helper ocp:cape-universal: Allocated GPIO id=64 name='P9_31' [ 8.916785] gpio-of-helper ocp:cape-universal: Allocated GPIO id=65 name='P9_41' [ 8.916949] gpio-of-helper ocp:cape-universal: Allocated GPIO id=66 name='P9_91' [ 8.917135] gpio-of-helper ocp:cape-universal: Allocated GPIO id=67 name='P9_42' [ 8.917295] gpio-of-helper ocp:cape-universal: Allocated GPIO id=68 name='P9_92' [ 8.917306] gpio-of-helper ocp:cape-universal: ready lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub END

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant