Thanks for those links! I have two problems 1) /sys/class/pwm is empty, so I can't echo anything into a /export. Could this be due to running Arch instead of Angstrom?
2) dtc is complaning that "#include" doesn't parse, saying "Error: BB-BONE-BACONE.dts:11.1-9 syntax error FATAL ERROR: Unable to parse input tree" Any ideas? --M@ On Sun, Aug 23, 2015 at 8:52 PM, Robert Nelson <[email protected]> wrote: > On Sun, Aug 23, 2015 at 4:06 PM, M@ Dunlap <[email protected]> > wrote: > > Hello all, I'm trying with increasing desperation to get my BBB (that is > > running 4.1.4-1-ARCH) to use a PWM. It used to work, but then I updated > > from 3.8 to 4.1 and now it's back to SNAFU. I'm trying to get device > trees > > to work, but I really, really don't get device tree overlays, I've read > all > > the guides/docs and am still clueless. > > > > My current best guess is to first load > > > https://github.com/ProjectHexapod/bbbStuff/blob/master/overlays/am33xx_pwm-00A0.dts > > to activate pwm, and then load > > > https://github.com/ProjectHexapod/bbbStuff/blob/master/overlays/thigh_bone-00A0.dts > > to configure all the pins. Unfortunately when I do that and then try to > > echo something into pwmFolder/duty it tells me that the permission is > > denied. I also don't understand why those need to be separate device > tree > > overlays. > > > > In attempting to isolate the problem I also came up with the following, > but > > it gives the same permission denied errors. I'm out of ideas, please > send > > help! Also, even if you don't know how to solve the problem, I'd also be > > interested to hear if there are style or high-level problems with my > > approach.... > > pwm works fine, take a look at the bacon cape example we have for 4.1: > > cape: > > https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BONE-BACONE-00A0.dts > > and the script i used to test the pwm's > > > https://github.com/beagleboard/bb.org-overlays/blob/master/examples/BB-BONE-BACONE/example.sh > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/hsyqGGqAQsI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > 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]. For more options, visit https://groups.google.com/d/optout.
