Factory.bin does not exist after building Openwrt

only sysupgrade.bin exist after building, no errors...
(config default(Archer c60 v2) follow https://openwrt.org/docs/guide-developer/quickstart-build-images )
all generated files after building in bin/targets/ar71xx/genericn folder:


am I miss something?

nwm can be deleted
I have error in some source files

same question. Anyone can help us to fix this problem? thank in advance!

Have you booted using the files available (e.g. TFTP), then flash the sysupgrade?

Same question
Let you tell me about this problem

You should be aware that ar71xx is EOL. Switching to ath79 is recommended for any current work.

AFAICS, C60 v2 is currently only available in ar71xx, not in ath79.

@pnguyentoan @khoailangdo Please check your compile logs for errors.


Suggesting that future support will be dependent on someone taking up the task of porting the device to ath79.

Build appears good on reasonably current master

jeff@deb-devel:~/devel/openwrt$ git log --pretty=oneline -1
62940df3a9 (HEAD -> master, openwrt/master, openwrt/HEAD) procd: update to latest git HEAD

jeff@deb-devel:~/devel/openwrt$ ./scripts/diffconfig.sh | egrep -v '^#'

jeff@deb-devel:~/devel/openwrt$ ls -l bin/targets/ar71xx/generic/
total 22330
-rw-r--r-- 1 jeff jeff    7918 May 29 11:32 config.seed
-rw-r--r-- 1 jeff jeff 4288853 May 29 11:34 openwrt-ar71xx-generic-archer-c60-v2-squashfs-factory.bin
-rw-r--r-- 1 jeff jeff 4260614 May 29 11:34 openwrt-ar71xx-generic-archer-c60-v2-squashfs-sysupgrade.bin
-rw-r--r-- 1 jeff jeff    2294 May 29 11:34 openwrt-ar71xx-generic-device-archer-c60-v2.manifest
-rw-r--r-- 1 jeff jeff 3014656 May 29 11:34 openwrt-ar71xx-generic-root.squashfs
-rw-r--r-- 1 jeff jeff 1592969 May 29 11:34 openwrt-ar71xx-generic-uImage-lzma.bin
-rwxr-xr-x 1 jeff jeff 5122940 May 29 11:34 openwrt-ar71xx-generic-vmlinux.bin
-rwxr-xr-x 1 jeff jeff 5128064 May 29 11:34 openwrt-ar71xx-generic-vmlinux.elf
-rw-r--r-- 1 jeff jeff 1638400 May 29 11:34 openwrt-ar71xx-generic-vmlinux.lzma
-rwxr-xr-x 1 jeff jeff 1603092 May 29 11:34 openwrt-ar71xx-generic-vmlinux-lzma.elf
drwxr-xr-x 2 jeff jeff      48 May 29 11:34 packages
-rw-r--r-- 1 jeff jeff    1066 May 29 11:35 sha256sums

No compilation errors found in the build log, but factory.bin not generated, only .sysupgrade file.

There is likely something wrong with your build system or configuration as it builds openwrt-ar71xx-generic-archer-c60-v2-squashfs-factory.bin without issue from current master.

Most robust would be starting with a fresh clone.

You can try to track it down by increasing the log verbosity with

make -j1 V=s 

The most likely reason would be the build config just being too large, given that there will always be some devices on which the currently release images won't fit anymore, the buildsystem just skips over them (although you will see complaining about it in the build logs). So give jeff's minimal build config a try first (I'm not suggesting to actually flash it, if you're in need of additional features, like e.g. luci, just to test building a known working minimal config for testing).

1 Like

If the build is "borderline" then you might need to flash a "minimal" factory.bin, then use sysupgrade with a build that has what you need in it.

At least ~200 kB is required for the overlay file system to be able to provide minimal functionality of the file system.

Operational stability of devices with low RAM (less than 128 MB) will depend on the packages installed and how they are used.