Skip to contentSkip to conversation

(apparently) HUGE kernel

Buildroot Robert Urban 1 participant 2 messages Mar 5, 2009 – Mar 6, 2009

lore
Share & tools
lore
#0 lore raw

Hi Folks,

I'm trying to build a modest linux-2.6.28.7 kernel for a VIA C3 based router/firewall which will boot from CF-card.

I've removed everything I can think of that is superfluous for my application, things like virtualization, various things to support SMP, almost all debug options, etc. I've only left the IPV4 networking, netfilter, QoS, a bit of USB support, etc.

Still the kernel (bzImage) is 12MB large. gah. On my Fedora10 system the kernel is 2.5MB large. A 12MB kernel isn't the end of the world, but it just seems too large.

I would be grateful if someone could have a look at my config-file and possibly offer an explanation. The config file is here:

http://www.spielwiese.de/rob/Buildroot/linux-config

cheers,

Rob Urban

#1 lore raw
Quoted 8 lines · Robert Urban

Still the kernel (bzImage) is 12MB large. gah. On my Fedora10 system the kernel is 2.5MB large. A 12MB kernel isn't the end of the world, but it just seems too large.

I would be grateful if someone could have a look at my config-file and possibly offer an explanation. The config file is here:

http://www.spielwiese.de/rob/Buildroot/linux-config

as someone pointed out (thanks again), my bzImage includes the initramfs, which is controlled by

	CONFIG_INITRAMFS_SOURCE="..."

cheers,

Rob Urban