From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] Use LINK_OFF to access global data
Date: Wed, 06 Jan 2010 15:02:53 -0600 [thread overview]
Message-ID: <4B44FA7D.300@freescale.com> (raw)
In-Reply-To: <OFCEDEE73E.CB6658BC-ONC12576A2.0079B962-C12576A2.0079DCCB@transmode.se>
Joakim Tjernlund wrote:
>
> u-boot-bounces at lists.denx.de wrote on 05/01/2010 21:20:32:
>
>> From: Scott Wood <scottwood@freescale.com>
>> To: Albert ARIBAUD <albert.aribaud@free.fr>
>> Cc: u-boot at lists.denx.de
>> Date: 05/01/2010 21:22
>> Subject: Re: [U-Boot] [PATCH 2/4] Use LINK_OFF to access global data
>> Sent by: u-boot-bounces at lists.denx.de
>>
>> On Sun, Jan 03, 2010 at 09:06:51PM +0100, Albert ARIBAUD wrote:
>>> Hmm... PIC is interesting only if you want the same binary to run from
>>> two places, like NOR then RAM, which is the case when U-boot is the code
>>> which gets run in NOR at power-up and ends up running in RAM later.
>>>
>>> For NAND-based boards, the NAND bootloader will load U-boot to RAM, and
>>> U-boot will never run from anywhere else but its intended RAM location.
>> Note that the first-stage NAND loader still needs to be able to relocate
>> itself to RAM in order to free up the NAND buffer for loading more data.
>
> Hmm, does that mean that the LINK_OFF patches are useful to you or not?
I was just responding to a suggestion that a split similar to the NAND
loader might eliminate the need for relocation/PIC support.
I am a bit nervous about this stuff, though -- why is it needed? We
just got rid of the need for manual relocations, and now we're adding
them back (pre-reloc instead of post-reloc). :-(
-Scott
next prev parent reply other threads:[~2010-01-06 21:02 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 15:08 [U-Boot] [PATCH 0/4] Make u-boot true PIC for ppc Joakim Tjernlund
2009-12-30 15:08 ` [U-Boot] [PATCH 1/4] ppc: Add const void *link_off(const void *addr) Joakim Tjernlund
2009-12-30 15:08 ` [U-Boot] [PATCH 2/4] Use LINK_OFF to access global data Joakim Tjernlund
2009-12-30 15:08 ` [U-Boot] [PATCH 3/4] Use LINK_OFF in enviroment too Joakim Tjernlund
2009-12-30 15:08 ` [U-Boot] [PATCH 4/4] ppc: Make mpc83xx start.S relative Joakim Tjernlund
2009-12-31 18:44 ` [U-Boot] [PATCH 2/4] Use LINK_OFF to access global data Mike Frysinger
2010-01-01 1:39 ` Joakim Tjernlund
2010-01-01 6:18 ` Mike Frysinger
2010-01-01 16:29 ` Joakim Tjernlund
2010-01-02 3:14 ` Mike Frysinger
2010-01-02 18:17 ` Wolfgang Denk
2010-01-03 10:48 ` Joakim Tjernlund
2010-01-02 18:13 ` Wolfgang Denk
2010-01-03 10:33 ` Joakim Tjernlund
2010-01-03 19:51 ` Wolfgang Denk
2010-01-03 20:06 ` Albert ARIBAUD
2010-01-03 20:17 ` Wolfgang Denk
2010-01-03 20:41 ` Albert ARIBAUD
2010-01-03 21:07 ` Wolfgang Denk
2010-01-04 6:54 ` Albert ARIBAUD
2010-01-03 22:29 ` Graeme Russ
2010-01-05 20:20 ` Scott Wood
2010-01-05 22:11 ` Joakim Tjernlund
2010-01-06 21:02 ` Scott Wood [this message]
2010-01-04 1:08 ` Joakim Tjernlund
2010-01-05 0:40 ` Mike Frysinger
-- strict thread matches above, loose matches on Subject: below --
2009-11-02 18:01 [U-Boot] [PATCH 0/4] Make u-boot true PIC for ppc Joakim Tjernlund
2009-11-02 18:01 ` [U-Boot] [PATCH 1/4] ppc: Add const void *link_off(const void *addr) Joakim Tjernlund
2009-11-02 18:01 ` [U-Boot] [PATCH 2/4] Use LINK_OFF to access global data 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=4B44FA7D.300@freescale.com \
--to=scottwood@freescale.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.