2010-10-18 06:32:02     Trying to get Marvell SDIO sd8686 wifi to work

Document created by Aaronwu Employee on Aug 23, 2013
Version 1Show Document
  • View in full screen mode

2010-10-18 06:32:02     Trying to get Marvell SDIO sd8686 wifi to work

Eric Toh (SINGAPORE)

Message: 94672   

 

Hi,

 

I m following the wifi-over-sdio guide from this link   docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:wifi_over_sdio. However, I still can't get the wifi to work. Is there any debugging message that i can turn on to find out what is actually going wrong? I currently do not know whether is it the firmware i got for SD8686 is wrong, or maybe due to some other thing. Please help, thanks.

 

Regards,

 

Eric

QuoteReplyEditDelete

 

 

2010-10-18 06:34:57     Re: Trying to get Marvell SDIO sd8686 wifi to work

Eric Toh (SINGAPORE)

Message: 94673   

 

Just to add-on something, the processor that I m using is bf518f. Thanks

 

Regards,

 

Eric

QuoteReplyEditDelete

 

 

2010-10-18 14:03:33     Re: Trying to get Marvell SDIO sd8686 wifi to work

Mike Frysinger (UNITED STATES)

Message: 94681   

 

you'd have to pop open the source to see if there was "#define DEBUG" support in it ...

QuoteReplyEditDelete

 

 

2010-10-18 22:48:26     Re: Trying to get Marvell SDIO sd8686 wifi to work

Eric Toh (SINGAPORE)

Message: 94685   

 

Hi,

 

My guess now is that it may got something to do with loading the helper firmware. Currently I got this error, libertas_sdio: probe of mmc0:0001:1 failed with error -2. However, it's kinda weird here also, after I press reset, I wasn't able to get this error anymore, it simply didn't prompt anything. When I do modprobe libertas_sdio helper_name=sd8686_helper.bin fw_name=sd8686.bin, only this message libertas_sdio: Libertas SDIO driver libertas_sdio: Copyright Pierre Ossman

came out. Thus I m suspecting the way I load my helper firmware maybe wrong.

 

I have copied sd8686.bin & sd8686_helper.bin into romfs/lib/firmware/, I have enabled both userspace firmware loading support and mdev support loading of firmwares. Was wondering do I need to do anything else to ensure the helper firmware would be properly loaded? There was a example script of hotplug in this link   docs.blackfin.uclinux.org/doku.php?id=linux-kernel:hotplug#settings which I do not know how to use it. Do I need this hotplug script? How do I use it to load the helper firmware? Thanks.

 

Regards,

 

Eric

QuoteReplyEditDelete

 

 

2010-10-19 00:07:58     Re: Trying to get Marvell SDIO sd8686 wifi to work

Mike Frysinger (UNITED STATES)

Message: 94687   

 

it's an example of how to manage hotplug yourself.  the document already explains how to configure mdev to take care of your firmware loading, and default ADI builds should support that already.

 

ENOENT means the file was not found ...

QuoteReplyEditDelete

 

 

2010-10-19 05:32:54     Re: Trying to get Marvell SDIO sd8686 wifi to work

Eric Toh (SINGAPORE)

Message: 94728   

 

Hi,

 

Yes u r right! The guide has all the things I needed, and I have finally manage to get it up & running. After much troubleshooting, realize it was due to hardware error... Thanks for the help anyway! :))

 

Regards,

 

Eric

Attachments

    Outcomes