I am trying to compile the dts file for beaglebone black. I have cloned the git repository from this location git://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:10.1-9 syntax error
FATAL ERROR: Unable to parse input tree
I tried for 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 mainline kernel they compile.
I tried make ARCH=arm dtbs
also is an error
Could anybody please point me the mistake I am making?
Using the command make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs
this problem has been fixed
CROSS_COMPILE can have the compiler of your choice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With