kernel 2.6.24 USB wi fi device firmware loading issue(s): rt73.bin...

2009-02-04 Thread Mike Timmons
I received great help last week in getting a USB wi fi device working. 
Thanks again, but can someone read below and advise me on kernel 2.6.24? 
The best out-of-the box solution for me was 2.6.27.8, for which I needed 
a Denx eldx toolchain in place of the toolchain I was using to compile 
2.6.24. The significance of all this is that I did get  USB wi fi 
working, but...


I'm not in a position to upgrade from 2.6.24 at this time. I need to get 
the USB wi wi (Linksys WUSB54GC) working under 2.6.24.


After success with linking firmware with the 2.6.27.8 kernel, 2.6.24 I 
keep hitting this error when loading from user space (I don't appear to 
have the, link with kernel option with 2.6.24)...


sh-2.05b# ifconfig wlan0 up
[  764.744354] phy0 - rt2x00lib_request_firmware: Info - Loading 
firmware file 'rt73.bin'.


After a considerable delay I get an error that indicates the file can't 
be found.


I have spent many, many hours following leads (and links) this group has 
directed me to. Thanks again. I'm either missing a very simple step or 
indeed support under 6.2.24 is not good. Please advise. I've done the 
following...


1)placed rt73.bin in various locations (/lib/firmware, 
lib/firmware/'uname -a', and the location specified by my 
/etc/hotplug/firmware.agent), according to tips on some threads I've read.


None of this appears to make a difference.

2) I'm a bit confused by the hotplug dependancy, although I do have 
hotplug enabled. hotplug makes me think I should be configuring some 
script to load the firmware upon device insertion, but, ifconfig wlan0 
up appears to want to load the firmware anyway so I'm guessing if I 
just get rt73.bin installed correctly it should work.


Comparing my working 2.6.27.8 to 2.6.24 in the areas of, firmware and 
the ralink rt2x00 drivers reveals MANY changes, no doubt for the better.


QUESTIONS:
1) Am I missing something VERY simple on this firmware loading topic 
that should make this work under 2.6.24, or am I bumping into the reason 
so much of this code has changed between 2.6.24 and 2.6.27.8?
-linking firmware with the lernel at compile time is a nice, obvious 
method offered by the later kernel. I'm confused by the userspace method 
and I think this is where my problem lay.


2) am I correctly, installing the firmware just by placing rt73.bin in 
the correct location in my filesystem, or is there some other magic 
required before, request_firmware() will work?


Just when I thought I understood some of the kernel I hit a new topic: 
firmware loading! Any help much appreciated...


-Mike
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


kernel 2.6.24 USB wlan firmware loading issue(s): rt73.bin...

2009-02-02 Thread Mike Timmons
I received great help last week in getting a USB wi fi device working. 
Thanks again, but can someone read below and advise me on kernel 2.6.24? 
The best out-of-the box solution for me was 2.6.27.8, for which I needed 
a Denx eldx toolchain in place of the toolchain I was using to compile 
2.6.24. The significance of all this is that I did get  USB wi fi 
working, but...


I'm not in a position to upgrade from 2.6.24 at this time. I need to get 
the USB wi wi (Linksys WUSB54GC) working under 2.6.24.


After success with linking firmware with the 2.6.27.8 kernel, 2.6.24 I 
keep hitting this error when loading from user space (I don't appear to 
have the, link with kernel option with 2.6.24)...


sh-2.05b# ifconfig wlan0 up
[  764.744354] phy0 - rt2x00lib_request_firmware: Info - Loading 
firmware file 'rt73.bin'.


I have spent many, many hours following leads (and links) this group has 
directed me to. I've done the following...


1)placed rt73.bin in various locations (/lib/firmware, 
lib/firmware/'uname -a', and the location specified by my 
/etc/hotplug/firmware.agent)


None of this appears to make a difference.

2) I'm a bit confused by the hotplug dependancy, although I do have 
hotplug enabled. hotplug makes me think I should be configuring some 
script to load the firmware upon device insertion, but, ifconfig wlan0 
up appears to want to load the firmware anyway so I'm guessing if I 
just get rt73.bin in the right spot it should work.



Comparing my working 2.6.27.8 to 2.6.24 in the areas of firmware: and 
the ralink rt2x00 drivers reveals MANY changes, no doubt for the better.


QUESTIONS:
1) Am I missing something VERY simple on this firmware loading topic 
that should make this work under 2.6.24, or am I bumping into the reason 
so much of this code has changed between 2.6.24 and 2.6.27.8?


