All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Schwarz <andre.schwarz@matrix-vision.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] data alignment problem with redundant env
Date: Thu, 31 Mar 2011 18:41:26 +0200	[thread overview]
Message-ID: <4D94AEB6.1030809@matrix-vision.de> (raw)
In-Reply-To: <20110331160119.DB1D9F03208@gemini.denx.de>

Wolfgang,
>>> Which board would that be?  I don't see this on any board I tested.
>> it is mvblm7 (=MPC8343) and a new MPC8377 based one waiting for
>> the merge window to open.
>>
>>
>> I'm using a gcc-4.3.3 from OpenEmbedded/Angstrom ... if this matters at all.
> Can you please try and use anothe rtool chain, say good ole ELDK 4.2
> for a test?
yes, of course.
But I can make some tests on real hardware not before monday.

This is what I can say after compiling with both toolchains.

1. redundant env

CROSS_COMPILE=ppc_6xx- ARCH=powerpc sh MAKEALL mvblm7
    text       data        bss        dec        hex    filename
  233298      21940      66960     322198      4ea96    ./u-boot

CROSS_COMPILE=powerpc-angstrom-linux-  ARCH=powerpc sh MAKEALL mvblm7
    text       data        bss        dec        hex    filename
  233758      21948      66956     322662      4ec66    ./u-boot


2. without redundant env

swa at swa-m460:~/u-boot$ CROSS_COMPILE=ppc_6xx- ARCH=powerpc sh MAKEALL mvblm7
    text       data        bss        dec        hex    filename
  232494      21912      66960     321366      4e756    ./u-boot

swa at swa-m460:~/u-boot$ CROSS_COMPILE=powerpc-angstrom-linux-  
ARCH=powerpc sh MAKEALL mvblm7
    text       data        bss        dec        hex    filename
  232954      21920      66956     321830      4e926    ./u-boot


size of final u-boot binary differs by 8 bytes ... sounds promising ;-)

Will run both versions asap.


Regards,
Andr?

MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

  reply	other threads:[~2011-03-31 16:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-31 15:30 [U-Boot] data alignment problem with redundant env Andre Schwarz
2011-03-31 15:39 ` Wolfgang Denk
2011-03-31 15:48   ` Andre Schwarz
2011-03-31 16:01     ` Wolfgang Denk
2011-03-31 16:41       ` Andre Schwarz [this message]
2011-04-06  9:05       ` Andre Schwarz

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=4D94AEB6.1030809@matrix-vision.de \
    --to=andre.schwarz@matrix-vision.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.