public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [Fwd: Re:  reducing size of u-boot binary]
@ 2007-12-15  6:27 vibi
  2007-12-17 13:38 ` Jerry Van Baren
  0 siblings, 1 reply; 2+ messages in thread
From: vibi @ 2007-12-15  6:27 UTC (permalink / raw)
  To: u-boot



dear jerry,
	thanks for your reply.i am using u-boot 1.1.5 .my binary is only 90kb &
i still wanted to reduce the size.i thought compiling u-boot is like
compiling linux kernel,ie source file for the disabled commands wont get
compiled,now i understood that i was wrong.

i wanted to reduce size to less than 90kb because of constraints in
available flash memory space.

i have done it by disabling bootp & rarp by using #define macros
i didnt find option for that in /include/cmd_confdefs.h .

once again i thank you for your response

thanks & regards
vibi sreenivasan


On Fri, 2007-12-14 at 07:20 -0500, Jerry Van Baren wrote:
> vibi wrote:
> > hello,
> > 	can any one please tell me how to reduce the size of u-boot.bin.
> > 	i tried by disabling commands in the
> > 	include/config/at91rm9200dk.h,as per the read me document
> > 	even after this when i compile,i was unable to decrease the 
> > 	size.
> > 
> > 	thanks in advance.
> > 	
> > 	regards
> > 	vibi sreenivasan
> 
> How big is your binary, why do you need to reduce its size?  I ask 
> because most of the time this question is the result of a link gone bad 
> where part of the linked binary lives in low memory space and part lives 
> in high memory space.  As a result, the .bin has a huge amount of filled 
> (unused) data between the two.
> 
> Best regards,
> gvb
> 

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

end of thread, other threads:[~2007-12-17 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-15  6:27 [U-Boot-Users] [Fwd: Re: reducing size of u-boot binary] vibi
2007-12-17 13:38 ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox