Cannot build the Mips 32 bit kernel

Juli Mallett jmallett at FreeBSD.org
Thu Aug 26 23:35:53 UTC 2010


On Thu, Aug 26, 2010 at 16:37, Patrick Mahan <pmahan at adaranet.com> wrote:
> We build for mips o32 under 8.0 and our kernel (before we insert the
> rootfile system) is
>
> -rwxr-xr-x  1 pmahan  pmahan  38155521 Aug 24 19:22 kernel.octeon.32
>
> Where when we build it off of head we are seeing
>
> -rwxr-xr-x  1 pmahan  pmahan  243364423 Aug 26 09:45 kernel.octeon.32
>
> ~38 Mbytes versus ~243 Mbytes
>
> a 6x increase in size.  So 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.


More information about the freebsd-mips mailing list