Hi, I am running the latest version of Arch Linux on my beaglebone black and have noticed many things have changed since my last time using it a year ago.
Following a few other posts on this forum I have added the following line to /boot/boot.txt
$this->bbcode_second_pass_code('', '
...
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
fdt addr ${fdt_addr_r}
load ${devtype} ${devnum}:${bootpart} 0x88060000 /lib/firmware/BB-PWM0-00A0.dtbo
fdt resize ${filesize}
fdt apply 0x88060000
...
')
After running ./mkscr successfully and rebooting I can actually see /sys/class/pwm/pwmchip0/
and export pwm-0:0/ but when I echo things into the duty_cycle and period files, then execute
$this->bbcode_second_pass_code('', '
[root /sys/class/pwm/pwmchip0/pwm-0\:0/]# echo 1 > enable
')
Nothing happens, I have also noticed in the file /sys/kernel/debug/pinctrl/44e10800.pinmux-pinctrl-single/pins
the pins for 14 and 16 are:
$this->bbcode_second_pass_code('', '
pin 14 (PIN14) 44e10838 00000027 pinctrl-single
pin 16 (PIN16) 44e10840 00000027 pinctrl-single
')
But from what I recall shouldn't the 00000027 values be 00000006 for PWM mode?
I would appreciate any help very much, thanks!