On Mon, Dec 5, 2011 at 5:15 AM, Mark Mentovai <m...@moxienet.com> wrote: >> Of course. It's failing while attempting to build a WNDR3700 (v1) >> image, because there's no way to produce an image for WNDR3700 this >> large. It'd never fit in its flash. I believe it's correct to produce >> an error in this case. What you'd evidently like to do is produce >> WNDR3700v2 and WNDR3800 images, but not WNDR3700 (v1). The build >> system doesn't currently allow for this, because it produces the three >> images simultaneously. What you can do is locally remove this line >> from target/linux/ar71xx/image/Makefile:
This patch cripples the newer WNDR3700v2 and WNDR3800 models for the sake of saving 128kB on the now EOL WNDR3700. People shouldn't have to know to locally remove a line from a Makefile if they wish to build an image larger than half their device's flash size. Is there even a need to produce an oversize image warning? I'm not aware of any other architecture that refuses to build over a certain size. x86 being the obvious exception, but that is different because it doesn't target any particular device, but a whole architecture. (Either way, the rootfs size is customisable by the user.) I think it should be left up to the user/webif/sysupgrade to ensure that the image is small enough to fit in flash, not the build system. On 05/12/11 07:32, Dave Taht wrote: > Would there be a way to set, globally, something that would disable > building images for sub 8MB flash units in the ar71xx series? That > way I could build for more than the wndr3700v2 and 3800 series ( > the wzr, for example). I would be agreeable to this. An option could could be provided to upgrade oversize build warnings to errors. Regards, Jon _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel