I don’t know if I’m on the right track, but this is what I’ve done:
I’ve used the this script https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/init-eMMC-flasher-v3.sh to flash my bbb. I’ve found the bone_capemgr under /sys/devices/platform and I was able to export a pwm port, I think. ( echo BB-PWM0 > /sys/devices/platform/bone_capemgr/slots and later echo 0 > /sys/class/pwm/export)
I see the directory with:
duty_cycle enable period polarity power uevent
root@arm:/sys/class/pwm/pwmchip0/pwm0#
when I cat polarity I get: normal.
My question(s) is(are):
-
Can I use ubuntu 16.04 on the bbb?
-
What are the other values for polarity?
Any help is much appreciated.
Cheers, Gijs