Messages in this thread | | | Date | Mon, 7 Oct 2002 11:10:21 +0200 | From | Jan-Benedict Glaw <> | Subject | Re: The end of embedded Linux? |
| |
On Sat, 2002-10-05 12:36:50 -0700, Gigi Duru <giduru@yahoo.com> wrote in message <20021005193650.17795.qmail@web13202.mail.yahoo.com>: > Trivial experiment: configure out _ALL_ the options on > 2.5.38 and build bzImage. My result? A totally useless > 270KB kernel (compressed).
Well, from time to time, there are patches/suggestions on how to get the footprint smaller. If you do embedded work, you're oftenly not interestes in all the kernel's printk() messages. I have sent around some patch some time ago which (in kernel.h) simply #define's a printk to do nothing. Then, rename original printk() to your_real_printk() and convert _really_ important printk() calls to your_real_printk(), eg. Oops messages:-)
On a small kernel, you can save 50..100 KB (in the bzImage)! That's a lot; think about uncompressed size!
And - there are other options as well. Just _look_ at the code, _think_ about it and (possibly) _change_ it if needed (and publish the changes so that they're available to others).
MfG, JBG
-- - Eine Freie Meinung in einem Freien Kopf für - einen Freien Staat voll Freier Bürger Gegen Zensur im Internet Jan-Benedict Glaw . jbglaw@lug-owl.de . +49-172-7608481 -- New APT-Proxy written in shell script -- http://lug-owl.de/~jbglaw/software/ap2/ [unhandled content-type:application/pgp-signature] | |