public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] why can not make u-boot.bin smaller via cutting u-boot command?
Date: Wed, 10 Oct 2007 09:34:48 -0400	[thread overview]
Message-ID: <470CD4F8.2010706@smiths-aerospace.com> (raw)
In-Reply-To: <366588.95617.qm@web15602.mail.cnb.yahoo.com>

sun wrote:
> hi,all:
>     I compiled u-boot for marvell db88f5181 board,and u-boot.bin is 
> 449kb,it too big for porting.  
>     I want to cut u-boot,but after i cut some u-boot commands via 
> cutting *.o files under u-boot*/common/Makefile, then make u-boot, but 
> u-boot.bin size still be 449kb? why?
>  
>    What's the best way to cut u-boot?

If you want to cut out commands, you need to edit the u-boot
configuration file.  See the README file around line 549.
<http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=README;h=09eb76fe4528dfedca027b119ac760fce2570e35;hb=HEAD#l549>

Deleting .o files isn't going to be successful because make will simply
rebuild them.

gvb

      parent reply	other threads:[~2007-10-10 13:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10  3:37 [U-Boot-Users] why can not make u-boot.bin smaller via cutting u-boot command? sun
2007-10-10  5:36 ` Jean-Christophe PLAGNIOL-VILLARD
2007-10-10  7:04   ` Yotam Admon
2007-10-10  6:25 ` Kelsey Dawes
2007-10-10 13:34 ` Jerry Van Baren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=470CD4F8.2010706@smiths-aerospace.com \
    --to=gerald.vanbaren@smiths-aerospace.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox