Date: Thu, 29 Aug 2013 16:06:47 -0600 From: Warner Losh <imp@bsdimp.com> To: "Nenhum_de_Nos" <matheus@eternamente.info> Cc: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: TP-Link 1043ND - its tme :) Message-ID: <8FFD8F5B-FCE4-4062-B6B7-7A46943E91AE@bsdimp.com> In-Reply-To: <04dc16e8adc42b571915e7fc51ec9a57.squirrel@arroway.org> References: <fff374ff14148d1fb43d22455e2f068f.squirrel@arroway.org> <CAJ-VmokmrJW4cKd3kXnvezhynh0Pic9hswpFngsG8mAjmJVDSQ@mail.gmail.com> <CAB=2f8xyHYEYcJSnmEaxz2KVLCa=kYOYDEt0CNP4eWwMMx-oQg@mail.gmail.com> <f1c2b01c75e04235197a4a766580e82c.squirrel@arroway.org> <04dc16e8adc42b571915e7fc51ec9a57.squirrel@arroway.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> [mktplinkfw] *** error: rootfs image is too big OK. This isn't for root image, but to make the uncompressed kernel ~685k smaller. So maybe 200k smaller after compression. http://people.freebsd.org/~imp/smalller-mips basically it does EXTRA_FLAGS+=-fno-inline -Wno-inline -Os -Wno-strict-aliasing while setting the inline limit to 0 and adding some libkern functions that need it. Plus adding the canonical MUTEX/RWLOCK/SX_NOINLINE options. text data bss dec hex filename 3598994 270588 153056 4022638 3d616e kernel.debug with patch 4285106 270632 153056 4708794 47d9ba kernel.debug built without Comments? Warner P.S. Don't have this hardware, so no test boots.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8FFD8F5B-FCE4-4062-B6B7-7A46943E91AE>
