[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 oernser
3 hours ago
Last post by yhayes
4 hours ago
Last post by nitzsche.travon
1 hour ago
Last post by zgerhold
3 hours ago
Last post by conroy.nyah
3 hours ago
Last post by weissnat.madonna
19 minutes ago
Last post by murray.cecile
10 minutes ago
Last post by igoyette
4 hours ago
Last post by hoeger.amya
1 hour ago
Last post by jody44
2 hours ago
Last post by hartmann.michelle
2 hours ago
Last post by dorothy32
4 hours ago
Last post by precious.krajcik
1 hour ago
Last post by lang.eldora
3 hours ago