From: Thomas Sailer <sailer@scs.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MIPS build environment
Date: Sun, 30 Jan 2005 00:54:53 +0100 [thread overview]
Message-ID: <1107042893.5393.19.camel@gamecube.scs.ch> (raw)
In-Reply-To: <20050129170838.603C6C108D@atlas.denx.de>
On Sat, 2005-01-29 at 18:08 +0100, Wolfgang Denk wrote:
> No, you're moving into the wrong direction. I hereby reject this
> patch, and will do the same woth all other attempts that go into that
> direction.
Sorry for miscommunicating, I didn't mean to ask you to apply it, I
meant it to stimulate discussion, which succeeded :)
Now I think there's a misunderstanding. There are two parts of u-boot,
namely the part that runs off SDRAM and the part that runs off the ROM.
For both parts the decision whether PIC or fixed address code should be
used is independent.
You argue for PIC/relocatable code in the main u-boot part that runs off
SDRAM. Rightly so, IMO. The patch I posted applies however to the part
that runs off ROM (FLASH) (SDRAM doesn't even work before the call to
memsetup, because the SDRAM controller and cache aren't setup yet). Now
this code is typically located at the reset vector address, and this
address is normally fixed by the silicon/cpu architecture. For this part
of u-boot, relocatability is less useful. Now MIPS has a feature to
allow the machine to be booted from JTAG by relocating the reset vector
into a memory space that when accessed causes a JTAG transaction with
the debug PC to supply the data, so for this feature relocatability of
the ROM part of u-boot could be somewhat useful.
Tom
next prev parent reply other threads:[~2005-01-29 23:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-29 2:13 [U-Boot-Users] MIPS build environment Dan Malek
2005-01-29 10:36 ` Thomas Sailer
2005-01-29 17:08 ` Wolfgang Denk
2005-01-29 23:54 ` Thomas Sailer [this message]
2005-01-30 1:22 ` Wolfgang Denk
2005-01-29 17:03 ` Wolfgang Denk
2005-01-30 0:20 ` Eugene Surovegin
2005-01-30 1:24 ` Wolfgang Denk
2005-01-30 1:43 ` Eugene Surovegin
2005-01-30 4:40 ` Dan Malek
2005-01-30 9:18 ` Wolfgang Denk
2005-01-30 10:33 ` Eugene Surovegin
2005-01-30 9:13 ` Wolfgang Denk
2005-01-30 10:26 ` Eugene Surovegin
2005-09-24 23:16 ` Wolfgang Denk
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=1107042893.5393.19.camel@gamecube.scs.ch \
--to=sailer@scs.ch \
--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