linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* toolchain for building linux-2.6.27.8 or 2.6.28.1  ...
@ 2009-01-29 19:52 Mike Timmons
  2009-01-29 20:16 ` Bruno Monteiro
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mike Timmons @ 2009-01-29 19:52 UTC (permalink / raw)
  To: linuxppc-dev

I wrote a couple days ago needing advice on USB wi fi. I made some 
progress but then I hit a snag loading the USB wi fi adapter firmware.

Jon schooled me on the firmware topic (thanks Jon), and advised me to 
select the following Kconfig options

Kconfig
Device drivers
  generic driver options
     user space firmware support
        check - include in-kernel firmware blobs in kernel binary


My 2.6.24 kernel didn't offer these options, and I also suspected that 
since 2.6.24 some progress on the ralink drivers I need has been made I 
figured I'd just try a new kernel build and try to get my 
ralink-equipped Linksys WUSB54GC to work.

Trouble:
-I was using  Ltib Toolchain (gcc-3.4.3-glibc-2.3.6 (for 603e)) to build 
my 2.6.24 kernel.
-It looks like somewhere after 2.6.24 this toolchain stopped 
successfully compiling the kernel.

So,
-I used crosstool and built 4.1.0 and 4.1.1 toolchains. Both produce the 
following error:

  OBJCOPY arch/powerpc/kernel/vdso32/vdso32.so
objcopy: Unable to recognise the format of the input file 
`arch/powerpc/kernel/vdso32/vdso32.so.dbg'
make[3]: *** [arch/powerpc/kernel/vdso32/vdso32.so] Error 1
make[2]: *** [arch/powerpc/kernel/vdso32] Error 2


Questions:
1) if I want to cross-compile a kernel later than 2.6.24 to hopefully 
get better WAN device support (and clearer options for fw loading), 
which kernel should I try, and which toolchain?

the ltib repository does not appear to have a toolchain newer than  
gcc-3.4.3-glibc-2.3.6 (for 603e)

Admissions, disclaimers, etc
1) I'm using the same ltib script I have used for the 2.6.24 build with 
toolchain gcc-3.4.3-glibc-2.3.6 (for 603e).
I'm simply modifying the kernel spec file to use 2.6.28.1 (and specifyin 
a custom toolchain).
I've also tried to compile 2.6.27.8. I get the same error.


I think I'm slipping into version compatibility hell at this point. 
Please throw me a rope if you can by way of advice if you can.

Thanks!

-Mike

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

* Re: toolchain for building linux-2.6.27.8 or 2.6.28.1 ...
  2009-01-29 19:52 toolchain for building linux-2.6.27.8 or 2.6.28.1 Mike Timmons
@ 2009-01-29 20:16 ` Bruno Monteiro
  2009-01-29 20:40 ` Grant Erickson
  2009-01-30 23:08 ` toolchain for building linux-2.6.27.8 or 2.6.28.1 Robert Schwebel
  2 siblings, 0 replies; 5+ messages in thread
From: Bruno Monteiro @ 2009-01-29 20:16 UTC (permalink / raw)
  To: mike_timmons; +Cc: linuxppc-dev

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

Hi Mike,

For cross compile issue you should try
crosstool-ng<http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool>.
It works fine with ppc 405.

Regards,
Bruno


On Thu, Jan 29, 2009 at 7:52 PM, Mike Timmons <mike_timmons@trimble.com>wrote:

> I wrote a couple days ago needing advice on USB wi fi. I made some progress
> but then I hit a snag loading the USB wi fi adapter firmware.
>
> Jon schooled me on the firmware topic (thanks Jon), and advised me to
> select the following Kconfig options
>
> Kconfig
> Device drivers
>  generic driver options
>    user space firmware support
>       check - include in-kernel firmware blobs in kernel binary
>
>
> My 2.6.24 kernel didn't offer these options, and I also suspected that
> since 2.6.24 some progress on the ralink drivers I need has been made I
> figured I'd just try a new kernel build and try to get my ralink-equipped
> Linksys WUSB54GC to work.
>
> Trouble:
> -I was using  Ltib Toolchain (gcc-3.4.3-glibc-2.3.6 (for 603e)) to build my
> 2.6.24 kernel.
> -It looks like somewhere after 2.6.24 this toolchain stopped successfully
> compiling the kernel.
>
> So,
> -I used crosstool and built 4.1.0 and 4.1.1 toolchains. Both produce the
> following error:
>
>  OBJCOPY arch/powerpc/kernel/vdso32/vdso32.so
> objcopy: Unable to recognise the format of the input file
> `arch/powerpc/kernel/vdso32/vdso32.so.dbg'
> make[3]: *** [arch/powerpc/kernel/vdso32/vdso32.so] Error 1
> make[2]: *** [arch/powerpc/kernel/vdso32] Error 2
>
>
> Questions:
> 1) if I want to cross-compile a kernel later than 2.6.24 to hopefully get
> better WAN device support (and clearer options for fw loading), which kernel
> should I try, and which toolchain?
>
> the ltib repository does not appear to have a toolchain newer than
>  gcc-3.4.3-glibc-2.3.6 (for 603e)
>
> Admissions, disclaimers, etc
> 1) I'm using the same ltib script I have used for the 2.6.24 build with
> toolchain gcc-3.4.3-glibc-2.3.6 (for 603e).
> I'm simply modifying the kernel spec file to use 2.6.28.1 (and specifyin a
> custom toolchain).
> I've also tried to compile 2.6.27.8. I get the same error.
>
>
> I think I'm slipping into version compatibility hell at this point. Please
> throw me a rope if you can by way of advice if you can.
>
> Thanks!
>
> -Mike
>
>
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>

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

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

