All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Building u-boot on a PowerPC host
@ 2009-03-17 11:00 David Saada
  2009-03-17 12:02 ` Jerry Van Baren
  0 siblings, 1 reply; 4+ messages in thread
From: David Saada @ 2009-03-17 11:00 UTC (permalink / raw)
  To: u-boot

Hello,
Is there a recommended toolchain for building U-Boot on a PowerPC host? I've used ELDK on x86 hosts in the past for this purpose, and it worked fine, but now I need to perform it on a PowerPC host. As far as I could see, ELDK wasn't supported on PowerPC hosts. 
My target boards are the MPC85xx and MPC83xx ones.
Thanks,
David.

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

* [U-Boot] Building u-boot on a PowerPC host
  2009-03-17 11:00 [U-Boot] Building u-boot on a PowerPC host David Saada
@ 2009-03-17 12:02 ` Jerry Van Baren
  2009-03-17 12:22   ` Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: Jerry Van Baren @ 2009-03-17 12:02 UTC (permalink / raw)
  To: u-boot

David Saada wrote:
> Hello,
> Is there a recommended toolchain for building U-Boot on a PowerPC host? I've used ELDK on x86 hosts in the past for this purpose, and it worked fine, but now I need to perform it on a PowerPC host. As far as I could see, ELDK wasn't supported on PowerPC hosts. 
> My target boards are the MPC85xx and MPC83xx ones.
> Thanks,
> David.

Hi David,

Ummmm native gcc?  Is going straight causing problems???  :-) :-/

What is your host?  What is your distribution?  Genesi folks (I see Matt 
Sealey's name on the u-boot list) may be able to help out here. 
<http://www.genesi-usa.com/>

Best regards,
gvb

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

* [U-Boot] Building u-boot on a PowerPC host
  2009-03-17 12:02 ` Jerry Van Baren
@ 2009-03-17 12:22   ` Kumar Gala
  2009-03-22  9:42     ` David Saada
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2009-03-17 12:22 UTC (permalink / raw)
  To: u-boot


On Mar 17, 2009, at 7:02 AM, Jerry Van Baren wrote:

> David Saada wrote:
>> Hello,
>> Is there a recommended toolchain for building U-Boot on a PowerPC  
>> host? I've used ELDK on x86 hosts in the past for this purpose, and  
>> it worked fine, but now I need to perform it on a PowerPC host. As  
>> far as I could see, ELDK wasn't supported on PowerPC hosts.
>> My target boards are the MPC85xx and MPC83xx ones.
>> Thanks,
>> David.
>
> Hi David,
>
> Ummmm native gcc?  Is going straight causing problems???  :-) :-/
>
> What is your host?  What is your distribution?  Genesi folks (I see  
> Matt
> Sealey's name on the u-boot list) may be able to help out here.
> <http://www.genesi-usa.com/>

I build all my u-boot's on a G5 running fedora 9 w/o any issue using  
the native toolchain.

- k

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

* [U-Boot] Building u-boot on a PowerPC host
  2009-03-17 12:22   ` Kumar Gala
@ 2009-03-22  9:42     ` David Saada
  0 siblings, 0 replies; 4+ messages in thread
From: David Saada @ 2009-03-22  9:42 UTC (permalink / raw)
  To: u-boot

Thank you all,
The gcc version I have here is 4.1.2 (I use it for building the latest linux kernel). When trying to build u-boot with this version, I get the following errors:

include/common.h:0: error: -mcall not supported in this configuration
include/common.h:0: error: -mrelocatable not supported in this configuration
include/common.h:0: error: -meabi not supported in this configuration

This is why I thought there was a problem building gcc with the native gcc in the first place.
Anyway, I also have an installation of gcc 4.1.1 (which doesn't work with the latest linux kernel). Using it to build u-boot produces a successful build.
I guess I can keep the two different gcc versions on my machine, one for building u-boot, and one for building linux. 

Cheers,
David.


________________________________________
From: Kumar Gala [galak at kernel.crashing.org]
Sent: Tuesday, March 17, 2009 2:22 PM
To: Jerry Van Baren
Cc: David Saada; u-boot at lists.denx.de
Subject: Re: [U-Boot] Building u-boot on a PowerPC host

On Mar 17, 2009, at 7:02 AM, Jerry Van Baren wrote:

> David Saada wrote:
>> Hello,
>> Is there a recommended toolchain for building U-Boot on a PowerPC
>> host? I've used ELDK on x86 hosts in the past for this purpose, and
>> it worked fine, but now I need to perform it on a PowerPC host. As
>> far as I could see, ELDK wasn't supported on PowerPC hosts.
>> My target boards are the MPC85xx and MPC83xx ones.
>> Thanks,
>> David.
>
> Hi David,
>
> Ummmm native gcc?  Is going straight causing problems???  :-) :-/
>
> What is your host?  What is your distribution?  Genesi folks (I see
> Matt
> Sealey's name on the u-boot list) may be able to help out here.
> <http://www.genesi-usa.com/>

I build all my u-boot's on a G5 running fedora 9 w/o any issue using
the native toolchain.

- k

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

end of thread, other threads:[~2009-03-22  9:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-17 11:00 [U-Boot] Building u-boot on a PowerPC host David Saada
2009-03-17 12:02 ` Jerry Van Baren
2009-03-17 12:22   ` Kumar Gala
2009-03-22  9:42     ` David Saada

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.