All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Relocation issue - need help!
Date: Wed, 22 Oct 2014 23:57:39 +0200	[thread overview]
Message-ID: <20141022215739.GB3672@amd> (raw)
In-Reply-To: <201410222346.45707.marex@denx.de>

On Wed 2014-10-22 23:46:45, Marek Vasut wrote:
> On Wednesday, October 22, 2014 at 11:27:42 PM, Pavel Machek wrote:
> > Hi!
> > 
> > > > In message <CANVMifLGzKz+=-K-E9_sSXBxpYPdG1YqEXc-
> tsCApi7WVxQAHg at mail.gmail.com> you wrote:
> > > > > I had exactly the same behaviour some time ago and tracked it down to
> > > > 
> > > > > this (and posted it on the mailing list, but sadly got no feedback):
> > > > Thanks a lot for this pointer.
> > > > 
> > > > > So there a three things to notice:
> > > > > 1. Do not use gcc 4.8 and u-boot at the moment.
> > > > > 2. You might not notice that you have a problem until you erase
> > > > > u-boot from flash (and get your cache flushed).
> > > > > 3. Handling relro properly should be on the TODO-List
> > > > 
> > > > I confirm that the problem is in my case with gcc 4.8.1, too.  I did
> > > > not try another compiler yet.
> > > > 
> > > > > Maybe this is already common knowledge an maybe somebody is already
> > > > > working on this - but I did not notice yet. So in this case: sorry
> > > > > for the noise :)
> > > > 
> > > > I highly appreciate your hint, it was definitely very useful. Thanks!
> > > 
> > > Is this ARM or PowerPC?  The kernel has blacklisted 4.8.x for ARM in
> > > some cases, and this may or may not be related (see
> > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854)
> > 
> > Just for the record, I also stree strange issues with 4.8.1 on
> > arm/socfpga. u-boot works ok when compiled with 4.7.2, and behaviour
> > on 4.8.1 seems to change based on compiler flags (-Os vs. -O2).
> > 
> > If anyone knows some kind of workaround, that would be nice... I'm
> > using bitbake with eldk-5.5, and changing that would not be too easy
> 
> What is the issue that you do see and I do not see ? What are the symptoms?

I'm not sure if you should be seing this issue, are you using gcc
4.8.1?

I get hang during MMC init. If I comment it out, it hangs at setenv of
random variable. With changed compiler flags, commenting out MMC init
does not get me to prompt.

I'll try to update to gcc-4.8.3 as gcc-4.8.1 has known issues.
									Pavel 
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2014-10-22 21:57 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 12:39 [U-Boot] Relocation issue - need help! Wolfgang Denk
2014-10-22 13:29 ` Dirk Eibach
2014-10-22 16:56   ` Wolfgang Denk
2014-10-22 17:26     ` Fabio Estevam
2014-10-22 17:28     ` Tom Rini
2014-10-22 17:39       ` Wolfgang Denk
2014-10-22 21:27       ` Pavel Machek
2014-10-22 21:46         ` Marek Vasut
2014-10-22 21:57           ` Pavel Machek [this message]
2014-10-22 22:06             ` Marek Vasut
2014-10-23  6:01     ` Dirk Eibach
2014-10-23  6:42       ` Joakim Tjernlund
2014-10-23 13:10         ` Wolfgang Denk
2014-10-23 13:42           ` Dirk Eibach
2014-10-24 14:14           ` Bill Pringlemeir
2015-09-30 18:24           ` Andy Fleming
2015-09-30 19:35             ` Marek Vasut
2015-10-01  8:57               ` Joakim Tjernlund
2015-10-06 11:17                 ` Joakim Tjernlund
2015-10-15 15:56                   ` Joakim Tjernlund
2015-10-15 21:58                     ` Tom Rini
2015-10-16  6:55                       ` Joakim Tjernlund
2015-10-16 11:47                         ` Tom Rini
2015-10-16 13:14                           ` Joakim Tjernlund
2015-10-20 21:06                             ` Andy Fleming
2015-10-20 21:21                               ` Tom Rini
2015-10-21  8:44                                 ` Joakim Tjernlund
2015-10-21 13:12                                   ` Tom Rini
2015-10-21 13:18                                     ` Joakim Tjernlund
2015-10-01 14:18             ` Wolfgang Denk
2015-10-02 22:51               ` Andy Fleming
2015-10-03  8:33                 ` Wolfgang Denk

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=20141022215739.GB3672@amd \
    --to=pavel@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.