From: Victor Wren <vwren@timension.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Help request, MPC5200 Lite -- i386 cross-compiling
Date: Thu, 20 Nov 2003 11:43:38 -0800 [thread overview]
Message-ID: <3FBCA8EA.14100.319B6E@localhost> (raw)
In-Reply-To: <20031120081225.43F64C5F5F@atlas.denx.de>
I'm trying to get a boot loader running on the 5200, but I'm getting stuck at
the compilation of the images. I only have a Pentium2 Redhat 9 environment
to work from. I downloaded GCC 3.3.1, bintools 2.11.90 and built them both
with a target of powerpc-linux.
To build the MPC5200LITE images, I used 'make MPC5200LITE' which in rummaging
through the configuration files in the "board" directory seems to select the
correct defaults for flash size and such on the rev 2 board. My problem
seems to be in my cross-compiler toolset in any case.
I changed the line CROSS_COMPILE = ppc_8xx-
to CROSS_COMPILE = powerpc-linux- because that seemed to be the architecture
that it was using (when I didn't change it, I got a goodly pile of ppc_8xx
related failures). Now the make largely goes ahead, but when it hits a
certain point (stubs.c in the 'examples' directory) it errors out with many
repetitions of "Error: Relocation cannot be done when using -mrelocatable"
This would seem to be something dead-simple that I'm missing in building a
cross-compiler, because nobody else seems to have this problem. Any
suggestions? I built GCC without changing the prefix, so it built in
/usr/local/powerpc-linux and /usr/local/lib/gcc-lib/powerpc-linux/ Do I need
to add something to ld.so.conf? The Makefile does seem to be finding the
path. Sorry about my ignorance. I'm really a mechanical designer in
disguise, and I'm definitely new to cross-compiling.
I have one other question: In the archives for the forum, I noticed a
contribution to the CVS regarding a low-loading image config. The assertion
was that this image would load at 0xFF000000, and that moving the boot jumper
to the "low" position would boot there. According to the docs I have from
Motorola, moving the jumper to the "low" position boots from 0x00000100
(SDRAM). High boot is 0xFFF00100 (FLASH)
("Lite5200 Manual.pdf", page 19)
Is there a misprint in the manual?
Thanks,
Victor Wren
Victor Wren
Designer,
Timension Inc.
1350 C Pear Ave
Mountain View CA 94043
(650) 564-9397
Fax: (650) 564-9398
Opinions stated in this letter are not necessarily
those of Timension Inc. or the management. All
Rights Reserved. No spitting.
next prev parent reply other threads:[~2003-11-20 19:43 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-14 19:09 [U-Boot-Users] Re: environment in flash not loaded Richard Klingler
2003-11-14 19:41 ` Nye Liu
2003-11-14 20:19 ` Wolfgang Denk
2003-11-14 22:02 ` Nye Liu
2003-11-20 2:10 ` 최광일
2003-11-20 8:12 ` Wolfgang Denk
2003-11-20 19:43 ` Victor Wren [this message]
2003-11-20 19:56 ` [U-Boot-Users] Help request, MPC5200 Lite -- i386 cross-compiling Nye Liu
2003-11-20 20:44 ` Wolfgang Denk
2003-11-26 18:34 ` [U-Boot-Users] Help request, MPC5200 Lite, Monitor Victor Wren
2003-11-26 22:41 ` Wolfgang Denk
2003-12-03 22:03 ` [U-Boot-Users] Re: MPC5200 Lowboot config Victor Wren
2003-12-03 22:47 ` Wolfgang Denk
2003-12-04 0:57 ` Victor Wren
2003-12-04 8:41 ` Wolfgang Denk
2003-12-04 23:09 ` [U-Boot-Users] Re: MPC5200 build Victor Wren
2003-12-05 0:30 ` Wolfgang Denk
2003-12-05 20:29 ` Victor Wren
2003-12-05 20:59 ` 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=3FBCA8EA.14100.319B6E@localhost \
--to=vwren@timension.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.