OpenWrt Forum Archive

Topic: which file to take after finished building ?

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.

Hello,
I need an openwrt-image including the package tinc for my TL-WR841N.
because of its small flash-space, I planned building an image without LuCi but with tinc integrated.

After a few stumbling stones, I finally did it to run make without any errors.
Half an hour later, everything finished, I got no errors and found a few files in my directory ./bin/ar71xx/

I was looking for a file including the words "factory" and "WR841N", but as you can see here, there is no file looking like this:

-rw-r--r-- 1 sb sb  729 Nov 22 10:38 amd5sums
-rwxr-xr-x 1 sb sb 157K Nov 22 10:32 openwrt-ar71xx-generic-nbg460n_550n_550nh-u-boot.bin
-rw-r--r-- 1 sb sb 2,7M Nov 22 10:38 openwrt-ar71xx-generic-root.squashfs
-rw-r--r-- 1 sb sb 2,6M Nov 22 10:38 openwrt-ar71xx-generic-root.squashfs-64k
-rw-r--r-- 1 sb sb 1,6M Nov 22 10:38 openwrt-ar71xx-generic-uImage-gzip.bin
-rw-r--r-- 1 sb sb 1,2M Nov 22 10:38 openwrt-ar71xx-generic-uImage-lzma.bin
-rwxr-xr-x 1 sb sb 3,4M Nov 22 10:38 openwrt-ar71xx-generic-vmlinux.bin
-rwxr-xr-x 1 sb sb 3,4M Nov 22 10:38 openwrt-ar71xx-generic-vmlinux.elf
-rw-r--r-- 1 sb sb 1,6M Nov 22 10:38 openwrt-ar71xx-generic-vmlinux.gz
-rw-r--r-- 1 sb sb 1,2M Nov 22 10:38 openwrt-ar71xx-generic-vmlinux.lzma
-rwxr-xr-x 1 sb sb 1,2M Nov 22 10:38 openwrt-ar71xx-generic-vmlinux-lzma.elf
drwxr-xr-x 8 sb sb 4,0K Nov 22 10:38 packages
-rw-r--r-- 1 sb sb 1,2K Nov 22 10:38 sha256sums
drwxr-xr-x 2 sb sb 4,0K Nov 22 10:32 uboot-ar71xx-nbg460n_550n_550nh

Can I use one of these files or is there anything I did wrong?

these are the options I configured:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_TLWR841=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_PACKAGE_kmod-ledtrig-usbdev=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-tun=y
CONFIG_PACKAGE_kmod-usb-core=y
CONFIG_PACKAGE_kmod-usb-ohci=y
CONFIG_PACKAGE_kmod-usb2=y
CONFIG_PACKAGE_liblzo=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_tinc=y
CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh=y
CONFIG_PACKAGE_zlib=y

thank you

Don

The correct image was probably oversized and got deleted again, run "make -j1 V=s" and check towards the end of the build log for corresponding error messages.

ok, thank you for thr fast help

I started it.
If you are right, and the image was oversized: is there anything I can do, to make it small enough so tinc has enough space to become included ?

edit: looks like, you are right:

[mktplinkfw] kernel length aligned to 1166336
[mktplinkfw] *** error: images are too big
Makefile:2197: recipe for target 'install' failed

what can I do ?


Thank you and greetings


Don

(Last edited by doncorso on 22 Nov 2017, 11:34)

The discussion might have continued from here.