* Re: toolchain for building linux-2.6.27.8 or 2.6.28.1  ...
  2009-01-29 19:52 toolchain for building linux-2.6.27.8 or 2.6.28.1 Mike Timmons
  2009-01-29 20:16 ` Bruno Monteiro
@ 2009-01-29 20:40 ` Grant Erickson
  2009-01-30 21:39   ` toolchain for building linux-2.6.27.8 or 2.6.28.1 AND USB wi fi SUCCESS Mike Timmons
  2009-01-30 23:08 ` toolchain for building linux-2.6.27.8 or 2.6.28.1 Robert Schwebel
  2 siblings, 1 reply; 5+ messages in thread
From: Grant Erickson @ 2009-01-29 20:40 UTC (permalink / raw)
  To: mike_timmons; +Cc: linuxppc-dev

On 1/29/09 11:52 AM, Mike Timmons wrote:
> Questions:
> 1) if I want to cross-compile a kernel later than 2.6.24 to hopefully
> get better WAN device support (and clearer options for fw loading),
> which kernel should I try, and which toolchain?
> 
> the ltib repository does not appear to have a toolchain newer than
> gcc-3.4.3-glibc-2.3.6 (for 603e)
> 
> Admissions, disclaimers, etc
> 1) I'm using the same ltib script I have used for the 2.6.24 build with
> toolchain gcc-3.4.3-glibc-2.3.6 (for 603e).
> I'm simply modifying the kernel spec file to use 2.6.28.1 (and specifyin
> a custom toolchain).
> I've also tried to compile 2.6.27.8. I get the same error.

Mike:

Denx's ELDK 4.1 or 4.2 make a great "It Just Works" solution. I've used 4.1
running from 2.6.23 up to 2.6.27.11 and 4.2 from 2.6.26 to 2.6.27.11 with
zero problems or issues.

Regards,

Grant Erickson

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

* Re: toolchain for building linux-2.6.27.8 or 2.6.28.1  AND USB wi fi SUCCESS...
  2009-01-29 20:40 ` Grant Erickson
@ 2009-01-30 21:39   ` Mike Timmons
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Timmons @ 2009-01-30 21:39 UTC (permalink / raw)
  To: Grant Erickson; +Cc: linuxppc-dev

Thank You! I obtained ELDK 4.1 from Denx and built 2.6.27.8 with it. A 
couple host tool links were required but the build was pretty painless.

Ultimate goal I startedon early in the week was USB wi fi using the 
Linksys WUSB54GC, which requires the ralink rt73 driver.

The 2.6.27.8 menuconfig offered the "firmware" loading options I was 
looking for.

I now have a working USB wi fi device.

THANK YOU!

-Mike Timmons

Grant Erickson wrote:
> On 1/29/09 11:52 AM, Mike Timmons wrote:
>   
>> Questions:
>> 1) if I want to cross-compile a kernel later than 2.6.24 to hopefully
>> get better WAN device support (and clearer options for fw loading),
>> which kernel should I try, and which toolchain?
>>
>> the ltib repository does not appear to have a toolchain newer than
>> gcc-3.4.3-glibc-2.3.6 (for 603e)
>>
>> Admissions, disclaimers, etc
>> 1) I'm using the same ltib script I have used for the 2.6.24 build with
>> toolchain gcc-3.4.3-glibc-2.3.6 (for 603e).
>> I'm simply modifying the kernel spec file to use 2.6.28.1 (and specifyin
>> a custom toolchain).
>> I've also tried to compile 2.6.27.8. I get the same error.
>>     
>
> Mike:
>
> Denx's ELDK 4.1 or 4.2 make a great "It Just Works" solution. I've used 4.1
> running from 2.6.23 up to 2.6.27.11 and 4.2 from 2.6.26 to 2.6.27.11 with
> zero problems or issues.
>
> Regards,
>
> Grant Erickson
>
>
>   

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

* Re: toolchain for building linux-2.6.27.8 or 2.6.28.1  ...
  2009-01-29 19:52 toolchain for building linux-2.6.27.8 or 2.6.28.1 Mike Timmons
  2009-01-29 20:16 ` Bruno Monteiro
  2009-01-29 20:40 ` Grant Erickson
@ 2009-01-30 23:08 ` Robert Schwebel
  2 siblings, 0 replies; 5+ messages in thread
From: Robert Schwebel @ 2009-01-30 23:08 UTC (permalink / raw)
  To: Mike Timmons; +Cc: linuxppc-dev

Hi Mike,

On Thu, Jan 29, 2009 at 01:52:00PM -0600, Mike Timmons wrote:
> Questions:
> 1) if I want to cross-compile a kernel later than 2.6.24 to hopefully  
> get better WAN device support (and clearer options for fw loading),  
> which kernel should I try, and which toolchain?

OSELAS.Toolchain-1.99.2 is known to build working kernels for powerpc,
currently tested for 603e (MPC5200B). We have gcc-4.3.2 at the moment.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-29 19:52 toolchain for building linux-2.6.27.8 or 2.6.28.1 Mike Timmons
2009-01-29 20:16 ` Bruno Monteiro
2009-01-29 20:40 ` Grant Erickson
2009-01-30 21:39   ` toolchain for building linux-2.6.27.8 or 2.6.28.1 AND USB wi fi SUCCESS Mike Timmons
2009-01-30 23:08 ` toolchain for building linux-2.6.27.8 or 2.6.28.1 Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).