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/
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
Dear Robert
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
root@beaglebone:/opt/scripts/tools# sudo ./update_kernel.sh --bone-rt-kernel --lts
--2016-01-19 19:27:20-- http://rcn-ee.net/deb/wheezy-armhf/LATEST-omap-psp
Resolving rcn-ee.net (rcn-ee.net)... 45.33.2.10, 2600:3c00::f03c:91ff:fe37:6ad5
Connecting to rcn-ee.net (rcn-ee.net)|45.33.2.10|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-01-19 19:27:21 ERROR 404: Not Found