From: Reinhard Meyer <reinhard.meyer@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC][PATCH v2 17/19] arm cp15: setup mmu and enable dcache
Date: Fri, 06 Aug 2010 18:27:51 +0200 [thread overview]
Message-ID: <4C5C3807.80408@emk-elektronik.de> (raw)
In-Reply-To: <AANLkTinH1f9P0z678sscMeh0a_QcS51FZg39WNMV-QRy@mail.gmail.com>
Ben Gardiner wrote:
> But I think that the value loaded to sp is still wrong because of the
> restrictions on immediate arguments in ARM instructions.
>
> with (0x80000000 + 128*1024 -16):
> ---
> c1080078 <call_board_init_f>:
> c1080078: e59fd328 ldr sp, [pc, #808] ; c10803a8 <fiq+0x48>
> c108007c: e3a00000 mov r0, #0 ; 0x0
> c1080080: eb00017f bl c1080684 <board_init_f>
>
> and with (0x80000000 + 128*1024 -8):
> ---
> c1080078 <call_board_init_f>:
> c1080078: e59fd328 ldr sp, [pc, #808] ; c10803a8 <fiq+0x48>
> c108007c: e3a00000 mov r0, #0 ; 0x0
> c1080080: eb00017f bl c1080684 <board_init_f>
>
The value loaded into SP is IN the location at PC+808... look there.
About in 0xc1080078+0x0328 give or take a word.
Reinhard
next prev parent reply other threads:[~2010-08-06 16:27 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-29 10:45 [U-Boot] [RFC][PATCH 17/19] arm cp15: setup mmu and enable dcache Heiko Schocher
2010-07-30 9:11 ` Nick Thompson
2010-07-30 9:32 ` Heiko Schocher
2010-07-30 9:57 ` Nick Thompson
2010-07-30 10:13 ` Heiko Schocher
2010-08-03 10:16 ` [U-Boot] [RFC][PATCH v2 " Heiko Schocher
2010-08-05 18:22 ` Ben Gardiner
2010-08-06 5:29 ` Heiko Schocher
2010-08-06 15:41 ` Ben Gardiner
2010-08-06 15:46 ` Wolfgang Denk
2010-08-06 16:14 ` Ben Gardiner
2010-08-06 16:27 ` Reinhard Meyer [this message]
2010-08-06 16:32 ` Reinhard Meyer
2010-08-06 16:44 ` Ben Gardiner
2010-08-10 17:45 ` Ben Gardiner
2010-08-11 5:56 ` Heiko Schocher
2010-08-11 13:31 ` Ben Gardiner
2010-08-11 13:53 ` Ben Gardiner
2010-08-11 17:06 ` Heiko Schocher
2010-08-11 19:56 ` Wolfgang Denk
2010-07-30 9:31 ` [U-Boot] [RFC][PATCH " Alessandro Rubini
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=4C5C3807.80408@emk-elektronik.de \
--to=reinhard.meyer@emk-elektronik.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.