librobotcontrol with RT kernel
Created by: rxdu
Describe the bug I'm not sure about the kernel requirements for librobotcontrol. But it seems the library is not fully compatible with the two RT kernels I've tried: bone-rt lts-4.9, lts-4.14. With a freshly installed OS, "rc_test_drivers" can pass all tests. But once the kernel is replaced, some test items will fail. With 4.9rt, the test says pru-rproc driver and LED driver are not loaded.
To Reproduce Steps to reproduce the behavior:
- Flash 2018-8-23 image given at http://www.strawsondesign.com/docs/librobotcontrol/flashing.html
- Upgrade librobotcontrol with apt-get
- Update /opt/scripts/tools
- sudo /opt/scripts/tools/update_kernel.sh --bone-rt-channel --lts-4_9
- run rc_test_drivers
- See error
Expected behavior
Kernel: 4.9.119-bone-rt-r11
BeagleBoard.org Debian Image 2018-08-23
Debian: 9.5
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
ERROR: LED driver not loaded
PASSED: ADC iio
Currently running on a:
MODEL_BB_BLUE
Robot Control library Version:
1.0.2
Screenshots If applicable, add screenshots to help explain your problem.
Platform information Beaglebone Blue, kernel information given above