[Help]Unable to convert .dts files into .dtb files

So, I tried compiling .dtb files from .dts files using device-tree-compiler.

First when I used the command

Code:
dtc -I dts -O mt6757_j7maxlte_swa_ins_01.dts

it returned me with the error :



after searching a bit on ze interwebs, i came across a script :

Code:
#!/bin/sh echo "----compiling test device tree------" # replace abc with your file name IDE=abc SRC=$IDE.dts TMP=$IDE.tmp.dts DST=$IDE.dtb cpp -nostdinc -I include -undef -x assembler-with-cpp $SRC > $TMP dtc -O dtb -b 0 -o $DST $TMP rm $TMP

I tried that script but it returned me with some more errors :



Opening the mt6757.dtsi file revealed this :





The above pic clearly shows that there is an include path in the file mt6757.dtsi in the line 11

im running Ubuntu 16.04 LTS
i updated the device-tree-compiler too but no luck

Can anybody please help me compiling .dtb files from .dts files ?

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by armani.gerhold
20 minutes ago
Last post by xschmitt
54 minutes ago
Last post by enos78
4 hours ago
Last post by tessie50
37 minutes ago
Last post by terrell13
4 hours ago
Last post by amie.runolfsson
3 hours ago
Last post by hmarvin
3 hours ago
Last post by oreilly.marietta
38 minutes ago
yes that was me
Started by erunte
Last post by schuppe.hildegard
4 hours ago
Last post by emil.kemmer
34 minutes ago