From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Running u-boot without relocation to RAM?
Date: Tue, 13 Oct 2009 08:04:15 -0400 [thread overview]
Message-ID: <4AD46CBF.1060108@ge.com> (raw)
In-Reply-To: <6105146B697B3049A2C2C04C0EE9088D0701CFA810@WW001E1ERLMM11.ww001.siemens.net>
Hi Tobias,
Kraitschy, Tobias wrote:
> Hi,
>
> I?m working on running U-Boot from a Leon3-System on an evaluation
> board from Actel. Some GPIO and "Hello World" programs are already
> running.
>
> Now I created the necessary files for my board/sytem and compiling of
> U-Boot goes well, but starting this application nothing is happening
> on the serial terminal. After checking my U-Boot and system
> configuration again, I think that my very small RAM area of only 16
> kB might be the problem while U-Boot relocates itself to RAM at
> startup.
Yes. Major problem.
> 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?
You would be the first to achieve this.
One of the fundamental assumptions of u-boot is that it copies itself
into RAM and runs out of RAM. There are many good reasons for this: RAM
tends to be faster, it allows u-boot to reprogram flash without jumping
extra hoops, u-boot is a boot *loader* to load a "real" OS (into RAM),
"real" OSes require gobs of RAM, etc.
While it isn't impossible, it appears to be a pretty daunting task. On
the other hand, everything looks daunting when you start. Y'know, "a
trip of a thousand miles starts with the first step" sort of stuff.
> I already tried to remove the corresponding code in the start.S and
> searched the README for switches, but without success.
Nobody has had success yet, but maybe they just haven't tried hard
enough. ;-)
> Best regards,
>
> Tobias Kraitschy
Best regards,
gvb
next prev parent reply other threads:[~2009-10-13 12:04 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 [this message]
2009-10-13 14:50 ` alfred steele
2009-10-14 2:40 ` Jerry Van Baren
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=4AD46CBF.1060108@ge.com \
--to=gerald.vanbaren@ge.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.