LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel customization (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-customization-845214/)

newbie2020 11-18-2010 10:50 PM

kernel customization
 
What could be the minimum size (approx) of the kernel(2.6.32)image generated by configuring using menuconfig ?.The only purpose of my kernel is to run an application which communicates with a server using TCP/IP and loads another kernel using kexec.Has any one created such a small kernel?

Tinkster 11-18-2010 10:53 PM

Hi, welcome to LQ!

No disk, no other I/O but TCP/IP? On what medium? What platform?
How much RAM? ...


Not enough info to make any valid guesses.



Cheers,
Tink

newbie2020 11-19-2010 01:06 AM

Hi ,
Thanks for your reply.Sorry I didn't mentioned much details.Well there's SATA/HDD from which the bootloader loads my kernel and I'm running on an x86 platform with 256MB RAM(It's an embedded system).


Regards,
Newbie

markush 11-19-2010 02:00 AM

Hello newbie2020 and welcome to LQ,

I'm no expert in embedded systems. For a normal Linux System with not too much hardware the kernel can be downsized to about less than 1,5 MB.
For embedded system using google I found this (as an example): http://elinux.org/System_Size#Runtime_size_of_kernel and http://focus.ti.com/lit/an/spraah2a/spraah2a.pdf

Markus

newbie2020 11-19-2010 05:41 AM

Thanks...


All times are GMT -5. The time now is 06:27 AM.