Dtc -I dts -O dts -o test.dtsmsm8939-Cp5961-p0.dts
Dtc -I dts -O dts -oteset0.dts test0000.dtb
反编译到teset0.dts中
随便放,放到你环境变量里就可
嫌麻烦就放到和dtb ,dts相同的目录(不推荐)
Dtb 编译
一般形式:dtbTool-o path/dt.img -s 4096 -p path/scripts/dtc/ path/dts/
例子:dtbTool-o out/target/product/$TARGET_PRODUCT/dt.img -s 4096 -p out/target/product/$TARGET_PRODUCT/obj/KERNEL_OBJ/scripts/dtc/ out/target/product/$TARGET_PRODUCT/obj/KERNEL_OBJ/arch/arm64/boot/dts/
可以看下帮助
反编译
dtc –I dtb –O dts aa.dtb –o bb.dts
Dtc工具目录:
L_5.0_0610/out/target/product/CP5961/obj/KERNEL_OBJ/scripts/dtc/dtc
~/dts-use/dtc -I dtb -O dtsmsm8939-CPA8-P0.dtb -o msm8939-CPA8-P0.dts