universal-io should be installed on that image by default. you can configure all pins the way you want like this
echo 2 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio2/direction read up on it on this github https://github.com/cdsteinkuehler/beaglebone-universal-io I dont have a blue but i would assume there is a premade overlay for that board that should configure everything for you if the above does not work out for you On 3/9/2018 7:27 PM, Drew Viersen wrote: > > Having the hardest time with my beaglebone blue. first and foremost, i > followed the instructions after firing the unit up the first time, and > flashed the latest image. Since then, all i can attribute that to is > lack of knowledge on my part.I purchased this board because it had the > built in functionality of pwms, motor drivers, servo drivers and 2s > Lipo charging etc. > > At this point i am looking for a stable, functional image that will > work with Python, and if possible node red. I have no history or > knowledge of javascript or C++, so i am trying to work my way up > starting here, and teach my kids the fun tht can be had. As I am > finding though, there isn't an overlay set up for the Blue, most of > the pins aren't exported, and as such, rcpy doesn't want to work > correctly. Even running the basic included functions yields issues > like this: > > can't open: /sys/devices/platform/ocp/ocp:H18_pinmux/state > Pinmux: No such file or directory > can't open: /sys/devices/platform/ocp/ocp:C18_pinmux/state > Pinmux: No such file or directory > can't open: /sys/devices/platform/ocp/ocp:P9_22_pinmux/state > Pinmux: No such file or directory > can't open: /sys/devices/platform/ocp/ocp:P9_21_pinmux/state > Pinmux: No such file or directory > can't open: /sys/devices/platform/ocp/ocp:P9_26_pinmux/state > Pinmux: No such file or directory > can't open: /sys/devices/platform/ocp/ocp:P9_24_pinmux/state > Pinmux: No such file or directory > can't open: /sys/devices/platform/ocp/ocp:P9_30_pinmux/state > Pinmux: No such file or directory > can't open: /sys/devices/platform/ocp/ocp:P9_29_pinmux/state > Pinmux: No such file or directory > can't open: /sys/devices/platform/ocp/ocp:P9_31_pinmux/state > Pinmux: No such file or directory > WARNING: missing PINMUX driver > You probbaly just need a newer kernel > ERROR: export failed for hrpwm1 channel A > ERROR: failed to initialize hrpwm1 > WARNING: Failed to initialize motors > ERROR: pru-rproc driver missing > > this of course persists across all of the included examples. and as > such, i can't even get the motors to operate. Blinking the LED's is > only useful to a point. > > i'm running the 4.9 kernel that came with the 2018-03-05 image. If > there's a functioning image i should be using that's up to date enough > i'd be happy to reflash. at this point, i'm looking for something that > just works and allows all of the functions and pins the board has to > work correctly. I've been advised i can manually set pins with sudo > and and use other libraries. > > If i'm expecting too much, and there are some good resources i should > look at to make this work correctly i'd be happy to delve deeper. im > not afraid to learn, but i am afraid i wasted $80 on a board that did > work 12 months ago, and got left behind as the rest of the world updated. > > Any pointers, educational resources, or even projects would be > appreciated, as my children may find these interesting as well. > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google > Groups "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/9090a559-91d6-4dd1-9485-b109c8eff734%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/9090a559-91d6-4dd1-9485-b109c8eff734%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/39e84655-2f0f-116e-bf21-32f10b5e7dbd%40gmail.com. For more options, visit https://groups.google.com/d/optout.
