Opened 5 years ago

Closed 4 years ago

#13406 closed defect (fixed)

Can’t build image for mzk-w04nu: Warning: kernel-mzk-w04nu.bin is too big

Reported by: Anders Kaseorg <andersk@…> Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:


I’m using OpenWRT 12.09 on my MZK-W04NU, and I wanted to try a trunk build. But there are no mzk-w04nu images in So I downloaded and ran make image PROFILE=MZKW04NU. It failed to generate any image files, apparently due to this:

Warning: /home/anders/openwrt/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-x86_64/build_dir/target-mips_r2_uClibc- is too big

Indeed, kernel-mzk-w04nu.bin is 1056089 bytes, which is greater than the 1048576 it’s testing against.

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by Anders Kaseorg <andersk@…>

I am suspicious of r35309:


This increased kernel by 64k but decreased rootfs by 128k. Which is also inconsistent with these numbers:

 define Image/Build/Planex
-       $(call Sysupgrade/KR,$(1),$(KDIR_TMP)/kernel-$(2).bin,983040,6815744,$(2))
+       $(call Sysupgrade/KR,$(1),$(KDIR_TMP)/kernel-$(2).bin,1048576,6750208,$(2))

(983040 + 64k = 1048576, 6815744 - 64k = 6750208.)

I assume these numbers just need further adjustment for the bigger kernel; someone should check the math again while doing that.

comment:2 Changed 4 years ago by dsvensson

Seems like this issue can be resolved, looking at today, snapshot builds can yet again be found:

openwrt-ar71xx-generic-mzk-w04nu-squashfs-facto..> 28-Sep-2013 05:34             7864320
openwrt-ar71xx-generic-mzk-w04nu-squashfs-sysup..> 28-Sep-2013 05:34             2883588

comment:3 Changed 4 years ago by andersk

From looking at commits to that Makefile, this was probably fixed by r38139.

comment:4 Changed 4 years ago by tripolar

  • Resolution set to fixed
  • Status changed from new to closed


Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.