Functions to help dealing with gpio on BeagleBone Black and most other embedded Linux systems