public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Running u-boot without relocation to RAM?
Date: Tue, 13 Oct 2009 22:40:57 -0400	[thread overview]
Message-ID: <4AD53A39.8000306@gmail.com> (raw)
In-Reply-To: <528f13590910130750w2542eb0bsdb0e2818788e1ee3@mail.gmail.com>

alfred steele wrote:
>> So is it possible to completly disable the relocation process at startup and run U-Boot with having opcode in PROM and data in RAM? If yes, how could I achieve this?
>>
>> I already tried to remove the corresponding code in the start.S and searched the README for switches, but without success.
> Did you try the "CONFIG_SKIP_RELOCATE_UBOOT" ? I am not sure if it
> serves your purpose here. It depends upon whether or not your
> "start.S" uses it at all.
> 
> -Alfred

Tobias can try CONFIG_SKIP_RELOCATE_UBOOT, but it isn't likely to work 
as is.  That flag is to configure u-boot to be loaded directly into RAM 
and run out of RAM (i.e. no relocation from flash to RAM).  U-Boot was 
not designed to run from flash (aka. XIP - eXecute In Place) and nobody 
has done that as far as I know.

That doesn't mean u-boot cannot run XIP, it means that it will take an 
unknown amount of effort to make it happen.

gvb

      reply	other threads:[~2009-10-14  2:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13  8:39 [U-Boot] Running u-boot without relocation to RAM? Kraitschy, Tobias
2009-10-13 12:04 ` Jerry Van Baren
2009-10-13 14:50 ` alfred steele
2009-10-14  2:40   ` Jerry Van Baren [this message]

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=4AD53A39.8000306@gmail.com \
    --to=gvb.uboot@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox