Thanks for responding! It is indeed installed, but there is no overlay for the Blue i was able to find in the list of overlays. the github you linked goes heavily into the 3.x kernels which don't apply to the device tree changes in the 4.9.x and above kernels. i was hoping an overlay would exist that would fix the fact that the /sys/devices/platform/ocp/ directory only has 8 pinmux entries, which is why none of the robotics cape functions actually work.
i tried the export method below, but i doesn't add anything to the OCP directory listed above that the examples all need. this is even after i modified the uEnv.txt file to include even the cape-universalh-dtbo. The lack of an overlay, my lack of understanding how to correctly make one, is inhibiting this. i found out that for some reason the push buttons on it are hard coded into the libroboticscape library, which is written in C, and even the rcpy library doesn't work correctly, all because of the missing entires in the /ocr/ directory. any additional inside is appreciated. On Friday, March 9, 2018 at 9:35:59 PM UTC-5, Wulf Man wrote: > > 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] <javascript:>. > 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/b9deb134-42be-4d94-ab0b-fc4b1370e757%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
