From owner-freebsd-mips@FreeBSD.ORG Thu Sep 4 21:27:35 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E883A4D4 for ; Thu, 4 Sep 2014 21:27:35 +0000 (UTC) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8C061908 for ; Thu, 4 Sep 2014 21:27:35 +0000 (UTC) Received: by mail-qg0-f49.google.com with SMTP id j107so10806767qga.36 for ; Thu, 04 Sep 2014 14:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=vTU3NF4CW6RyqPpuwsGVmdbgzDRfVsKtoPh6cXNva2c=; b=nmkVaMTJD1/zo1xxoKNfWOSzPNbauGIoo2NHIVXSYqw3uvhc6O8YYkSNqkTk6m61JH iSrsbpqoI09DBaT5OlWfCmh1W1vECHrrgZ+yAQk6bPXswc4dnZd+L7kDSRQZysG6OdxT Ro9psnesdrN3nQAxyLahr7KsyE0KRzfA72c2x04nQV6I0uNTsYGM9xeYOBrph7zgP/kM W79gGiRRY6+xci9sCFz+1n3LNdxiksU0bgbywT20ZWEXEM97m47l0DyBEACj5Lre88OX gVwKAUVI5TO2vCfa5gQX4c3RaoHdIprNyvnD8kpK6la9fvGdWb+MXAozx40bqBcrbHjz TLRw== MIME-Version: 1.0 X-Received: by 10.140.31.75 with SMTP id e69mr11194645qge.2.1409866054677; Thu, 04 Sep 2014 14:27:34 -0700 (PDT) Sender: hiren.panchasara@gmail.com Received: by 10.96.170.230 with HTTP; Thu, 4 Sep 2014 14:27:34 -0700 (PDT) In-Reply-To: References: <5408BB36.5060409@riseup.net> <5408BE6A.4050500@riseup.net> <5408CE14.2090809@riseup.net> Date: Thu, 4 Sep 2014 14:27:34 -0700 X-Google-Sender-Auth: kFwQaO4rpEI26Hxq-egJ0h2sDkg Message-ID: Subject: Re: WR1043ND - too big kernel From: hiren panchasara To: Piotr Kubaj Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-mips@freebsd.org" X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2014 21:27:36 -0000 On Thu, Sep 4, 2014 at 1:44 PM, hiren panchasara wrote: > On Thu, Sep 4, 2014 at 1:39 PM, Piotr Kubaj wrote: >> Adding following lines to kernel config shrinks size to 1750991 (on >> releng/10.0): >> makeoptions INLINE_LIMIT=768 >> nomakeoptions DEBUG >> nomakeoptions ALQ >> nooptions INET6 >> options NO_SWAPPING >> nooptions HWPMC_HOOKS >> nodevice hwpmc >> nodevice hwpmc_mips24k >> nooptions KDB >> >> Any ideas what else I can remove? :P > > I see you already have r255656. > Let me try to build for -head and see. >[mktplinkfw] *** error: kernel image is too big. Max[1572352] kernel img [2000794] ugh. Need to trim more. I'll see if I can find time this week to check where/what we can trim. cheers, Hiren