public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* How to compress the filesystem
@ 2005-12-27 11:25 naga rajan
  2005-12-27 12:10 ` Komal Shah
  2006-01-02 22:19 ` Matthew Percival
  0 siblings, 2 replies; 3+ messages in thread
From: naga rajan @ 2005-12-27 11:25 UTC (permalink / raw)
  To: linux-omap-open-source

Hi all,

         I followed the steps in* osk newbie guide & osk4 dummies *and
generated my own filesystem. It comes around 28MB with specific library
files required for my sample application. The factory filesystem image is
around 14MB and it consists of all the library files in the /lib.I like to
know how to compress my own filesystem to the factory filesystem
level.Isthere any parameter has to be included with
*mkfs.jffs2 *filesystem creation process?
Please help me in this regard.

Thanks in advance,
B.Nagarajan,
SANDS

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to compress the filesystem
  2005-12-27 11:25 How to compress the filesystem naga rajan
@ 2005-12-27 12:10 ` Komal Shah
  2006-01-02 22:19 ` Matthew Percival
  1 sibling, 0 replies; 3+ messages in thread
From: Komal Shah @ 2005-12-27 12:10 UTC (permalink / raw)
  To: naga rajan, linux-omap-open-source

--- naga rajan <nagubk82@gmail.com> wrote:

> Hi all,
> 
>          I followed the steps in* osk newbie guide & osk4 dummies
> *and
> generated my own filesystem. It comes around 28MB with specific
> library
> files required for my sample application. The factory filesystem
> image is
> around 14MB and it consists of all the library files in the /lib.I
> like to
> know how to compress my own filesystem to the factory filesystem
> level.Isthere any parameter has to be included with
> *mkfs.jffs2 *filesystem creation process?
> Please help me in this regard.

I don't know about the OSK supplied filesystem. But you may like to use
"arm-linux-strip" tool on the libraries.

---Komal Shah
http://komalshah.blogspot.com/


	
		
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to compress the filesystem
  2005-12-27 11:25 How to compress the filesystem naga rajan
  2005-12-27 12:10 ` Komal Shah
@ 2006-01-02 22:19 ` Matthew Percival
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Percival @ 2006-01-02 22:19 UTC (permalink / raw)
  To: Linux OMAP Open Source

G'Day,

> around 14MB and it consists of all the library files in the /lib.I like to
> know how to compress my own filesystem to the factory filesystem
> level.Isthere any parameter has to be included with
> *mkfs.jffs2 *filesystem creation process?
> Please help me in this regard.

	JFFS2 already compresses, and quite extensively.  Your problem seems to
be that you have too many libraries: you almost certainly do not need
every library out there.  My /lib/ is 4.9MB, and this includes kernel
modules (my toolchain's lib/ is around 31MB, so you can see that most of
the libraries are not being used).  If you remove all the unused
libraries, you will likely cut things down considerably.  The OSK Newbie
Guide talks about this in the Filesystem chapter.

	-- Matthew

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-02 22:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-27 11:25 How to compress the filesystem naga rajan
2005-12-27 12:10 ` Komal Shah
2006-01-02 22:19 ` Matthew Percival

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox