ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Way to calculate uncompressed image size..


From: Erik Peterson
Subject: Re: [Ltib] Way to calculate uncompressed image size..
Date: Fri, 14 Mar 2008 12:08:23 -0700

You could always use your cross-compile-"size"
for example :
address@hidden bin]$ ./powerpc-linux-size /auto/freescale/ltib/ltib- mpc8544ds-20071122/rootfs/boot/vmlinux
   text    data     bss     dec     hex filename
4004373 198408 191484 4394265 430d19 /auto/freescale/ltib/ltib- mpc8544ds-20071122/rootfs/boot/vmlinux


On Mar 14, 2008, at 11:17 AM, Stephens, Peter A. wrote:


If I want to calculate the uncompressed size of an image can I just add the packages I want. Build it. Change directories to "rootfs" and run
"du . -ckS"?  Here is an example...

address@hidden rootfs]$ du . -ckS | sort -rn | head -n 20
118524  total
33896   ./usr/lib
26076   ./usr/lib/gstreamer-0.10
15520   ./usr/bin
6804    ./boot
4904    ./lib
3984    ./usr/share/gtk-doc/html/glib
2676    ./usr/share/gtk-doc/html/libxml2
2660    ./usr/info
2540    ./usr/share/doc/libxml2-2.6.28/html/html
1980    ./usr/share/gtk-doc/html/gobject
1772    ./sbin
1600    ./bin
1252    ./usr/share/sounds/alsa
976     ./usr/share/gtk-doc/html/liboil
808     ./usr/share/man/man3
692     ./usr/share/man/man1
580     ./usr/sbin
528     ./usr/share/doc/libxml2-2.6.28/html
508     ./usr/include/gstreamer-0.10/gst

Peter A. Stephens
address@hidden <mailto:address@hidden>
765-451-7074


****************************************************************************************

Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you.

****************************************************************************************


_______________________________________________
LTIB home page: http://bitshrine.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]