public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] arm11 tool chain
@ 2009-06-29 14:47 Melton, Jason
  2009-06-29 18:08 ` wireless
  2009-06-30  7:30 ` Sven Rebhan
  0 siblings, 2 replies; 7+ messages in thread
From: Melton, Jason @ 2009-06-29 14:47 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

Hello,

 

I am trying to build a cross compiler for the arm11 (the i.MX31 in
particular
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31).
To build for this embedded processor would I use:

 

arm-unknown-linux-gnu

 

to build the tools and then use -march=arm1136jf-s to target the arm
core in the chip?  Or am I missing something.

 

Jason

 


[-- Attachment #2: Type: text/html, Size: 2711 bytes --]

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

* Re: [gentoo-embedded] arm11 tool chain
  2009-06-29 14:47 [gentoo-embedded] arm11 tool chain Melton, Jason
@ 2009-06-29 18:08 ` wireless
  2009-06-30 15:40   ` Melton, Jason
  2009-06-30  7:30 ` Sven Rebhan
  1 sibling, 1 reply; 7+ messages in thread
From: wireless @ 2009-06-29 18:08 UTC (permalink / raw
  To: gentoo-embedded

Melton, Jason wrote:

> I am trying to build a cross compiler for the arm11 (the i.MX31 in
> particular
> http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31). 
> To build for this embedded processor would I use:


I have not experience with this chipset, but, I have often
thought of working on egentoo on an i.MX processor, with
particular attention to h.264 SP streaming.


Not be too invasive, but, how much did your board cost?


James




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

* Re: [gentoo-embedded] arm11 tool chain
  2009-06-29 14:47 [gentoo-embedded] arm11 tool chain Melton, Jason
  2009-06-29 18:08 ` wireless
@ 2009-06-30  7:30 ` Sven Rebhan
  2009-06-30 15:56   ` Melton, Jason
  2009-07-27 15:07   ` Christopher Friedt
  1 sibling, 2 replies; 7+ messages in thread
From: Sven Rebhan @ 2009-06-30  7:30 UTC (permalink / raw
  To: gentoo-embedded

2009/6/29 Melton, Jason <jason.melton@plansys.com>:
Hey!

> http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31).  To
> build for this embedded processor would I use:
>
> arm-unknown-linux-gnu

Reading the webpage linked it seems like that thing has a hardware FPU,
so you can use your suggestion. However,  arm-unknown-linux-gnu will
procude ARM OABI code. You might also want to try

arm-unknown-linux-gnueabi

to use ARM EABI instead. See

http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=3

Furthermore according to
http://www.arm.com/products/CPUs/ARM1136JF-S.html
http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/ARM-Options.html#ARM-Options

I would use

-march=armv6j -mtune=arm1136jf-s

in the CFLAGS.

Have fun!

    Sven



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

* RE: [gentoo-embedded] arm11 tool chain
  2009-06-29 18:08 ` wireless
@ 2009-06-30 15:40   ` Melton, Jason
  2009-06-30 16:15     ` wireless
  0 siblings, 1 reply; 7+ messages in thread
From: Melton, Jason @ 2009-06-30 15:40 UTC (permalink / raw
  To: gentoo-embedded

I haven't bought my board yet.  I plan to get a demo board to help me in
building my own board.  I just wanted to get a bit of a jump on the
software side of things.

I'll let you know when I do purchase my board.

Jason

-----Original Message-----
From: wireless [mailto:wireless@tampabay.rr.com] 
Sent: Monday, June 29, 2009 1:09 PM
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] arm11 tool chain

Melton, Jason wrote:

> I am trying to build a cross compiler for the arm11 (the i.MX31 in
> particular
>
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31). 
> To build for this embedded processor would I use:


I have not experience with this chipset, but, I have often
thought of working on egentoo on an i.MX processor, with
particular attention to h.264 SP streaming.


Not be too invasive, but, how much did your board cost?


James


--------------------------------------------------------------------
CONFIDENTIALITY NOTE:  This transmission is intended solely for the use of the individual(s)
to whom it is addressed and may contain information that is privileged, confidential, 
or otherwise exempt from disclosure under applicable law.
 If the reader of this message is not the intended recipient, or an
authorized representative of the intended recipient, you are hereby
notified that any review, retransmission, dissemination, distribution,
copying of or taking of any action in reliance upon this communication is strictly prohibited. 
If you have received this communication in error, please delete it 
from your system without copying or forwarding it, and notify the 
sender of the error by reply e-mail. 



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

* RE: [gentoo-embedded] arm11 tool chain
  2009-06-30  7:30 ` Sven Rebhan
@ 2009-06-30 15:56   ` Melton, Jason
  2009-07-27 15:07   ` Christopher Friedt
  1 sibling, 0 replies; 7+ messages in thread
From: Melton, Jason @ 2009-06-30 15:56 UTC (permalink / raw
  To: gentoo-embedded

Thank you very much for your response Sven.  I will give that a go.

Jason

-----Original Message-----
From: Sven Rebhan [mailto:odinshorse@googlemail.com] 
Sent: Tuesday, June 30, 2009 2:30 AM
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] arm11 tool chain

2009/6/29 Melton, Jason <jason.melton@plansys.com>:
Hey!

>
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31).
To
> build for this embedded processor would I use:
>
> arm-unknown-linux-gnu

Reading the webpage linked it seems like that thing has a hardware FPU,
so you can use your suggestion. However,  arm-unknown-linux-gnu will
procude ARM OABI code. You might also want to try

arm-unknown-linux-gnueabi

to use ARM EABI instead. See

http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&ch
ap=3

Furthermore according to
http://www.arm.com/products/CPUs/ARM1136JF-S.html
http://gcc.gnu.org/onlinedocs/gcc-4.3.3/gcc/ARM-Options.html#ARM-Options

I would use

-march=armv6j -mtune=arm1136jf-s

in the CFLAGS.

Have fun!

    Sven

--------------------------------------------------------------------
CONFIDENTIALITY NOTE:  This transmission is intended solely for the use of the individual(s)
to whom it is addressed and may contain information that is privileged, confidential, 
or otherwise exempt from disclosure under applicable law.
 If the reader of this message is not the intended recipient, or an
authorized representative of the intended recipient, you are hereby
notified that any review, retransmission, dissemination, distribution,
copying of or taking of any action in reliance upon this communication is strictly prohibited. 
If you have received this communication in error, please delete it 
from your system without copying or forwarding it, and notify the 
sender of the error by reply e-mail. 



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

* Re: [gentoo-embedded] arm11 tool chain
  2009-06-30 15:40   ` Melton, Jason
@ 2009-06-30 16:15     ` wireless
  0 siblings, 0 replies; 7+ messages in thread
From: wireless @ 2009-06-30 16:15 UTC (permalink / raw
  To: gentoo-embedded




Melton, Jason wrote:
> I haven't bought my board yet.  I plan to get a demo board to help me in
> building my own board.  I just wanted to get a bit of a jump on the
> software side of things.
> 
> I'll let you know when I do purchase my board.
> 
> Jason
> 

In general, we do not "top post" on gentoo lists....

Very cool.

THX,
James



> -----Original Message-----
> From: wireless [mailto:wireless@tampabay.rr.com] 
> Sent: Monday, June 29, 2009 1:09 PM
> To: gentoo-embedded@lists.gentoo.org
> Subject: Re: [gentoo-embedded] arm11 tool chain
> 
> Melton, Jason wrote:
> 
>> I am trying to build a cross compiler for the arm11 (the i.MX31 in
>> particular
>>
> http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31). 
>> To build for this embedded processor would I use:
> 
> 
> I have not experience with this chipset, but, I have often
> thought of working on egentoo on an i.MX processor, with
> particular attention to h.264 SP streaming.
> 
> 
> Not be too invasive, but, how much did your board cost?
> 
> 
> James
> 
> 
> --------------------------------------------------------------------
> CONFIDENTIALITY NOTE:  This transmission is intended solely for the use of the individual(s)
> to whom it is addressed and may contain information that is privileged, confidential, 
> or otherwise exempt from disclosure under applicable law.
>  If the reader of this message is not the intended recipient, or an
> authorized representative of the intended recipient, you are hereby
> notified that any review, retransmission, dissemination, distribution,
> copying of or taking of any action in reliance upon this communication is strictly prohibited. 
> If you have received this communication in error, please delete it 
> from your system without copying or forwarding it, and notify the 
> sender of the error by reply e-mail. 
> 
> 




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

* Re: [gentoo-embedded] arm11 tool chain
  2009-06-30  7:30 ` Sven Rebhan
  2009-06-30 15:56   ` Melton, Jason
@ 2009-07-27 15:07   ` Christopher Friedt
  1 sibling, 0 replies; 7+ messages in thread
From: Christopher Friedt @ 2009-07-27 15:07 UTC (permalink / raw
  To: gentoo-embedded

Hi Jason,

On Tue, Jun 30, 2009 at 9:30 AM, Sven Rebhan<odinshorse@googlemail.com> wrote:
> I would use
>
> -march=armv6j -mtune=arm1136jf-s

It might be wise to include '-mfpu=vfp' in there too. Having not
worked with >ARMv5 chips, I can't say with any certainty whether
-mtune=arm1136jf-s pulls the vfp in by default, although I would
imagine it would if you don't specify arm-softfloat-... .

How did it crossdev work out for you? Did you end up getting a price
for the development board?

Cheers,

Chris



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

end of thread, other threads:[~2009-07-27 15:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 14:47 [gentoo-embedded] arm11 tool chain Melton, Jason
2009-06-29 18:08 ` wireless
2009-06-30 15:40   ` Melton, Jason
2009-06-30 16:15     ` wireless
2009-06-30  7:30 ` Sven Rebhan
2009-06-30 15:56   ` Melton, Jason
2009-07-27 15:07   ` Christopher Friedt

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