Subject: Re: NetBSD/evbarm kernel size issue
To: None <tonnerre@bsdprojects.net>
From: Robert Swindells <rjs@fdy2.demon.co.uk>
List: port-arm
Date: 02/24/2006 09:43:27
Tonnere LOMBARD wrote:
>I have to build a kernel for a Linksys NSLU2. I'm crossbuilding NetBSD
>3.0_STABLE from NetBSD/alpha 2.1. I used the IXDP425 config as a template,
>and minimized the involved components until nothing was left that I could
>have taken away.

>Still, the kernel image is 1.7M unstripped, or 1.4M stripped. However,
>the maximum size of a kernel image on the flash is 1048560 bytes, due
>to the initrd offset which starts right after that.

>Also, I am not really sure whether such a minimalist kernel deserves to be
>that large.

>Config appended.

[snipped]

>Ideas?

You can remove wm* and fxp*, but that won't bring the size down by much.

Why do you need to keep the flash layout the same as for Linux ?

Which bootloader are you using ?

Robert Swindells