Firefly开源社区

标题: 内核编译报错recipe for target 'arch/arm/boot/dts/rk3188-tb.dtb' failed [打印本页]

作者: pqy    时间: 2014-12-20 17:23
标题: 内核编译报错recipe for target 'arch/arm/boot/dts/rk3188-tb.dtb' failed
make -f scripts/Makefile.build obj=arch/arm/boot/dts MACHINE= dtbs
  arm-rk3288-linux-uclibcgnueabihf-gcc -E -Wp,-MD,arch/arm/boot/dts/.rk3188-tb.dtb.d.pre.tmp -nostdinc -I/run/media/gentoo/sda5/rk3288/kernel/arch/arm/boot/dts -I/run/media/gentoo/sda5/rk3288/kernel/arch/arm/boot/dts/include -undef -D__DTS__ -x assembler-with-cpp -o arch/arm/boot/dts/.rk3188-tb.dtb.dts arch/arm/boot/dts/rk3188-tb.dts ; /run/media/gentoo/sda5/rk3288/kernel/scripts/dtc/dtc -O dtb -o arch/arm/boot/dts/rk3188-tb.dtb -b 0 -i arch/arm/boot/dts/  -d arch/arm/boot/dts/.rk3188-tb.dtb.d.dtc.tmp arch/arm/boot/dts/.rk3188-tb.dtb.dts ; cat arch/arm/boot/dts/.rk3188-tb.dtb.d.pre.tmp arch/arm/boot/dts/.rk3188-tb.dtb.d.dtc.tmp > arch/arm/boot/dts/.rk3188-tb.dtb.d
Error: arch/arm/boot/dts/rk3188-tb.dts:498.3-4 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:277: recipe for target 'arch/arm/boot/dts/rk3188-tb.dtb' failed
make[1]: *** [arch/arm/boot/dts/rk3188-tb.dtb] Error 1
/run/media/gentoo/sda5/rk3288/kernel/arch/arm/Makefile:305: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2

其实就是执行/run/media/gentoo/sda5/rk3288/kernel/scripts/dtc/dtc -O dtb -o arch/arm/boot/dts/rk3188-tb.dtb -b 0 -i arch/arm/boot/dts/  -d arch/arm/boot/dts/.rk3188-tb.dtb.d.dtc.tmp arch/arm/boot/dts/.rk3188-tb.dtb.dts报错。
我没改过arch/arm/boot/dts/rk3188-tb.dts,什么情况?


作者: pqy    时间: 2014-12-20 23:17
原来make后面要加上firefly-rk3288.img这个目标参数啊,好吧。。
作者: luminmin882001    时间: 2016-8-16 16:24
你现在才知道啊,这个参数肯定要加的啊,你一开始不看,现在遇到问题了吧,还是要认真看别人写的编译文档啊。
作者: czhjchina    时间: 2016-8-22 15:21
henhaohaoenhaohaohao




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1