From: Vladimir "Farcaller" Pouzanov <farcaller@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] What is u-boot relocation address?
Date: Mon, 16 Oct 2006 19:09:31 +0300 [thread overview]
Message-ID: <eh0ars$6hk$1@sea.gmane.org> (raw)
In-Reply-To: eh09f4$vh1$1@sea.gmane.org
Vladimir "Farcaller" Pouzanov wrote:
> Is it ok that TEXT_BASE of 0x0 leads to crash? Also U-boot seems to follow
> TEXT_BASE value after relocation:
Now I'm completely confused...
CFG_MONITOR_BASE is u-boot startting location before relocation?
CFG_FLASH_BASE is the same?
TEXT_BASE is... hm... (same as both constants above) 0x0? Doesn't work. And
shouldn't work:
adr r0, _start /* r0 <- current position of code */
ldr r1, _TEXT_BASE /* test if we run from flash or RAM */
cmp r0, r1 /* don't reloc during debug */
beq stack_setup
_start == 0 so is _TEXT_BASE, result = no relocation and crash....
Please help :(
--
Sincerely,
Vladimir "Farcaller" Pouzanov
http://hackndev.com
next prev parent reply other threads:[~2006-10-16 16:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 14:36 [U-Boot-Users] What is u-boot relocation address? Vladimir Farcaller Pouzanov
2006-10-16 15:12 ` Andrew Dyer
2006-10-16 15:45 ` Vladimir Farcaller Pouzanov
2006-10-16 16:09 ` Vladimir Farcaller Pouzanov [this message]
2006-10-16 17:12 ` Vladimir Farcaller Pouzanov
2006-10-16 20:24 ` Wolfgang Denk
2006-10-17 7:08 ` Vladimir Farcaller Pouzanov
2006-10-16 20:23 ` Wolfgang Denk
2006-10-16 20:18 ` Wolfgang Denk
2006-10-16 20:20 ` Vladimir Farcaller Pouzanov
2006-10-16 20:10 ` 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='eh0ars$6hk$1@sea.gmane.org' \
--to=farcaller@gmail.com \
--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.