[U-Boot-Users] Stand alone applications

Wolfgang Denk wd at denx.de
Mon Feb 23 00:27:55 CET 2004


In message <20040222223739.16584.qmail at web41403.mail.yahoo.com> you wrote:
> I have written a stand alone application for an
> MPC855T for U-Boot, which runs fine.  My problem is
> that the .bin file is around 128kB, when the actual
> application only takes up about 4kB.  The file is then
> zero'd out from about 4k until the end of the file
> (around 128kB) where there is about a 256 Byte block
> of what looks like strings.  How do I get this
> compressed down to a file that is only as large as it
> needs to be?

Use a customized linker script.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The human race has one really effective weapon, and that is laughter.
                                                         - Mark Twain




More information about the U-Boot mailing list