linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ramdisk size using montevista
@ 2001-03-21 22:57 John F. Davis
  2001-03-21 23:00 ` Joe Green
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John F. Davis @ 2001-03-21 22:57 UTC (permalink / raw)
  To: linuxppc-embedded


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/

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

* Re: ramdisk size using montevista
  2001-03-21 22:57 ramdisk size using montevista John F. Davis
@ 2001-03-21 23:00 ` Joe Green
  2001-03-21 23:05 ` Dan Malek
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Joe Green @ 2001-03-21 23:00 UTC (permalink / raw)
  To: John F. Davis, linuxppc-embedded


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 <jgreen@mvista.com>
MontaVista Software, Inc.

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

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

* Re: ramdisk size using montevista
  2001-03-21 22:57 ramdisk size using montevista John F. Davis
  2001-03-21 23:00 ` Joe Green
@ 2001-03-21 23:05 ` Dan Malek
  2001-03-21 23:13 ` Wolfgang Denk
  2001-03-21 23:22 ` Mimir Reynisson
  3 siblings, 0 replies; 5+ messages in thread
From: Dan Malek @ 2001-03-21 23:05 UTC (permalink / raw)
  To: John F. Davis; +Cc: linuxppc-embedded


"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/

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

* Re: ramdisk size using montevista
  2001-03-21 22:57 ramdisk size using montevista John F. Davis
  2001-03-21 23:00 ` Joe Green
  2001-03-21 23:05 ` Dan Malek
@ 2001-03-21 23:13 ` Wolfgang Denk
  2001-03-21 23:22 ` Mimir Reynisson
  3 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2001-03-21 23:13 UTC (permalink / raw)
  To: John F. Davis; +Cc: linuxppc-embedded


In message <20010321175758.A7228@skink.net> you 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?  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.

Read the FAQ, and use strip.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
######## This message was made from 100% recycled electrons. ########

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

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

* Re: ramdisk size using montevista
  2001-03-21 22:57 ramdisk size using montevista John F. Davis
                   ` (2 preceding siblings ...)
  2001-03-21 23:13 ` Wolfgang Denk
@ 2001-03-21 23:22 ` Mimir Reynisson
  3 siblings, 0 replies; 5+ messages in thread
From: Mimir Reynisson @ 2001-03-21 23:22 UTC (permalink / raw)
  To: John F. Davis; +Cc: linuxppc-embedded


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" <davis@skink.net>
To: <linuxppc-embedded@lists.linuxppc.org>
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/

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

end of thread, other threads:[~2001-03-21 23:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-21 22:57 ramdisk size using montevista John F. Davis
2001-03-21 23:00 ` Joe Green
2001-03-21 23:05 ` Dan Malek
2001-03-21 23:13 ` Wolfgang Denk
2001-03-21 23:22 ` Mimir Reynisson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).