Problem with PINMUX - WARNING: missing PINMUX driver

373 views
Skip to first unread message

Konrad Russa

unread,
Feb 25, 2018, 4:10:49 PM2/25/18
to BeagleBoard

Hi,

I'm trying to utilize IMU and seems there are deep dark magic issues. Can anyone help please ? I have updated/upgraded cape there is 0.3.4 version.

debian@beaglebone:~$ sudo rc_test_dmp -s 50 -m -g -t -a
can't open: /sys/devices/platform/ocp/ocp:P9_22_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_21_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_26_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_24_pinmux/state
Pinmux: No such file or directory
WARNING: missing PINMUX driver
You probbaly just need a newer kernel
ERROR: pru-rproc driver missing
WARNING: no gyro calibration data found
Please run rc_calibrate_gyro

  FusedTaitBryan(deg) |   Accel XYZ (g)   |  Gyro XYZ (deg/s) |
    7.0  -15.5    nan |  2.88  1.28  9.64 |  -0.7   0.7  -0.6 |

Regards,
Konrad

Konrad Russa

unread,
Feb 25, 2018, 5:23:51 PM2/25/18
to BeagleBoard
After upgrading kernel with update_kernel script

I have got more issues:

can't open: /sys/devices/platform/ocp/ocp:H18_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:C18_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_22_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_21_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_26_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_24_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_30_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_29_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_31_pinmux/state
Pinmux: No such file or directory
WARNING: missing PINMUX driver
You probbaly just need a newer kernel
ERROR: export failed for hrpwm1 channel A
ERROR: failed to initialize hrpwm1
WARNING: Failed to initialize motors
ERROR: pru-rproc driver missing

version prints out:

git:/opt/scripts/:[ea6ea9fca05f36f5044398884375b0231348d6e2]
eeprom:[A335BNLTBLA21711EL000212]
model:[TI_AM335x_BeagleBone_Blue]
dogtag:[BeagleBoard.org Debian Image 2018-01-28]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.01-00002-g9aa111a004]
kernel:[4.9.82-ti-r102]
nodejs:[v6.13.0]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20180223.0-0rcnee0~stretch+20180223]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee2~stretch+20180104]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
dmesg | grep pinctrl-single
[    1.432697] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
END

evilwulfie

unread,
Feb 26, 2018, 9:00:56 AM2/26/18
to Konrad Russa, beagl...@googlegroups.com
the errors you are seeing is because the pins are not setup
pins get setup by using an overlay at boot time

verify the overlay you require is being loaded in /boot/uEnv.txt

as of any 4.x  kernel everything must be loaded at boot time from that file

the cape manager is not used



On 2/26/2018 6:51 AM, Konrad Russa wrote:
Hi,

I have changed kernel to 4.4 lts and there is no Error but still PRU issues are there:

can't open: /sys/devices/platform/ocp/ocp:H18_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:C18_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_22_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_21_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_26_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_24_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_30_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_29_pinmux/state
Pinmux: No such file or directory
can't open: /sys/devices/platform/ocp/ocp:P9_31_pinmux/state
Pinmux: No such file or directory
WARNING: missing PINMUX driver
You probbaly just need a newer kernel
  FusedTaitBryan(deg) |   Accel XYZ (g)   |  Gyro XYZ (deg/s) |
    7.1   -7.5    nan |  1.81  1.61  9.96 |  -0.3  -0.3   0.1 |

Do you have any idea what should I check ? I appreciate any help.

Cheers,
Konrad

2018-02-26 8:30 GMT+01:00 Konrad Russa <konrad...@gmail.com>:
not sure, before I have flashed board with newest debian, 
then just installed libraries required to compile newest version of opencv, 
then started to check cape capabilities and saw first issues.



2018-02-26 1:16 GMT+01:00 evilwulfie <evilw...@gmail.com>:
Just a question. What led up to this issue ?
normally things dont go south unless you do something



On 2/25/2018 4:57 PM, Konrad Russa wrote:
Hi,

seems there is something with omap ?
I dont know (yet) what it is :/

[    0.472645] omap_hwmod: debugss: _wait_target_disable failed
[    0.573125] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.573141] omap4_sram_init:Unable to get sram pool needed to handle errata I688



--
Pozdrawiam
Konrad Russa




--
Pozdrawiam
Konrad Russa



--
Pozdrawiam
Konrad Russa

Reply all
Reply to author
Forward
0 new messages