From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 10 Oct 2007 07:36:12 +0200 Subject: [U-Boot-Users] why can not make u-boot.bin smaller via cutting u-boot command? In-Reply-To: <366588.95617.qm@web15602.mail.cnb.yahoo.com> References: <366588.95617.qm@web15602.mail.cnb.yahoo.com> Message-ID: <470C64CC.9060906@jcrosoft.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de sun a ?crit : > 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? Hi, The active command is defined in include/configs/db88f5181.h by some #define CONFIG_CMD_* and in include/config_cmd_default.h . See althrough if you not build your u-boot with debug support. Best Regards, Jea-Christophe PLAGNIOL-VILLARD