[U-Boot-Users] why can not make u-boot.bin smaller via cutting u-boot command?

Yotam Admon yotam at marvell.com
Wed Oct 10 09:04:49 CEST 2007



> 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
Hi,
Can you state the Marvell patch version for the U-boot?
In Marvell release the linker script is setting the bin file size to be ~450kbyte.
Removing commands will not do any effect before changing the linker script.
Thanks,
Yotam




More information about the U-Boot mailing list