Hi, I am trying to get librobotcontrol to work with my beagleboneblue.
I recently installed a fresh ubuntu 18.04 image onto my sd/tf card. I also installed the latest version of librobotcontrol using “sudo apt-get install librobotcontrol” and now have rc_version 1.0.5.
ubuntu@beaglebone:~$ rc_version
1.0.5
ubuntu@beaglebone:~$
However, when I run anything involving the pru I get this error below,
ubuntu@beaglebone:~$ sudo rc_test_encoders_pru
ERROR in rc_pru_stop opening remoteproc driver: No such file or directory
PRU probably not enabled in device tree
ERROR in rc_encoder_pru_init, failed to start PRU0
ERROR: failed to run rc_encoder_pru_init
ubuntu@beaglebone:~$
This is my image and drivers listed below,
ubuntu@beaglebone:~$ rc_test_drivers
Kernel: 4.19.94-ti-r36
rcn-ee.net Ubuntu Console Image 2020-03-12
Debian: buster/sid
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
ubuntu@beaglebone:~$
Did I need to run some code or do something else when installing the librobotcontrol library to activate the pru drivers in a fresh install of an ubuntu image?
I also wanted to see if installing an older version of the library, for example, version 1.0.4 or 1.0.3 would be a solution. However, I am not sure how to install it without sudo apt-get, because cloning from the repository doesn’t give an install file.
Thank you for responding and I hope we can figure out a solution. : D