Linux beaglebone 4.1.15-ti-rt-r43 #1 SMP PREEMPT RT Thu Jan 21 20:13:58 UTC 2016 armv7l GNU/Linux
Failed to execute BBIO examples, shows segmentation fault on import bbio, I updated to the latest and updated bbio as well, still didn’t help
bash: line 1: 16630 Segmentation fault “python2” “/var/lib/cloud9/bone101/examples/PyBBIO/blink.py”
There was an older thread about a similar issue on kernel >4.x but Ithought this was already fixed. Again this is a brand new BBB out of the box.
The "PyBBIO" examples only work on older 3.8.x kernels.
Thus they are no-longer installed by default in the default images.
Regards,
Thank you!
I will switch to using an alternative library then but BBB should stop including BBIO examples.
They were officially nuked on: May 30, 2017
https://github.com/jadonk/bone101/commit/fb8ce9a2f8a1b90fe6eabd3dab10c3ea5df86ae4
The latest images page:
https://beagleboard.org/latest-images
lists "3" updated image releases since then..
aka you have a really-really-really old image..
Regards,
I just purchased this board from Newark a week ago. It still has PyBBIO examples in it. Its OS is Linux beaglebone 4.1.15-ti-rt-r43 #1 SMP PREEMPT RT Thu Jan 21 20:13:58 UTC 2016 armv7l GNU/Linux
I did install latest Debian image on another BB prior to getting this one and that one dind’t have PyBBIO.
Just reflash it, must have just sat on a shelf for awhile at Newark..
Regards,