public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Kumar Gala <kumar.gala@motorola.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Testing a cross compiler for a mpc8540 cpu
Date: Mon, 5 Jan 2004 09:01:32 -0600	[thread overview]
Message-ID: <0CC6641E-3F90-11D8-8492-000393DBC2E8@motorola.com> (raw)
In-Reply-To: <1072812369.12759.12.camel@chuck.arlut.utexas.edu>

Matthew,

A few things that may be useful.
1. from an application stand point the main differences focus on 
floating point and availability of new SPE functionality.  Pure integer 
code that runs on PPC should work (Compiling app code with -msoft-float 
-mno-string)
2. for building u-boot/kernel style code a standard PPC compiler with a 
new binutils (2.14 or greater) should be sufficient.  2.14 or greater 
adds support for the full Book-E and e500 ISA and the -me500 option to 
the assembler.

Hopefully this provides some help.

- kumar

On Dec 30, 2003, at 1:26 PM, Matthew S. McClintock wrote:

> That seems like a good idea. My output is the following:
>
> u-boot: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1
> (SYSV), statically linked, not stripped
>
> However what I am worried about is the fact that I am using an e500
> processor. I am told there are subtle differences, however I am not
> entirely sure how. However the file command makes no mention or not if
> this is compiled for an e500 processor. I have little doubt that my
> compiler makes code for a PowerPC processor. I guess my question should
> have been how can I verify if my cross compiler produces code for an
> e500 processor code?
>
> Thanks,
> Matthew
>
> On Tue, 2003-12-30 at 13:22, Ed Okerson wrote:
>> Use the UNIX command "file" on the output of the compiler.  When I do 
>> this
>> on u-boot I get:
>>
>> # file u-boot
>> u-boot: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), statically
>> linked, not stripped
>>
>> This shows that it is a little-endian (LSB) executable for MIPS.
>>
>> Ed Okerson
>>
>> On Tue, 30 Dec 2003, Matthew S. McClintock wrote:
>>
>>> Does anyone know a good way to test to see if a cross compiler is
>>> working? I have what I believe to be a cross compiler for a mpc8540 
>>> cpu.
>>> However I am not sure if its working. I can compile u-boot with the
>>> compiler but that does not tell me much since u-boot does not support
>>> the board I am using specifically. I really don't want to go forward
>>> working on getting u-boot to run on this board only to find out of
>>> compiler is broken. Anyone have any ideas?
>>>
>>> Thanks
>>>
>>>
>>> --
>>> Matthew S. McClintock <mattsm@arlut.utexas.edu>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This SF.net email is sponsored by: IBM Linux Tutorials.
>>> Become an expert in LINUX or just sharpen your skills.  Sign up for 
>>> IBM's
>>> Free Linux Tutorials.  Learn everything from the bash shell to sys 
>>> admin.
>>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
>>> _______________________________________________
>>> U-Boot-Users mailing list
>>> U-Boot-Users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: IBM Linux Tutorials.
>> Become an expert in LINUX or just sharpen your skills.  Sign up for 
>> IBM's
>> Free Linux Tutorials.  Learn everything from the bash shell to sys 
>> admin.
>> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
>> _______________________________________________
>> U-Boot-Users mailing list
>> U-Boot-Users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> -- 
> Matthew S. McClintock <mattsm@arlut.utexas.edu>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for 
> IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys 
> admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users

      reply	other threads:[~2004-01-05 15:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-30 19:13 [U-Boot-Users] Testing a cross compiler for a mpc8540 cpu Matthew S. McClintock
2003-12-30 19:22 ` Ed Okerson
2003-12-30 19:26   ` Matthew S. McClintock
2004-01-05 15:01     ` Kumar Gala [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=0CC6641E-3F90-11D8-8492-000393DBC2E8@motorola.com \
    --to=kumar.gala@motorola.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