servo control on beaglebone blue

I have gone through that already and found the GPIO pins for the servo and exported the pin and have set the direction and value for it using the formula from the below link.
https://groups.google.com/g/beaglebone/c/jLHwz30JuUI
I am trying to configure this GPIO pin as PWM Pin if you have any idea on configuring the pin it will be helpful.

You should not need to ever manually export gpios via sysfs, any pins that are in gpio mode (or can be switched to it from userspace) should already be exported by default.

It’s not clear to me what you’re asking. Earlier said you were trying “to give power to the servo” which sounds like you’re asking about the 6V supply enable, but obviously that cannot and should not be PWM-controlled.

If you’re asking about the servo output pins, I already explained these are not actually PWM outputs, nor are they used in GPIO mode (PWM mode and GPIO mode are unrelated). To control the servo outputs, use librobotcontrol’s servo functions.