From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Porting Questions - was: [PATCH v2] microblaze: Disabling interrupt should return 1 if was enabled
Date: Tue, 21 Dec 2010 16:10:56 +0100 [thread overview]
Message-ID: <20101221151056.2BE65126EB19@gemini.denx.de> (raw)
In-Reply-To: <7eb125f4.fad0.12d0964185c.Coremail.henrybenyu@163.com>
Dear =?GBK?B?09q74Q==?=,
Please do not hijack existing mail threads!!
Start a new thread, and make sure to chose a proper subject.
Please make sure to use a line length of 70 characters or so.
And never post HTML to that list.
In message <7eb125f4.fad0.12d0964185c.Coremail.henrybenyu@163.com> you wrote:
>
>
> 1). First, I am useing JTAG to download image to SDRAM, base address 0x40000000, (32M) so I confused with
> "CONFIG_SYS_TEXT_BASE", I think this this the relocate address, I am right? Could you please help
> me choose a address for me can working. (I choose 0x41F00000, at last crash on relocate: copy_loop)
No, CONFIG_SYS_TEXT_BASE is NOT the relocation address. The relocation
address gets dynamically computed and may vary. CONFIG_SYS_TEXT_BASE
is the base address of the text segment when linking the U-Boot
image.
> 2). Second, CONFIG_SYS_INIT_SP_ADDR address is also obscure, I choose 0x42000000, at last crash on relocate: copy_loop)
As the name attempts to suggest, CONFIG_SYS_INIT_SP_ADDR defines the
address of the initial steck pointer in the restricted C runtime
environment before relocation.
> 3). What other thing I should do?
Read the documentation and especially existing code for other, similar
boards.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Microsoft Multitasking:
several applications can crash at the same time.
next prev parent reply other threads:[~2010-12-21 15:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 13:02 [U-Boot] [PATCH v2] microblaze: Disabling interrupt should return 1 if was enabled Michal Simek
2010-12-21 13:26 ` Sergei Shtylyov
2010-12-21 13:49 ` Wolfgang Denk
2010-12-21 14:45 ` 于会
2010-12-21 15:10 ` Wolfgang Denk [this message]
2011-01-09 21:27 ` 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=20101221151056.2BE65126EB19@gemini.denx.de \
--to=wd@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox