DHDAXCW / lede-rockchip

This source code builds openwrt for Rockchip Soc from upstream source code https://github.com/coolsnowwolf/lede
Other
172 stars 103 forks source link

初次编译lubancat1n版本,编译过程出错,求教大佬 #48

Closed 7-Asn closed 10 months ago

7-Asn commented 10 months ago

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:用的stable分支的最新一次提交,按照readme流程进行初次编译,make -j1 V=s编译过程中找不到idbloader

(2) 路由器型号和固件版本

A:lubancat1n

(3) 详细日志

A:

+ make_ext4fs -J -L kernel -l 33554432 -T 1705755068 /home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/tmp/openwrt-rockchip-armv8-embedfire_lubancat-1n-squashfs-sysupgrade.img.gz.kernel /home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/tmp/openwrt-rockchip-armv8-embedfire_lubancat-1n-squashfs-sysupgrade.img.gz.boot
Creating filesystem with parameters:
    Size: 33554432
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 2048
    Inode size: 256
    Journal blocks: 0
    Label: kernel
    Blocks: 8192
    Block groups: 1
    Reserved blocks: 0
    Reserved block group size: 7
Created filesystem with 13/2048 inodes and 1263/8192 blocks
+ dd if=/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/tmp/openwrt-rockchip-armv8-embedfire_lubancat-1n-squashfs-sysupgrade.img.gz.kernel of=/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/tmp/openwrt-rockchip-armv8-embedfire_lubancat-1n-squashfs-sysupgrade.img.gz bs=512 seek=65536 conv=notrunc
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0.0566229 s, 593 MB/s
+ rm -f /home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/tmp/openwrt-rockchip-armv8-embedfire_lubancat-1n-squashfs-sysupgrade.img.gz.kernel
# Copy the idbloader and the u-boot image to the image at sector 0x40 and 0x4000
dd if="/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/staging_dir/target-aarch64_generic_musl/image"/lubancat1n-rk3566-idbloader.img of="/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/tmp/openwrt-rockchip-armv8-embedfire_lubancat-1n-squashfs-sysupgrade.img.gz" seek=64 conv=notrunc
dd: failed to open '/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/staging_dir/target-aarch64_generic_musl/image/lubancat1n-rk3566-idbloader.img': No such file or directory
make[5]: *** [Makefile:79: /home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/tmp/openwrt-rockchip-armv8-embedfire_lubancat-1n-squashfs-sysupgrade.img.gz] Error 1
make[5]: Leaving directory '/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/target/linux/rockchip/image'
make[4]: *** [Makefile:25: install] Error 2
make[4]: Leaving directory '/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/target/linux/rockchip'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/target/linux'
time: target/linux/install#28.55#3.32#22.54
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip'
make[1]: *** [target/Makefile:24: /home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/staging_dir/target-aarch64_generic_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip'
make: *** [/home/asn/Documents/embedded_linux/lubancat/openwrt/lede-rockchip/include/toplevel.mk:231: world] Error 2
DHDAXCW commented 10 months ago

https://github.com/DHDAXCW/lede-rockchip/commit/fa42ea3fe4aae0fd0b720b002f7533ea68afac5e