2) am I correctly, installing the firmware just by placing rt73.bin in 
the correct location in my filesystem, or is there some other magic 
required before, request_firmware() will work?


Just when I thought I understood some of the kernel I hit a new topic: 
firmware loading! Any help much appreciated...


-Mike




Mike Timmons wrote:
Thanks Jon. I'm still struggling with this rt73.bin issue. My 2.6.24 
Kconfig presents options slightly different from what you describe 
below. I've tried a few different settings and I placed the rt73.bin 
you sent me under /lib/firmware.


I'm still getting the failure to load rt73.bin error on ifconfig 
wlan0 up.


my generic Kconfig options read as follows. I'm not sure if/what 
option maps to, include in-kernel firmware blobs in kernel binary


Could this be a udev issue?

(/sbin/hotplug) path to uevent helper
? ? [*] Select only drivers that don't need compile-time external 
firmware

? ? [ ] Prevent firmware from being built
? ? {*} Userspace firmware loading support
? ? [ ] Driver Core verbose debug messages
? ? [ ] Managed device resources verbose debug messages


I'll keep trying different things, but if you can provide additional 
guidance I will appreciate it very much. Thanks again.



Jon Smirl wrote:
On Tue, Jan 27, 2009 at 1:50 AM, Mike Timmons 
mike_timm...@trimble.com wrote:
 
Thanks. Yes, USB  wi fi is what I'm after.  I did find the driver I 
needed
after enabling the WLAN80211 and EXPERIMENTAL options. The device 
discovery

appears to work, and with wireless tools I can iwconfig and see my
interface.

QUESTION: when I ifoncfig wlan0 up it results in an attempt to load a
firmwmare file as follows. as you can see, it fails. What are these 
firmware
files? I can't find it in my build output. How do I build it or 
where do I

get it? Where would I put it on my target?



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

 
I did search for answers to these questions and tried to stick an 
rt73.bin
of unknown origin (to me anyway) in /lib/firmware but I got the same 
error.


-sh-2.05b# ifconfig wlan0 up
[ 2212.027071] phy1 - rt2x00lib_request_firmware: Info - Loading 
firmware

file 'rt73.bin'.
[ 2272.058793] phy1 - rt2x00lib_request_firmware: Error - Failed to 
request

Firmware.
SIOCSIFFLAGS: No such file or directory

Thanks again,
Mike



\
Grant Likely wrote:
   
On Mon, Jan 26, 2009 at 8:39 PM, Mike Timmons 
mike_timm...@trimble.com

wrote:

 
I'm running 2.6.24 with Freescale's lite5200 as my base. I'm 
interested

in
this USB adaptor for wireless USB, but my web search does not make me
confident that my effort will yield fruit.

Can anyone direct me to a good source outlining success stories with
wireless USB adaptors? At present I'm mesing with Linksys WUSB54GC 
and

some
driver source from Ralink, but my cross-compile is not working.



Umm, the WUSB54GC is not a wireless USB adapter.  It is a USB WiFi
adapter.  If you're looking for wireless USB then it is the wrong
device.

If you are looking for a suitable wifi adapter

Re: toolchain for building linux-2.6.27.8 or 2.6.28.1 AND USB wi fi SUCCESS...

2009-01-30 Thread Mike Timmons
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


  


___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


toolchain for building linux-2.6.27.8 or 2.6.28.1 ...

2009-01-29 Thread Mike Timmons
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


Re: any luck with wireless USB adaptors?

2009-01-27 Thread Mike Timmons
Thanks Jon. I'm still struggling with this rt73.bin issue. My 2.6.24 
Kconfig presents options slightly different from what you describe 
below. I've tried a few different settings and I placed the rt73.bin you 
sent me under /lib/firmware.


I'm still getting the failure to load rt73.bin error on ifconfig 
wlan0 up.


my generic Kconfig options read as follows. I'm not sure if/what 
option maps to, include in-kernel firmware blobs in kernel binary


Could this be a udev issue?

(/sbin/hotplug) path to uevent helper
? ? [*] Select only drivers that don't need compile-time external firmware
? ? [ ] Prevent firmware from being built
? ? {*} Userspace firmware loading support
? ? [ ] Driver Core verbose debug messages
? ? [ ] Managed device resources verbose debug messages


I'll keep trying different things, but if you can provide additional 
guidance I will appreciate it very much. Thanks again.



Jon Smirl wrote:

On Tue, Jan 27, 2009 at 1:50 AM, Mike Timmons mike_timm...@trimble.com wrote:
  

