beagleboard / bonescript

Scripting tools for the BeagleBoard and BeagleBone
http://beagleboard.org
MIT License
32 stars 9 forks source link

Handle case where debugfs not already mounted #16

Open jadonk opened 6 years ago

jadonk commented 6 years ago

From @jadonk on December 16, 2013 15:27

getPinMode() will fail to fetch the mux mode if /sys/kernel/debug/pinctrl/44e10800.pinmux/pins isn't already mounted.

Mount command is: mount -t debugfs none /sys/kernel/debug/

Need to find a good place to put this.

Copied from original issue: jadonk/bonescript#61

jadonk commented 6 years ago

Issue still exists in 0.2.4.