All of lore.kernel.org
 help / color / mirror / Atom feed
From: Txema Lopez <tlopez@aotek.es>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Fixup relocation patch.]
Date: Wed, 14 Feb 2007 09:01:03 +0100	[thread overview]
Message-ID: <45D2C1BF.9060800@aotek.es> (raw)
In-Reply-To: <01f001c74f9d$fd684f80$1e67a8c0@Jocke>

Joakim Tjernlund wrote:

>I wonder, how far off is a fully relocatable u-boot? That is, burn it anywhere
>in flash and start it from there?
>
> Jocke
>
>  
>
Hi Jocke,
The patch was done precisely for it. You can copy a U-Boot image from an 
address in flash to another and calculate the new pointers in the GOT an 
FIXUP sections before do the copy.
But you need another change in U-Boot to turn it fully relocatable. 
U-Boot is hardly joined with the link address TEXT_BASE. You must 
replace it for a label in U-Boot and change the lines in the U-Boot code 
where there is a direct or indirect reference (as CFG_MONITOR_BASE) to 
TEXT_BASE.

Best regards,
Txema
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tlopez.vcf
Type: text/x-vcard
Size: 324 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070214/5dee477f/attachment.vcf 

  reply	other threads:[~2007-02-14  8:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <45D1DB7D.7050403@fagorautomation.es>
2007-02-13 16:21 ` [U-Boot-Users] [PATCH] Fixup relocation patch.] Txema Lopez
2007-02-13 16:40   ` Joakim Tjernlund
2007-02-13 16:48     ` Grant Likely
2007-02-13 16:51   ` Grant Likely
2007-02-13 18:23     ` J. William Campbell
2007-02-14  6:50       ` Grant Likely
2007-02-13 18:37     ` Joakim Tjernlund
2007-02-14  8:01       ` Txema Lopez [this message]
2007-02-14  7:30     ` Txema Lopez
2007-02-14  9:24 Joakim Tjernlund
2007-02-14 11:27 ` Txema Lopez
2007-02-14 12:07   ` Joakim Tjernlund

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=45D2C1BF.9060800@aotek.es \
    --to=tlopez@aotek.es \
    --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.