2008-09-09 02:36:53     How to reduce the size of uclinux kernal

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-09-09 02:36:53     How to reduce the size of uclinux kernal

Gaurang Bhatt (INDIA)

Message: 61806   

 

Sir,

 

      We need to reduce the size of uclinux kernal so that it fits into the 4MB on board flash on BF537 EZ-Kit Lite. We have seen that the kernal image on the stamp board is 3.7MB. We are right now working with the uclinux kernal size of 5.7MB and when we configured it for profiling, the size went up to 7MB.

 

1) What are the options that have been disabled so that the kernal size is reduced to 3.7MB in stamp board?

 

2) Is it possible to keep the kernal size under 4MB, even after including the profiling options?

 

 

 

Thanks in advance,

 

with regards,

 

Gaurang

QuoteReplyEditDelete

 

 

2008-09-09 02:56:49     Re: How to reduce the size of uclinux kernal

Mike Frysinger (UNITED STATES)

Message: 61807   

 

if the image is too big, then remove things you do not need.  that is how you shrink the image.  read the FAQ for some tips:

http://docs.blackfin.uclinux.org/doku.php?id=faq

 

if you build everything with the profiling flag, it's going to be much larger.  there is no way to avoid that.  we really havent done any tests to figure out exact details as everyone's desired setup is different.

 

the uclinux-dist has all the config files posted so you can compare them yourself.

Attachments

    Outcomes