Debian 3.14 Kernel DTC

I’m using the https://github.com/beagleboard/linux 3.14.34-ti-r53 branch to compile a kernel:

When I use the dts compiler

apt-get install Device-Tree-Compiler

running

dtc -I dtb -O dts -o custom.dts custom.dtb

the compiler complains with error

Unable to parse input tree

Downloading and executing this file just doesn’t work:

https://github.com/RobertCNelson/tools/blob/master/pkgs/dtc.sh

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

I’m unable to use the modified dtc.sh to compile a dts file.

Does anyone know how I can compile a dts file and include it in the kernel at compile time?

Pieter

I’m using a 4D-7.0-lcd with 3.14-ti.
My approach to getting it to work is using RobertCNelson’s dtb-rebuilder.

https://github.com/RobertCNelson/dtb-rebuilder/tree/3.14-ti

For me it’s just editing the beagleboneblack.dts to include the right dts-file ( am335x-bone-4dcape-70t.dts) then ‘make’, ‘make install’ and reboot

Maybe you can find some clues from the dts files and the makefile on how to make your own valid dts file and get it to work with dtc.

Danny