Thanks. Yes, USB  wi fi is what I'm after.  I did find the driver I needed
after enabling the WLAN80211 and EXPERIMENTAL options. The device discovery
appears to work, and with wireless tools I can iwconfig and see my
interface.

QUESTION: when I ifoncfig wlan0 up it results in an attempt to load a
firmwmare file as follows. as you can see, it fails. What are these firmware
files? I can't find it in my build output. How do I build it or where do I
get it? Where would I put it on my target?



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

  

I did search for answers to these questions and tried to stick an rt73.bin
of unknown origin (to me anyway) in /lib/firmware but I got the same error.

-sh-2.05b# ifconfig wlan0 up
[ 2212.027071] phy1 - rt2x00lib_request_firmware: Info - Loading firmware
file 'rt73.bin'.
[ 2272.058793] phy1 - rt2x00lib_request_firmware: Error - Failed to request
Firmware.
SIOCSIFFLAGS: No such file or directory

Thanks again,
Mike



\
Grant Likely wrote:


On Mon, Jan 26, 2009 at 8:39 PM, Mike Timmons mike_timm...@trimble.com
wrote:

  

I'm running 2.6.24 with Freescale's lite5200 as my base. I'm interested
in
this USB adaptor for wireless USB, but my web search does not make me
confident that my effort will yield fruit.

Can anyone direct me to a good source outlining success stories with
wireless USB adaptors? At present I'm mesing with Linksys WUSB54GC and
some
driver source from Ralink, but my cross-compile is not working.



Umm, the WUSB54GC is not a wireless USB adapter.  It is a USB WiFi
adapter.  If you're looking for wireless USB then it is the wrong
device.

If you are looking for a suitable wifi adapter, then that device
should work, but if you can go with a PCI or a miniPCI WiFi adapter
instead then you should get better performance.  The 5200 only has USB
1.1.

I'm having good success with an Atheros miniPCI adapter at the moment
using a 2.6.28 kernel.

g.

  

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev






  


___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


any luck with wireless USB adaptors?

2009-01-26 Thread Mike Timmons
I'm running 2.6.24 with Freescale's lite5200 as my base. I'm interested 
in this USB adaptor for wireless USB, but my web search does not make me 
confident that my effort will yield fruit.


Can anyone direct me to a good source outlining success stories with 
wireless USB adaptors? At present I'm mesing with Linksys WUSB54GC and 
some driver source from Ralink, but my cross-compile is not working.


I'll keep wrestling with it, but please offer some advice if you can.

Thanks!
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: any luck with wireless USB adaptors?

2009-01-26 Thread Mike Timmons
Thanks. Yes, USB  wi fi is what I'm after.  I did find the driver I 
needed after enabling the WLAN80211 and EXPERIMENTAL options. The device 
discovery appears to work, and with wireless tools I can iwconfig and 
see my interface.


QUESTION: when I ifoncfig wlan0 up it results in an attempt to load a 
firmwmare file as follows. as you can see, it fails. What are these 
firmware files? I can't find it in my build output. How do I build it or 
where do I get it? Where would I put it on my target?


I did search for answers to these questions and tried to stick an 
rt73.bin of unknown origin (to me anyway) in /lib/firmware but I got the 
same error.


-sh-2.05b# ifconfig wlan0 up
[ 2212.027071] phy1 - rt2x00lib_request_firmware: Info - Loading 
firmware file 'rt73.bin'.
[ 2272.058793] phy1 - rt2x00lib_request_firmware: Error - Failed to 
request Firmware.

SIOCSIFFLAGS: No such file or directory

Thanks again,
Mike



\
Grant Likely wrote:

On Mon, Jan 26, 2009 at 8:39 PM, Mike Timmons mike_timm...@trimble.com wrote:
  

I'm running 2.6.24 with Freescale's lite5200 as my base. I'm interested in
this USB adaptor for wireless USB, but my web search does not make me
confident that my effort will yield fruit.

Can anyone direct me to a good source outlining success stories with
wireless USB adaptors? At present I'm mesing with Linksys WUSB54GC and some
driver source from Ralink, but my cross-compile is not working.



Umm, the WUSB54GC is not a wireless USB adapter.  It is a USB WiFi
adapter.  If you're looking for wireless USB then it is the wrong
device.

If you are looking for a suitable wifi adapter, then that device
should work, but if you can go with a PCI or a miniPCI WiFi adapter
instead then you should get better performance.  The 5200 only has USB
1.1.

I'm having good success with an Atheros miniPCI adapter at the moment
using a 2.6.28 kernel.

g.
  


___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev