Задать вопрос
sajor2006
@sajor2006
Ну я человек. )

В чем может быть ошибка при компиляции Openwrt?

Подскажите в чем ошибка, не могу понять.

padding image to 00820000
padding image to 00840000
if [ `stat -c%s "/home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-e1700-squashfs-sysupgrade.bin"` -gt 8060928 ]; then echo "Warning: /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-e1700-squashfs-sysupgrade.bin is too big" >&2; else cp -fpR /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-e1700-squashfs-sysupgrade.bin /home/user/wrt/openwrt/bin/ramips/openwrt-ramips-mt7620-e1700-squashfs-sysupgrade.bin; fi
Warning: /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-e1700-squashfs-sysupgrade.bin is too big
if [ -e "/home/user/wrt/openwrt/bin/ramips/openwrt-ramips-mt7620-e1700-squashfs-sysupgrade.bin" ]; then fix-u-media-header -T 0x46 -B 0x013326 -i /home/user/wrt/openwrt/bin/ramips/openwrt-ramips-mt7620-e1700-squashfs-sysupgrade.bin -o /home/user/wrt/openwrt/bin/ramips/openwrt-ramips-mt7620-e1700-squashfs-factory.bin; fi
cp /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700
/home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/linux-3.18.45/scripts/dtc/dtc -O dtb -o /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/EX2700.dtb ../dts/EX2700.dts
/home/user/wrt/openwrt/staging_dir/host/bin/patch-dtb /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700 /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/EX2700.dtb
/home/user/wrt/openwrt/staging_dir/host/bin/lzma e /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700 -lc1 -lp2 -pb2 /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700.bin.lzma

LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
# Pad kernel to eraseblock boundary, minus 2 uImage headers (=128 bytes):
# bs = (eraseblock * (1 + (128 + kernelsize)/eraseblock)) - 128
dd if=/home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700.bin.lzma of=/home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700.bin.lzma.tmp bs=`expr \( 65536 \* \( 1 + \( 128 + \`wc -c < /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700.bin.lzma\` \) / 65536 \) \) - 128` count=1 conv=sync
0+1 records in
1+0 records out
1179520 bytes (1.2 MB, 1.1 MiB) copied, 0.000989987 s, 1.2 GB/s
mkimage -A mips -O linux -T kernel -C lzma -a 0x80000000 -e 0x80000000 -n "MIPS OpenWrt Linux-3.18.45" -d /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700.bin.lzma.tmp /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700.uImage
Image Name:   MIPS OpenWrt Linux-3.18.45
Created:      Tue Mar 21 20:10:11 2017
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    1179520 Bytes = 1151.88 kB = 1.12 MB
Load Address: 80000000
Entry Point:  80000000
cat ex2700-fakeroot.uImage >> /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700.uImage
cat /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/vmlinux-ex2700.uImage /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/root.squashfs > /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin
/home/user/wrt/openwrt/staging_dir/host/bin/padjffs2 /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin 4 8 16 64 128 256
padding image to 0080c000
padding image to 00810000
padding image to 00820000
padding image to 00840000
if [ `stat -c%s "/home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin"` -gt 3866624 ]; then echo "Warning: /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin is too big" >&2; else cp -fpR /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin /home/user/wrt/openwrt/bin/ramips/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin; fi
Warning: /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin is too big
/home/user/wrt/openwrt/staging_dir/host/bin/mkdniimg -B EX2700 -H 29764623+4+0+32+2x2+0 -v OpenWrt -i /home/user/wrt/openwrt/bin/ramips/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin -o /home/user/wrt/openwrt/bin/ramips/openwrt-ramips-mt7620-ex2700-squashfs-factory.bin
[mkdniimg] *** error: stat failed on /home/user/wrt/openwrt/bin/ramips/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin
Makefile:1075: recipe for target 'install' failed
make[5]: *** [install] Error 1
make[5]: Leaving directory '/home/user/wrt/openwrt/target/linux/ramips/image'
Makefile:26: recipe for target 'install' failed
make[4]: *** [install] Error 2
make[4]: Leaving directory '/home/user/wrt/openwrt/target/linux/ramips'
Makefile:13: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/user/wrt/openwrt/target/linux'
target/Makefile:21: recipe for target 'target/linux/install' failed
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory '/home/user/wrt/openwrt'
target/Makefile:17: recipe for target '/home/user/wrt/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.target_install' failed
make[1]: *** [/home/user/wrt/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/user/wrt/openwrt'
/home/user/wrt/openwrt/include/toplevel.mk:181: ошибка выполнения рецепта для цели «world»
make: *** [world] Ошибка 2
  • Вопрос задан
  • 557 просмотров
Подписаться 1 Оценить Комментировать
Решения вопроса 1
jcmvbkbc
@jcmvbkbc
"I'm here to consult you" © Dogbert
Warning: /home/user/wrt/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/openwrt-ramips-mt7620-ex2700-squashfs-sysupgrade.bin is too big

Слишком большой образ получился.
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы