Firefly开源社区

打印 上一主题 下一主题

内核编译报错recipe for target 'arch/arm/boot/dts/rk3188-tb.dtb' failed

273

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
273

内核编译报错recipe for target 'arch/arm/boot/dts/rk3188-tb.dtb' failed

发表于 2014-12-20 17:23:16      浏览:16956 | 回复:3        打印      只看该作者   [复制链接] 楼主
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,什么情况?

回复

使用道具 举报

273

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
273
发表于 2014-12-20 23:17:56        只看该作者  沙发
原来make后面要加上firefly-rk3288.img这个目标参数啊,好吧。。
回复

使用道具 举报

132

积分

0

威望

0

贡献

技术小白

积分
132
发表于 2016-8-16 16:24:37        只看该作者  板凳
你现在才知道啊,这个参数肯定要加的啊,你一开始不看,现在遇到问题了吧,还是要认真看别人写的编译文档啊。
回复

使用道具 举报

11

积分

0

威望

0

贡献

游客

积分
11
发表于 2016-8-22 15:21:49        只看该作者  地板
henhaohaoenhaohaohao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表