public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] FPGA relocation/C environment
@ 2009-10-29  8:21 Wolfgang Wegner
  2009-10-29 11:00 ` Wolfgang Denk
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Wegner @ 2009-10-29  8:21 UTC (permalink / raw)
  To: u-boot

Hi,

I am using U-Boot on a Coldfire to load FPGA code (Xilinx Spartan3
and Altera Cyclone2, currently) and am just trying to update my code
base to current U-Boot for finally sending patches.

Now I recognized that commit 6385b28116f775da4771b768ba9bf93c3aaaf26e
removed FPGA relocation, which of course breaks FPGA code for my
Coldfire board.

What is the "proper relocation for PPC boards" that is mentioned
by Peter in his commit log? I found this test patch by him:
http://lists.denx.de/pipermail/u-boot/2009-September/060582.html
which leads me to the assumption that for PPC, newer compilers
do the right thing (TM) when given -mrelocatable, but
- my m68k-elf-gcc (Sourcery G++ Lite 4.3-208) 4.3.3 (that was the
  newest one I could get my hands on that is able to compile U-Boot
  at all) does not know -mrelocatable
- I do not understand how the compiler could know about the
  relocation for the FPGA (and possibly other) functions when the
  actual relocation is done during U-Boot run time?

Can anybody give some hints where I have to look at or where my
misunderstanding occurs?

Thank you,
Wolfgang

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-10-30 23:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29  8:21 [U-Boot] FPGA relocation/C environment Wolfgang Wegner
2009-10-29 11:00 ` Wolfgang Denk
2009-10-29 12:04   ` Wolfgang Wegner
2009-10-29 13:08   ` Joakim Tjernlund
2009-10-29 13:41     ` Wolfgang Wegner
2009-10-29 14:22       ` Joakim Tjernlund
2009-10-29 15:00         ` Wolfgang Wegner
2009-10-29 15:44           ` Wolfgang Wegner
2009-10-29 16:39             ` Joakim Tjernlund
2009-10-30 13:11               ` Wolfgang Wegner
2009-10-30 23:16                 ` Graeme Russ
2009-10-29 15:47           ` Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox