|
本帖最后由 风火轮用户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
|
|