PRU Permissions denied. Cannot access servos/escs V1.0.5
Created by: Chazlazer
Describe the bug
Hi, I can't access the servo/escs with either version 1.0.4 or 1.0.5. I tried with both regular command and then as a su using sudo. I havn't tried as a pure root user but with previous versions I was able to use it as a su. I wanted to use the latest image because it was the only image that I could get a camera working so having access to the servo/esc command would be nice.
Below is the error.
debian@beaglebone:$ sudo rc_test_servos -p 1.5
ERROR in rc_pru_stop opening remoteproc driver: No such file or directory
PRU probably not enabled in device tree
ERROR in rc_servo_init, failed to start PRU1
debian@beaglebone:$ rc_test_servos -p 1.5
ERROR: in rc_pru_shared_mem_ptr could not open /dev/mem: Permission denied
Need to be root to access PRU shared memory
ERROR in rc_servo_init, failed to map shared memory pointer
Kernel: 4.19.94-ti-r42 BeagleBoard.org Debian Buster IoT Image 2020-04-06 Debian: 10.3
PASSED: gpio 0 PASSED: gpio 1 PASSED: gpio 2 PASSED: gpio 3 PASSED: pwm0 PASSED: pwm1 PASSED: pwm2 PASSED: eqep0 PASSED: eqep1 PASSED: eqep2 ERROR: pru-rproc driver not loaded PASSED: uart1 PASSED: uart2 PASSED: uart4 PASSED: uart5 PASSED: i2c1 PASSED: i2c2 PASSED: spi PASSED: LED PASSED: ADC iio
Currently running on a: MODEL_BB_BLUE Robot Control library Version: 1.0.5
To Reproduce Steps to reproduce the behavior:
- Have V1.0.4 or 1.0.5 installed with latest release 10.3 eMMC flasher image debian
- sudo rc_test_servos -p (float)
- See error
Expected behavior run servos/esc