Install device tree compiler using sudo apt-get install device-tree-compiler

When I installed Ubuntu 14.04, it didn’t have dtbo files for pwm, had to 
compile them manually. Faced errors with -@ option in while compiling 
device tree overlay, overcame with commands as given below

wget -c https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh
chmod +x dtc.sh
./dtc.sh

source: 
http://hipstercircuits.com/problems-with-beaglebone-black-and-their-solution/

http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Upgradedistro%22device-tree-compiler%22package

got the missing dts files from 

https://github.com/beagleboard/devicetree-source

now at 
https://github.com/venkaty89/devicetree-source/tree/master/arch/arm/boot/dts

or

https://github.com/beagleboard/devicetree-source/tree/master/arch/arm/boot/dts

compiled required files using build file

#!/bin/bash

echo "Compiling the overlay from .dts to .dtbo"

dtc -O dtb -o am33xx_pwm-00A0.dtbo -b 0 -@ am33xx_pwm-00A0.dts

dtc -O dtb -o bone_eqep0-00A0.dtbo -b 0 -@ bone_eqep0-00A0.dts

dtc -O dtb -o bone_eqep1-00A0.dtbo -b 0 -@ bone_eqep1-00A0.dts

dtc -O dtb -o bone_eqep2-00A0.dtbo -b 0 -@ bone_eqep2-00A0.dts

dtc -O dtb -o bone_pwm_P8_13-00A0.dtbo -b 0 -@ bone_pwm_P8_13-00A0.dts

dtc -O dtb -o bone_pwm_P8_19-00A0.dtbo -b 0 -@ bone_pwm_P8_19-00A0.dts

dtc -O dtb -o bone_pwm_P8_34-00A0.dtbo -b 0 -@ bone_pwm_P8_34-00A0.dts

dtc -O dtb -o bone_pwm_P8_36-00A0.dtbo -b 0 -@ bone_pwm_P8_36-00A0.dts

dtc -O dtb -o bone_pwm_P8_45-00A0.dtbo -b 0 -@ bone_pwm_P8_45-00A0.dts

dtc -O dtb -o bone_pwm_P8_46-00A0.dtbo -b 0 -@ bone_pwm_P8_46-00A0.dts

dtc -O dtb -o bone_pwm_P9_14-00A0.dtbo -b 0 -@ bone_pwm_P9_14-00A0.dts

dtc -O dtb -o bone_pwm_P9_16-00A0.dtbo -b 0 -@ bone_pwm_P9_16-00A0.dts

dtc -O dtb -o bone_pwm_P9_21-00A0.dtbo -b 0 -@ bone_pwm_P9_21-00A0.dts

dtc -O dtb -o bone_pwm_P9_22-00A0.dtbo -b 0 -@ bone_pwm_P9_22-00A0.dts

dtc -O dtb -o bone_pwm_P9_28-00A0.dtbo -b 0 -@ bone_pwm_P9_28-00A0.dts

dtc -O dtb -o bone_pwm_P9_29-00A0.dtbo -b 0 -@ bone_pwm_P9_29-00A0.dts

dtc -O dtb -o bone_pwm_P9_31-00A0.dtbo -b 0 -@ bone_pwm_P9_31-00A0.dts

dtc -O dtb -o bone_pwm_P9_42-00A0.dtbo -b 0 -@ bone_pwm_P9_42-00A0.dts

copied compiled dtbo files to /lib/firmware using 

cp -f *.dtbo /lib/firmware 


On Monday, 29 December 2014 12:58:58 UTC+5:30, n8a...@gmail.com wrote:
>
> Sorry for the super newbie question.  What do I need to install in order 
> to have the /sys/devices/bone_capemgr* directory show up on a fresh Ubuntu 
> image?  My software uses this to configure the device tree for PWM slots.
>
> Background: I was operating fine using the default Debian image that came 
> on the BBB Rev C, but for various reasons I decided to switch to Ubuntu 
> (Trusty).  I used the image located here and all seemed to go well.  I can 
> list the GPIOs at /sys/class/gpio, but there is no bone* under /sys/devices 
> like there used to be with the Debian (Wheezy) image.
>
> Any pointers would be appreciated.
>
> -Nate
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to