I am trying to compile a dts file for beaglebone black. I cloned the git repository from this git location: //git.ti.com/ti-linux-kernel/ti-linux-kernel.git and I get the following errors:
for beaglebone black:
$ dtc -I dts -O dtb -o am335x-boneblack.dtb am335x-boneblack.dts
Error: am335x-boneblack.dts: syntax error 10.1-9
FATAL ERROR: Unable to parse input tree
I tried using atmel sam9g20 ek - I get the same error:
$ dtc -I dts -O dtb -o at91sam9g20ek_2mmc.dtb at91sam9g20ek_2mmc.dts
Error: at91sam9g20ek_2mmc.dts: 9.1-9 syntax error
FATAL ERROR: Unable to parse input tree
But when I use the main core they compile.
I tried is make ARCH=arm dtbsalso a mistake
Can someone point me to the mistake I'm making?