Hi Jon,
Thanks, that works and behaves exactly as I need.
Jan

On Friday, 5 December 2014 10:54:39 UTC+11, Jon E wrote:
>
> I used roughly the following process; 
>
> 1) grab the original source file & copy to a local version 
>
> wget 
>
> https://raw.githubusercontent.com/beagleboard/linux/3.8.13-bone66/firmware/capes/bone_pwm_P8_13-00A0.dts
>  
>
> cp bone_pwm_P8_13-00A0.dts bone_pwm_local-00A0.dts 
>
> 2) change the part-number in your local version of the .dts file 
>
> <         part-number = "bone_pwm_P8_13"; 
> --- 
>  >         part-number = "bone_pwm_local_P8_13"; 
>
> 3) compile & copy to /lib/firmware 
>
> dtc -O dtb -o bone_pwm_local-00A0.dtbo -b 0 -@ bone_pwm_local-00A0.dts 
>
> cp bone_pwm_local-00A0.dtbo /lib/firmware/ 
>
> 4) load the am33xx_pwm overlay, plus your local config for your pin 
>
> echo am33xx_pwm  >/sys/devices/bone_capemgr.*/slots 
> echo bone_pwm_local >/sys/devices/bone_capemgr.*/slots 
>
> Those steps should be enough; 
>
> root@beaglebone:~# ls /sys/devices/ocp.*/pwm_test_P8_13.*/ 
> driver        duty  modalias        period        polarity  power  run 
>  subsystem  uevent 
>
> Regards, 
> Jon 
>
>
> On 04/12/14 23:21, [email protected] <javascript:> wrote: 
> > OK, I did the renaming from "bone_pwm_P8_13-00A0.* " into 
> > "bone_pwm_test-00A0.*" and after reboot I have: 
> > 
> > in slots: 
> >   0: 54:PF--- 
> >   1: 55:PF--- 
> >   2: 56:PF--- 
> >   3: 57:PF--- 
> >   4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 
> >   5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI 
> >   7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART1 
> >   8: ff:P-O-L Override Board Name,00A0,Override Manuf,SPI-4SS 
> >   9: ff:P-O-L Override Board Name,00A0,Override Manuf,bone_eqep2b 
> > 10: ff:P-O-L Override Board Name,00A0,Override Manuf,bone_pwm_test 
> > 11: ff:P-O-L Override Board Name,00A0,Override Manuf,am33xx_pwm 
> > 
> > but in  /sys/devices/ocp.3/pwm_test_P8_13.16 I have only: 
> > 
> > root@beaglebone:/sys/devices/ocp.3/pwm_test_P8_13.16# ls 
> > modalias  power  subsystem  uevent 
> > 
> > My bone_pwm_test-00A0.dts and bone_pwm_test-00A0.dtb0 are in 
> /lib/firmware 
> > Do I need to make any changes to them after all (as the renaming only 
> > doesn't work)? 
> > 
> > Jan 
>
>

-- 
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.

Reply via email to