From owner-freebsd-mips@FreeBSD.ORG Thu Aug 26 23:35:52 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFB50106564A for ; Thu, 26 Aug 2010 23:35:52 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2498FC13 for ; Thu, 26 Aug 2010 23:35:51 +0000 (UTC) Received: by eyx24 with SMTP id 24so2009595eyx.13 for ; Thu, 26 Aug 2010 16:35:51 -0700 (PDT) Received: by 10.216.88.204 with SMTP id a54mr43818wef.30.1282865747242; Thu, 26 Aug 2010 16:35:47 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.216.5.5 with HTTP; Thu, 26 Aug 2010 16:35:27 -0700 (PDT) In-Reply-To: <4C76FA9F.2070805@adaranet.com> References: <4C76F4B6.5050607@adaranet.com> <20100826.171545.705015198975915183.imp@bsdimp.com> <4C76FA9F.2070805@adaranet.com> From: Juli Mallett Date: Thu, 26 Aug 2010 16:35:27 -0700 X-Google-Sender-Auth: lXk6HPPlYEJgp_tV93m-GB833D0 Message-ID: To: Patrick Mahan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-mips@freebsd.org" Subject: Re: Cannot build the Mips 32 bit kernel X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2010 23:35:53 -0000 On Thu, Aug 26, 2010 at 16:37, Patrick Mahan wrote: > We build for mips o32 under 8.0 and our kernel (before we insert the > rootfile system) is > > -rwxr-xr-x =A01 pmahan =A0pmahan =A038155521 Aug 24 19:22 kernel.octeon.3= 2 > > Where when we build it off of head we are seeing > > -rwxr-xr-x =A01 pmahan =A0pmahan =A0243364423 Aug 26 09:45 kernel.octeon.= 32 > > ~38 Mbytes versus ~243 Mbytes > > a 6x increase in size. =A0So I was playing around with the configuration > file to decide what to leave out. That must be either some difference in allocating space for the root filesystem or related to having a lot of debugging info and not stripping the one from HEAD. The Cavium Simple Executive (I don't know if the proprietary port you're using uses it or not) adds some bloat, but nothing like that much. My kernels, n64 and o32 both, are around 8M. I'm not embedding any sort of root filesystem.