[BeagleBoard xm] PWM on BeagleBoard XM


I’m having a bad time trying to get PWM to work on BeagleBoard XM. I’m starting to deal with it and I was able to control some of the outputs through sys/class/gpio/ and I’ve found this article about implementing a pwm using it:

It isn’t what I really want, I want to control a servo motor and this is much more like what I need(https://github.com/scottellis/omap3-pwm) but I wasn’t able to get it to work. Is there a easy way to get pwm to work on a beagleboard xm afterall?