Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mt7915_mtwifi分支,cr660x编译报错 #4

Open
Schmidt97318 opened this issue Jul 9, 2022 · 4 comments
Open

mt7915_mtwifi分支,cr660x编译报错 #4

Schmidt97318 opened this issue Jul 9, 2022 · 4 comments

Comments

@Schmidt97318
Copy link

Ignoring, exclude it (-e/-ef) to override.
[==================================================================================-] 1659/1659 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments,
no xattrs, compressed ids
duplicates are removed
Filesystem size 17071.35 Kbytes (16.67 Mbytes)
35.41% of uncompressed filesystem size (48208.40 Kbytes)
Inode table size 13208 bytes (12.90 Kbytes)
20.94% of uncompressed inode table size (63085 bytes)
Directory table size 18524 bytes (18.09 Kbytes)
43.36% of uncompressed directory table size (42725 bytes)
Number of duplicate files found 240
Number of inodes 1899
Number of files 1531
Number of fragments 39
Number of symbolic links 241
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 126
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
rm -f /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin
cp /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/vmlinux-initramfs /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin
cat /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/image-mt7621_xiaomi_mi-router-cr6609.dtb >> /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin
/home/smith/mt7915/immortalwrt/staging_dir/host/bin/lzma e /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin -lc1 -lp2 -pb2 /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.new
rm -rf /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src
export MAKEFLAGS= ;make -w -C lzma-loader PKG_BUILD_DIR="/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src" TARGET_DIR="/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/" LOADER_NAME="immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin" BOARD="MT7621 based boards" PLATFORM="mt7621" LZMA_TEXT_START=0x81800000 LOADADDR=0x80001000 LOADER_DATA="/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin" compile loader.bin
make[6]: Entering directory '/home/smith/mt7915/immortalwrt/target/linux/ramips/image/lzma-loader'
mkdir /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src
cp -fpR ./src/* /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src/
touch /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src/.prepared
make -C /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src CROSS_COMPILE="mipsel-openwrt-linux-musl-"
LZMA_TEXT_START=0x81800000
LOADER_DATA=/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin
FLASH_START=
FLASH_OFFS=
FLASH_MAX=
BOARD="MT7621 based boards"
PLATFORM="mt7621"
clean all
make[7]: Entering directory '/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src'
rm -f loader *.elf *.bin .o
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -D__ASSEMBLY__ -c -o head.o head.S
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o loader.o loader.c
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o cache.o cache.c
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o board-mt7621.o board-mt7621.c
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o printf.o printf.c
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o LzmaDecode.o LzmaDecode.c
mipsel-openwrt-linux-musl-ld -r -b binary --oformat elf32-tradlittlemips -T lzma-data.lds -o data.o /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -static -Wl,--gc-sections -Wl,-no-warn-mismatch -Wl,-e,startup -T loader.lds -Wl,-Ttext,0x81800000 -flto -fwhole-program -Wl,-z,max-page-size=4096 -o loader head.o loader.o cache.o board-mt7621.o printf.o LzmaDecode.o data.o
mipsel-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -R .MIPS.abiflags -S loader loader.bin
mipsel-openwrt-linux-musl-ld -r -b binary --oformat elf32-tradlittlemips -o loader2.o loader.bin
mipsel-openwrt-linux-musl-ld -e startup -T loader2.lds -Ttext 0x80001000 -z max-page-size=4096 -o loader.elf loader2.o
make[7]: Leaving directory '/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src'
make[6]: Leaving directory '/home/smith/mt7915/immortalwrt/target/linux/ramips/image/lzma-loader'
mv "/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.bin" "/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin"
rm -rf /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.src
mkimage -A mips -O linux -T kernel -C none -a 0x80001000 -e 0x80001000 -n 'MIPS ImmortalWrt Linux-5.10.109' -d /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.new
Image Name: MIPS ImmortalWrt Linux-5.10.109
Created: Tue Jul 5 08:58:35 2022
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 20982861 Bytes = 20491.08 KiB = 20.01 MiB
Load Address: 80001000
Entry Point: 80001000
mv /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.new /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin
cp /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin /home/smith/mt7915/immortalwrt/bin/targets/ramips/mt7621/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin
DEVICE_ID="xiaomi_mi-router-cr6609" BIN_DIR="/home/smith/mt7915/immortalwrt/bin/targets/ramips/mt7621" SOURCE_DATE_EPOCH=1657011515 FILE_NAME="immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin" FILE_TYPE="kernel" FILE_FILESYSTEM="initramfs" DEVICE_IMG_PREFIX="immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609" DEVICE_VENDOR="Xiaomi" DEVICE_MODEL="Mi Router CR6609" DEVICE_VARIANT="" DEVICE_ALT0_VENDOR="" DEVICE_ALT0_MODEL="" DEVICE_ALT0_VARIANT="" DEVICE_ALT1_VENDOR="" DEVICE_ALT1_MODEL="" DEVICE_ALT1_VARIANT="" DEVICE_ALT2_VENDOR="" DEVICE_ALT2_MODEL="" DEVICE_ALT2_VARIANT="" DEVICE_TITLE="Xiaomi Mi Router CR6609" DEVICE_PACKAGES=" luci-app-mtwifi uboot-envtools " TARGET="ramips" SUBTARGET="mt7621" VERSION_NUMBER="18.06-k5.4-SNAPSHOT" VERSION_CODE="r0-f3136fb" SUPPORTED_DEVICES="xiaomi,mi-router-cr6609" /home/smith/mt7915/immortalwrt/scripts/json_add_image_info.py /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/json_info_files/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-initramfs-kernel.bin.json
rm -f /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin
cp /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/vmlinux /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin
cat /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/image-mt7621_xiaomi_mi-router-cr6609.dtb >> /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin
/home/smith/mt7915/immortalwrt/staging_dir/host/bin/lzma e /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin -lc1 -lp2 -pb2 /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.new
rm -rf /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src
export MAKEFLAGS= ;make -w -C lzma-loader PKG_BUILD_DIR="/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src" TARGET_DIR="/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/" LOADER_NAME="xiaomi_mi-router-cr6609-kernel.bin" BOARD="MT7621 based boards" PLATFORM="mt7621" LZMA_TEXT_START=0x81800000 LOADADDR=0x80001000 LOADER_DATA="/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin" compile loader.bin
make[6]: Entering directory '/home/smith/mt7915/immortalwrt/target/linux/ramips/image/lzma-loader'
mkdir /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src
cp -fpR ./src/
/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src/
touch /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src/.prepared
make -C /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src CROSS_COMPILE="mipsel-openwrt-linux-musl-"
LZMA_TEXT_START=0x81800000
LOADER_DATA=/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin
FLASH_START=
FLASH_OFFS=
FLASH_MAX=
BOARD="MT7621 based boards"
PLATFORM="mt7621"
clean all
make[7]: Entering directory '/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src'
rm -f loader *.elf *.bin *.o
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -D__ASSEMBLY__ -c -o head.o head.S
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o loader.o loader.c
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o cache.o cache.c
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o board-mt7621.o board-mt7621.c
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o printf.o printf.c
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -c -o LzmaDecode.o LzmaDecode.c
mipsel-openwrt-linux-musl-ld -r -b binary --oformat elf32-tradlittlemips -T lzma-data.lds -o data.o /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin
mipsel-openwrt-linux-musl-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DCONFIG_ICACHE_SIZE="(32 * 1024)" -DCONFIG_DCACHE_SIZE="(16 * 1024)" -DCONFIG_CACHELINE_SIZE=32 -DLZMA_WRAPPER=1 -DLOADADDR=0x80001000 -static -Wl,--gc-sections -Wl,-no-warn-mismatch -Wl,-e,startup -T loader.lds -Wl,-Ttext,0x81800000 -flto -fwhole-program -Wl,-z,max-page-size=4096 -o loader head.o loader.o cache.o board-mt7621.o printf.o LzmaDecode.o data.o
mipsel-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -R .MIPS.abiflags -S loader loader.bin
mipsel-openwrt-linux-musl-ld -r -b binary --oformat elf32-tradlittlemips -o loader2.o loader.bin
mipsel-openwrt-linux-musl-ld -e startup -T loader2.lds -Ttext 0x80001000 -z max-page-size=4096 -o loader.elf loader2.o
make[7]: Leaving directory '/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src'
make[6]: Leaving directory '/home/smith/mt7915/immortalwrt/target/linux/ramips/image/lzma-loader'
mv "/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.bin" "/home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin"
rm -rf /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.src
mkimage -A mips -O linux -T kernel -C none -a 0x80001000 -e 0x80001000 -n 'MIPS ImmortalWrt Linux-5.10.109' -d /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.new
Image Name: MIPS ImmortalWrt Linux-5.10.109
Created: Tue Jul 5 08:58:35 2022
Image Type: MIPS Linux Kernel Image (uncompressed)
Data Size: 4202708 Bytes = 4104.21 KiB = 4.01 MiB
Load Address: 80001000
Entry Point: 80001000
mv /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin.new /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin
WARNING: Image file /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin is too big: 4202772 > 4194304
[ -f /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin -a -f /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/root.squashfs ]
make[5]: *** [Makefile:224: /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/tmp/immortalwrt-ramips-mt7621-xiaomi_mi-router-cr6609-squashfs-sysupgrade.bin] Error 1
make[5]: Leaving directory '/home/smith/mt7915/immortalwrt/target/linux/ramips/image'
make[4]: *** [Makefile:23: install] Error 2
make[4]: Leaving directory '/home/smith/mt7915/immortalwrt/target/linux/ramips'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/smith/mt7915/immortalwrt/target/linux'
time: target/linux/install#119.31#26.78#127.23
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:25: target/linux/install] Error 1
make[2]: Leaving directory '/home/smith/mt7915/immortalwrt'
make[1]: *** [target/Makefile:19: /home/smith/mt7915/immortalwrt/staging_dir/target-mipsel_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/smith/mt7915/immortalwrt'
make: *** [/home/smith/mt7915/immortalwrt/include/toplevel.mk:230: world] Error 2

@CEllenvia
Copy link

WARNING: Image file /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin is too big: 4202772 > 4194304

Image is too big, do you add some extra ipk?

@Schmidt97318
Copy link
Author

WARNING: Image file /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin is too big: 4202772 > 4194304

Image is too big, do you add some extra ipk?

Thanks for your reply! I just tried to compile without adding any additional ipk, but the same error occured.

@CEllenvia
Copy link

WARNING: Image file /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin is too big: 4202772 > 4194304

Image is too big, do you add some extra ipk?

Thanks for your reply! I just tried to compile without adding any additional ipk, but the same error occured.

Interesting. kernel size just modified, you can try again.

@CEllenvia
Copy link

WARNING: Image file /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin is too big: 4202772 > 4194304

Image is too big, do you add some extra ipk?

Thanks for your reply! I just tried to compile without adding any additional ipk, but the same error occured.

WARNING: Image file /home/smith/mt7915/immortalwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/xiaomi_mi-router-cr6609-kernel.bin is too big: 4202772 > 4194304

Image is too big, do you add some extra ipk?

Thanks for your reply! I just tried to compile without adding any additional ipk, but the same error occured.

and here's another question to you: which ubuntu version you use? i use openwrt 20.04 with openwrt-21.04.3 and met many problem in compile .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants