public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Robin Gilks <robin.gilks@tait.co.nz>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Function pointers after relocation
Date: Tue, 08 Jul 2003 17:48:13 +1200	[thread overview]
Message-ID: <3F0A5B1D.5030203@tait.co.nz> (raw)
In-Reply-To: <20030702223556.GA32001@zumanetworks.com>

Nye Liu wrote:
> Is this at all related to this problem:
> 
> http://sourceforge.net/mailarchive/message.php?msg_id=5376039
> 
> i.e. env not being copied from flash in relocate() when ENV_IS_EMBEDDED
> is set?
>

The effect is the same but the setting of ENV_IS_EMBEDDED is neither 
here nor there as I'm starting from a configuration file for the FADS 
board. This has only 8 sectors of 256k each so it makes no sense to 
embed the environment (wastes too much space) - the problem as you say 
is that it never gets copied out of Flash into RAM !!

I'm going to 'have a go' at cpu/mpc8xx/start.S to modify it for the FADS 
case but since I've never used ppc assembler before it may take a while!!

I think if I can identify where I get the source (presumably 
GOT(environment)) and destination (not found this yet) addresses and the 
length of the environment (I'll use the config define) at the assembler 
level then I'll be able to hack something together!!

Never will so few lines of code have taken so long to write :-))


-- 
Robin Gilks
Senior Design Engineer              Phone: (+64)(3) 357 1569
Tait Electronics                          Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks at tait.co.nz
New Zealand

  reply	other threads:[~2003-07-08  5:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-02  5:04 [U-Boot-Users] Function pointers after relocation Robin Gilks
2003-07-02 14:31 ` Wolfgang Denk
2003-07-02 22:01   ` Robin Gilks
2003-07-02 22:35     ` Nye Liu
2003-07-08  5:48       ` Robin Gilks [this message]
2003-07-09  4:46       ` Robin Gilks
2003-07-09 16:15         ` nyet at mrv.com
2003-07-09 16:37           ` Wolfgang Denk
2003-08-02  0:18             ` Nye Liu
2003-08-02  9:37               ` Wolfgang Denk
2003-08-03  8:24                 ` nyet at mrv.com
2003-08-03 11:11                   ` Wolfgang Denk
2003-08-03 21:35                   ` Robin Gilks
2003-07-14 11:14     ` Wolfgang Denk
2003-07-15  0:21       ` Robin Gilks

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=3F0A5B1D.5030203@tait.co.nz \
    --to=robin.gilks@tait.co.nz \
    --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