找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 328|回复: 6

LEDE源码编译AX6无法生成固件

[复制链接]
发表于 2023-5-25 23:13 | 显示全部楼层 |阅读模式
cc1: fatal error: /home/ubuntu/lede/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/linux-5.10.180/arch/arm64/boot/dts/qcom/-ax6.dts: No such file or directory
compilation terminated.
make[5]: *** [Makefile:18: /home/ubuntu/lede/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/image--ax6.dtb] Error 1
make[5]: Leaving directory '/home/ubuntu/lede/target/linux/ipq807x/image'
make[4]: *** [Makefile:26: install] Error 2
make[4]: Leaving directory '/home/ubuntu/lede/target/linux/ipq807x'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/ubuntu/lede/target/linux'
time: target/linux/install#18.17#5.52#24.41
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/home/ubuntu/lede'
make[1]: *** [target/Makefile:24: /home/ubuntu/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/ubuntu/lede'
make: *** [/home/ubuntu/lede/include/toplevel.mk:231:world] 错误 2

上面是最后的错误代码

环境是Hyper-V虚拟的ubuntu,在另一台电脑上使用VM搭建的ubuntu也是这种情况,编译的时候未回退源码,修改generic文件实现

网络环境均为千兆移动且science

我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2023-5-25 23:15 | 显示全部楼层
第一句看是缺少文件,想问一下是否是未回退源码导致
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-5-25 23:26 | 显示全部楼层
-ax6.dts  是不是名字错误了

点评

我发现了 改完后还是不对,这次出来固件名称了,但是无法创建 make[5]: *** [Makefile:19: /home/ubuntu/lede/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/tmp/openwrt-ipq807x-generic-redmi  详情 回复 发表于 2023-5-25 23:35
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2023-5-25 23:35 | 显示全部楼层
Hanye 发表于 2023-5-25 23:26
-ax6.dts  是不是名字错误了

我发现了 改完后还是不对,这次出来固件名称了,但是无法创建

make[5]: *** [Makefile:19: /home/ubuntu/lede/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/tmp/openwrt-ipq807x-generic-redmi_ax6-squashfs-sysupgrade.bin] Error 1
make[5]: Leaving directory '/home/ubuntu/lede/target/linux/ipq807x/image'
make[4]: *** [Makefile:26: install] Error 2
make[4]: Leaving directory '/home/ubuntu/lede/target/linux/ipq807x'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/ubuntu/lede/target/linux'
time: target/linux/install#26.56#5.46#19.35
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/home/ubuntu/lede'
make[1]: *** [target/Makefile:24: /home/ubuntu/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/ubuntu/lede'
make: *** [/home/ubuntu/lede/include/toplevel.mk:231:world] 错误 2

点评

make -j1 估计是你的估计体积超大无法创建,比如你定义的是32M的估计,选的组件太多了,然后超过32M  详情 回复 发表于 2023-5-26 10:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-5-26 01:01 | 显示全部楼层
大佬有没有ax3000的编程器的闪存固件
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-5-26 10:18 | 显示全部楼层
373838347 发表于 2023-5-25 23:35
我发现了 改完后还是不对,这次出来固件名称了,但是无法创建

make[5]: *** [Makefile:19: /home/ubuntu ...

make -j1   估计是你的估计体积超大无法创建,比如你定义的是32M的固件,选的组件太多了,然后超过32M

点评

就选了几个插件,block size默认没改  详情 回复 发表于 2023-5-26 11:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2023-5-26 11:13 | 显示全部楼层
Hanye 发表于 2023-5-26 10:18
make -j1   估计是你的估计体积超大无法创建,比如你定义的是32M的固件,选的组件太多了,然后超过32M ...

就选了几个插件,block size默认没改
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 14:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表