All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] kirkwood: CONFIG_SYS_INIT_SP_ADDR wrong?
Date: Wed, 10 Nov 2010 16:02:44 +0100	[thread overview]
Message-ID: <4CDAB414.7010003@denx.de> (raw)
In-Reply-To: <4CDAAE24.3010400@schmid-telecom.ch>

Hello Daniel,

Daniel Hobi wrote:
> Hi Heiko,
> 
> On 10.11.2010 15:15, Heiko Schocher wrote:
>> Daniel Hobi wrote:
>>> @Heiko: include/configs/km_arm.h may have the same problem.
>> I made a patch for this, see:
>>
>> http://lists.denx.de/pipermail/u-boot/2010-November/081275.html
> 
> Reading your patch, I noticed that we don't align the early stack
> pointer to an 8-byte boundary which may lead to the problem described here:
> 
> http://article.gmane.org/gmane.comp.boot-loaders.u-boot/69342

This article is from 2009-10-06 06:44:22 GMT (1 year, 5 weeks, 2 hours and 15 minutes ago)

> Since you seem to be the author of the relevant assembly code, could you
> please prepare a fix (adding "bic sp, sp, #7")?

We do this, since relocation is introduced, now here:

http://git.denx.de/?p=u-boot.git;a=blob;f=arch/arm/lib/board.c;h=1fd5f8362f7a3e1a076c44e9f554e6c0297dfdb0;hb=0c0892be0d93a5a892b93739c5eb3bf692fed4ff

line 405

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2010-11-10 15:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 13:57 [U-Boot] kirkwood: CONFIG_SYS_INIT_SP_ADDR wrong? Daniel Hobi
2010-11-10 14:15 ` Heiko Schocher
2010-11-10 14:37   ` Daniel Hobi
2010-11-10 15:02     ` Heiko Schocher [this message]
2010-11-10 15:13       ` Daniel Hobi
2010-11-10 15:40         ` Heiko Schocher
2010-11-10 15:46           ` Daniel Hobi
2010-11-10 16:29             ` Albert ARIBAUD
2010-11-10 16:46             ` Heiko Schocher
2010-11-10 17:53               ` Daniel Hobi
2010-11-10 20:13               ` Wolfgang Denk
2010-11-10 20:11           ` 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=4CDAB414.7010003@denx.de \
    --to=hs@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.