OpenWrt Forum Archive

Topic: WNDR3700 - After compiling attitude adjustment: where is the image?

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I managed to compile open-wrt for my WNDR3700, the first part of my .config:

CONFIG_HAVE_DOT_CONFIG=y
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_WNDR3700=y
CONFIG_HAS_SUBTARGETS=y
CONFIG_LINUX_3_3=y

Now after the compilation I get the following files:

openwrt-code/attitude_adjustment/bin/ar71xx$ ls
md5sums
openwrt-ar71xx-generic-rootfs.tar.gz
openwrt-ar71xx-generic-root.jffs2-128k
openwrt-ar71xx-generic-root.jffs2-256k
openwrt-ar71xx-generic-root.jffs2-64k
openwrt-ar71xx-generic-root.squashfs
openwrt-ar71xx-generic-root.squashfs-64k
openwrt-ar71xx-generic-uImage-gzip.bin
openwrt-ar71xx-generic-uImage-lzma.bin
openwrt-ar71xx-generic-vmlinux.bin
openwrt-ar71xx-generic-vmlinux.elf
openwrt-ar71xx-generic-vmlinux.gz
openwrt-ar71xx-generic-vmlinux.lzma
openwrt-ar71xx-generic-vmlinux-lzma.elf
OpenWrt-ImageBuilder-ar71xx_generic-for-linux-x86_64.tar.bz2
OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2.tar.bz2
OpenWrt-Toolchain-ar71xx-for-mips_r2-gcc-4.6-linaro_uClibc-0.9.33.2.tar.bz2
packages

I thought I need to get something like openwrt-ar71xx-generic-***WNDR3700**-....bin

So, where is my firmware?

(Last edited by mapisto on 3 Apr 2013, 09:02)

The firmware images should be in just that directory.

My first guess is that you are stuffing so many packages into the image that it exceeds the firmware size limit for that router.

Alternative explanation is that your .config is somehow faulty. You might start from the default image options from make menuconfig for wndr3700 and try that first. And only then modify the .config, if needed.

Ps. you might get more accurate responses, if you would edit the router type to the subject...

If you check your build log for errors, you will most likely find "too big". It won't build an image that is too large to fit the defined ROM size.

@hnyman and @robthebrew Thanks for your help is truly appreciated but I'm still stuck (Even when I change to defualt setting... see below)

I search the make log (make V=99 2>&1 | tee make.log) I didn't see any "real" errors

What I do see is:
openwrt-code/attitude_adjustment/build_dir/linux-ar71xx_generic/root.jffs2-64k is too big

my make log:
https://gist.github.com/anonymous/6ffebc3e0950611b4026

and my .config

https://gist.github.com/anonymous/928df69b795d093c8a3e


I reset to defaults (just changed the sub-system to be WNDR3700) and built it but still no Image
https://gist.github.com/anonymous/84304d5dcd6eead9282b

(Last edited by mapisto on 3 Apr 2013, 10:41)

For some reason the created images are too big just like suspected:

e.g. line 3060: /home/lge/tevel1/openwrt-code/attitude_adjustment/build_dir/linux-ar71xx_generic/root.jffs2-64k is too big

I am not quite sure of the root cause.

(Last edited by hnyman on 3 Apr 2013, 11:09)

@hnyman
In my orignial post I mentioned the "too big" issue, but then I reset to defualts - still not getting the image. In that post I attached the make log of the *DEFAULTS*... can you regard that?

Thanks!

The discussion might have continued from here.