2008-12-17 11:44:39     Reducing size of uClinux

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

2008-12-17 11:44:39     Reducing size of uClinux

Garth Kassinger (UNITED STATES)

Message: 66815   

 

Hi,

 

 

 

I am trying to reduce the size of uclinux currently is now 3.5Gb and I was wonding if someone could tell me the what files could be removed to decrease this size and still allow uClinux to compile.

 

 

 

Thank you,

 

 

 

Garth Kassinger

QuoteReplyEditDelete

 

 

2008-12-17 12:05:31     Re: Reducing size of uClinux

Michael Hennerich (GERMANY)

Message: 66816   

 

Take a look here:

 

http://docs.blackfin.uclinux.org/doku.php?id=fast_boot_example&s[]=fastboot

 

This page also include config files.

 

It's not a big deal getting below 1MB.

 

-Michael

QuoteReplyEditDelete

 

 

2008-12-17 13:02:32     Re: Reducing size of uClinux

Mike Frysinger (UNITED STATES)

Message: 66817   

 

i'm fairly certain you're quoting the size wrong.  i *highly* doubt your kernel image is 3.5 gigabytes.

 

at any rate, read the FAQ (My uImage is too large to burn in my flash):

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

QuoteReplyEditDelete

 

 

2008-12-17 13:46:10     Re: Reducing size of uClinux

Javier Herrero (SPAIN)

Message: 66818   

 

I think that the poster was referring to the size of the complete uClinux distribution uncompressed, and its space on disk... and not the kernel image

QuoteReplyEditDelete

 

 

2008-12-17 14:05:37     Re: Reducing size of uClinux

Mike Frysinger (UNITED STATES)

Message: 66820   

 

i didnt think the dist was that big (yet)

 

there is no document on how to trim it done ... just `rm` the directories you dont want

 

or even simpler: just buy a bigger hard drive

QuoteReplyEditDelete

 

 

2008-12-18 21:27:07     Re: Reducing size of uClinux

Tony Liu (CHINA)

Message: 66884   

 

Hi, I do as below:

 

1. in user dir , del no used application source code. only remabin busybox & some other app u needed. The user dir is very large.

 

2. Del some cpu support source code(bus the dir & config file must remain for make menuconfig). The related dir:

 

vendors

 

config

 

linux-2.6.x/arch

 

3. Del no used lib in dir lib

 

4. Del some no nused drivers file in drivers

 

Now my dist package is 357MByte.  It's can be smaller.

 

 

 

BR!

Attachments

    Outcomes