Firefly开源社区

标题: ./build.sh uboot 出错 [打印本页]

作者: Liu.wj    时间: 2020-5-11 21:56
标题: ./build.sh uboot 出错
更新最新的代码,
编译uboot 出错
Error: arch/arm/dts/.rk3036-sdk.dtb.pre.tmp:77.1-10 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3036-sdk.dtb] Error 1
make[2]: *** Waiting for unfinished jobs....
Error: arch/arm/dts/.rk3188-radxarock.dtb.pre.tmp:383.1-10 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3188-radxarock.dtb] Error 1
make[1]: *** [dts/Makefile:72: arch-dtbs] Error 2
make: *** [Makefile:880: dts/dt.dtb] Error 2

查看
.rk3036-sdk.dtb.pre.tmp
发现 最后一行 \#include "rk3036-sdk-u-boot.dtsi"
怎么会多出 \
作者: 时间的蝴蝶    时间: 2020-5-12 15:18
有按照WIKI步骤操作吗?http://wiki.t-firefly.com/zh_CN/Firefly-RK3288/linux_compile.html
同步一下所有代码 repo sync -c
发下完整的编译log
作者: Liu.wj    时间: 2020-5-12 19:53
时间的蝴蝶 发表于 2020-5-12 15:18
有按照WIKI步骤操作吗?http://wiki.t-firefly.com/zh_CN/Firefly-RK3288/linux_compile.html
同步一下所 ...

同步了,编译rootfs 也出现好几个文件有“ \#include”,我怀疑git同步出现问题,其他的我把那个\删掉就可以了,但是这个uboot,删了,还是会出现
Error: arch/arm/dts/.rk3368-geekbox.dtb.pre.tmp:320.1-10 Error: arch/arm/dts/.rk3188-radxarock.dtb.pre.tmp:383.1-10 syntax error
FATAL ERROR: Unable to parse input tree
Error: arch/arm/dts/.rk3036-sdk.dtb.pre.tmp:77.1-10 syntax error
FATAL ERROR: Unable to parse input tree
syntax errormake[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3188-radxarock.dtb] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3368-geekbox.dtb] Error 1

FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3036-sdk.dtb] Error 1
Error: arch/arm/dts/.rk3368-lion.dtb.pre.tmp:196.1-10 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3368-lion.dtb] Error 1
Error: arch/arm/dts/.rk3368-sheep.dtb.pre.tmp:288.1-10 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3368-sheep.dtb] Error 1
Error: arch/arm/dts/.rk3328-evb.dtb.pre.tmp:271.1-10 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3328-evb.dtb] Error 1
Error: arch/arm/dts/.rk3368-px5-evb.dtb.pre.tmp:324.1-10 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:319: arch/arm/dts/rk3368-px5-evb.dtb] Error 1
make[1]: *** [dts/Makefile:72: arch-dtbs] Error 2
make: *** [Makefile:880: dts/dt.dtb] Error 2
====Build uboot failed!====

作者: 时间的蝴蝶    时间: 2020-5-13 14:55
make distclean 行不行呢?
作者: 圆木墩子    时间: 2020-11-4 15:04
问题解决没有呀

作者: amjeg    时间: 2021-1-10 00:42
本帖最后由 amjeg 于 2021-1-10 02:02 编辑

给大家来解惑了,参考https://blog.csdn.net/qq3965470/article/details/112419619







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