您尚未登录。

楼主 # 2022-04-17 12:56:51

菜了一天好累哦
会员
注册时间: 2022-04-17
已发帖子: 1
积分: 6

F1C100s,Ubuntu编译U-BOOT 设备树报错

Error: arch/arm/dts/.suniv-f1c100s-licheepi-nano.dtb.pre.tmp:59.1-10 syntax error
FATAL ERROR: Unable to parse input tree
make[2]: *** [scripts/Makefile.lib:329: arch/arm/dts/suniv-f1c100s-licheepi-nano.dtb] Error 1
make[1]: *** [dts/Makefile:51: arch/arm/dts/suniv-f1c100s-licheepi-nano.dtb] Error 2
make: *** [Makefile:876: dts/dt.dtb] Error 2
make: *** Waiting for unfinished jobs....

根据 https://wiki.sipeed.com/soft/Lichee/zh/Nano-Doc-Backup/get_started/first_eat.html
操作

编译先是yylloc报错
根据 https://blog.csdn.net/qq_36393978/article/details/117695708x
修改后变成如题设备树报错
对应的源文件
https://gitee.com/LicheePiNano/u-boot/blob/nano-lcd800480/arch/arm/dts/suniv-f1c100s-licheepi-nano.dts

生成的tmp文件的第59行是
\#include "sunxi-u-boot.dtsi"

试了旧版新版工具链,问题照旧,无奈求助。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn