ramdisk size using montevista

4 messages, 4 authors, 2001-03-21 · open the first message on its own page

ramdisk size using montevista

From: John F. Davis <hidden>
Date: 2001-03-21 22:57:58

Hello

I am trying to boot hardhat linux with a small ram disk.  However, libc is more
than 4 megs by itself.  Is there something obvious I can do/read?  I tried using
busybox, but that only makes the bin directory small.  I don't really know
what I should do about the /lib directory.

John

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: ramdisk size using montevista

From: Joe Green <hidden>
Date: 2001-03-21 23:00:57

John F. Davis wrote:
I am trying to boot hardhat linux with a small ram disk.  However, libc is more
than 4 megs by itself.  Is there something obvious I can do/read?
Strip the library.  It will remove symbols that are handy for
debugging, but leave the ones that are needed for dynamic linking.

--
Joe Green [off-list ref]
MontaVista Software, Inc.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: ramdisk size using montevista

From: Dan Malek <hidden>
Date: 2001-03-21 23:05:59

"John F. Davis" wrote:
I am trying to boot hardhat linux with a small ram disk...
....  Is there something obvious I can do/read?
Well, you could have purchased a subscription, and have already
called someone and received the answer.  Or, you could read the
documentation that comes with the distribution.  Or, you can
just use 'strip' and reduce the size to about 1 Mbyte or so.....
That will get you started, but I'm sure there are more questions
to come.


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Re: ramdisk size using montevista

From: Mimir Reynisson <hidden>
Date: 2001-03-21 23:22:38

In addition to strip you'll probably want to rebuild glibc as well without
debug info and optimize for size (not that gcc does all that much with
-Os but it'll certainly be better than -g).

----- Original Message -----
From: "John F. Davis" <redacted>
To: <redacted>
Sent: Wednesday, March 21, 2001 5:57 PM
Subject: ramdisk size using montevista

Hello

I am trying to boot hardhat linux with a small ram disk.  However, libc is
more
than 4 megs by itself.  Is there something obvious I can do/read?  I tried
using
busybox, but that only makes the bin directory small.  I don't really know
what I should do about the /lib directory.

John

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help