From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Size of external u-boot commands
Date: Fri, 27 Mar 2009 11:37:08 +0100 [thread overview]
Message-ID: <m27i2bl0a3.fsf@ohwell.denx.de> (raw)
In-Reply-To: <9e4733910903261834y1204f19ct98a80e0a689dba65@mail.gmail.com> (Jon Smirl's message of "Thu, 26 Mar 2009 21:34:56 -0400")
Hi Jon,
> On Thu, Mar 26, 2009 at 7:26 PM, Wolfgang Denk <wd@denx.de> wrote:
>> Dear Jon Smirl,
>>
>> In message <9e4733910903261435x598055f8m74c5ac03ad16b67e@mail.gmail.com> you wrote:
>>>
>>> The *.bin format is not smart enough to encode gaps. It just puts in
>>> 60KB of zeros.
>>
>> Yes, of course. A binary image cannot have holes in it.
>>
>>> My ELF files are 73KB.
>>> -rwxr-xr-x 1 jonsmirl jonsmirl 73290 2009-03-26 16:49 hello_world
>>>
>>> Tell me the right way to make these example programs small and I'll
>>> submit a patch.
>>
>> I don't see a problem that needs fixing. These are example ?problems.
>> The ?image ?size plays no role. If you have any specific requirements
>> for your own code, then adjust the linker script ?according ?to ?your
>> requirements.
>
> By providing a sample linker script to make the example programs
> smaller, you could avoid discussions like this in the future.
But as long as we do not understand what we change or what this does, we
may well get a lot of bug threads in return. And I have to admit, I'm
not to keen on that.
Cheers
Detlev
--
... and I will continue to use a low-level language to indicate how
machines actually compute. Readers who only want to see algorithms
that are already packaged in a plug-in way, using a trendy language,
should buy other people's books.
-- Donald Knuth, Fascicle 1
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
next prev parent reply other threads:[~2009-03-27 10:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 13:47 [U-Boot] Size of external u-boot commands Jon Smirl
2009-03-26 13:52 ` Jerry Van Baren
2009-03-26 14:21 ` Jon Smirl
2009-03-26 14:37 ` Jerry Van Baren
2009-03-26 14:43 ` Rafal Jaworowski
2009-03-26 15:06 ` Jon Smirl
2009-03-26 15:10 ` Jon Smirl
2009-03-26 16:40 ` Jon Smirl
2009-03-26 15:21 ` Mike Frysinger
2009-03-26 20:27 ` Wolfgang Denk
2009-03-26 20:50 ` Jon Smirl
2009-03-26 21:15 ` Wolfgang Denk
2009-03-26 21:35 ` Jon Smirl
2009-03-26 23:26 ` Wolfgang Denk
2009-03-27 1:34 ` Jon Smirl
2009-03-27 10:37 ` Detlev Zundel [this message]
2009-03-27 10:57 ` Wolfgang Denk
2009-03-27 11:17 ` Detlev Zundel
2009-03-27 12:47 ` Jon Smirl
2009-03-27 15:54 ` Mike Frysinger
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=m27i2bl0a3.fsf@ohwell.denx.de \
--to=dzu@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.