查看: 3849|回复: 0

banana pi r3无法编译

[复制链接]

2

主题

0

回帖

16

积分

新手上路

Rank: 1

积分
16
发表于 2023-8-7 16:35:27 | 显示全部楼层 |阅读模式
本帖最后由 风火轮用户qW43k 于 2023-8-7 16:38 编辑

不管是官方openwrt还是lean的lede都无法给banana pi r3编译出固件,在最后生成固件那一步就一直报错



硬件主板型号:Banana Pi R3
固件名称/系统版本:OpenWRT
Log日志:
```log
...
dd if=/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz of=/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new bs=6656k conv=sync0+1 records in1+0 records out6815744 bytes (6.8 MB, 6.5 MiB) copied, 0.00754685 s, 903 MB/smv /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gzcat /home/yoki/lede/staging_dir/target-aarch64_cortex-a53_musl/image/mt7986_bananapi_bpi-r3-sdmmc-u-boot.fip >> /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gzdd if=/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz of=/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new bs=12M conv=sync0+1 records in1+0 records out12582912 bytes (13 MB, 12 MiB) copied, 0.0151384 s, 831 MB/smv /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gzcp "/home/yoki/lede/bin/targets/mediatek/filogic/openwrt-mediatek-filogic-bananapi_bpi-r3-initramfs-recovery.itb" "/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta"fwtool -s /dev/null -t "/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" || ata not foundfwtool -i /dev/null -t "/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" || ata not foundmkdir -p "/home/yoki/lede/staging_dir/target-aarch64_cortex-a53_musl/image"dd if="/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" of="/home/yoki/lede/staging_dir/target-aarch64_cortex-a53_musl/image/mediatek-filogic-bananapi_bpi-r3-initramfs-recovery.itb"438912+0 records in438912+0 records out224722944 bytes (225 MB, 214 MiB) copied, 1.5279 s, 147 MB/sdd if="/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta" >> "/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz"438912+0 records in438912+0 records out224722944 bytes (225 MB, 214 MiB) copied, 1.44158 s, 156 MB/srm "/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.stripmeta"bash: line 1: 8: Bad file descriptordd if=/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz of=/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz.new bs=44M conv=syncdd: failed to open '/home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz': No such file or directorymake[5]: *** [Makefile:37: /home/yoki/lede/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/tmp/openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img.gz] Error 1make[5]: Leaving directory '/home/yoki/lede/target/linux/mediatek/image'make[4]: *** [Makefile:17: install] Error 2make[4]: Leaving directory '/home/yoki/lede/target/linux/mediatek'make[3]: *** [Makefile:11: install] Error 2make[3]: Leaving directory '/home/yoki/lede/target/linux'time: target/linux/install#1587.67#49.26#1199.10    ERROR: target/linux failed to build.make[2]: *** [target/Makefile:30: target/linux/install] Error 1make[2]: Leaving directory '/home/yoki/lede'make[1]: *** [target/Makefile:24: /home/yoki/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.target_install] Error 2make[1]: Leaving directory '/home/yoki/lede'make: *** [/home/yoki/lede/include/toplevel.mk:231: world] Error 2
```

问题描述及复现步骤: 我克隆相关源码后,执行`make download -j8 `后执行`make -j1 V=s`到最后一步生成固件就报错(OP官方也好,lede源码也好都不行)

编译环境:Ubuntu 20.04 lts ,内核5.15
编译源码:official Openwrt source code with branch`main` 或 lede with branch`main

lede源码编译时的配置文件.zip

48.47 KB, 下载次数: 326

lede源码编译时的配置文件

编译的配置文件.zip

7 KB, 下载次数: 312

op官方源码编译时的配置文件

编译日志.zip

1.83 KB, 下载次数: 321

编译日志

回复

使用道具 举报

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

本版积分规则

QQ|风火轮WIKI|手机版|小黑屋|深圳风火轮团队 ( 粤ICP备17095099号 )

GMT+8, 2024-12-27 03:53 , Processed in 0.069507 second(s), 22 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn