Marvell W8686 chipset Blackfin problem
Jonathan dumaresq
jdumaresq at cimeq.qc.ca
Fri Jul 16 11:35:55 EDT 2010
Hi all,
I have something semi-working. I have change the SPI_MODE3 to SPI_MOD0 and
now I get the module connect to the libertas_spi.
Now I have some problem loading firmware.
I have done some operation on the linux kernel and busybox.
On the kernel config
Device Drivers --->
Generic Driver Options --->
<*> Userspace firmware loading support
Busybox config
BusyBox --->
Linux System Utilities --->
[*] mdev
[*] Support loading of firmwares
When I attemp th eload the module, I got this output:
root:/> modprobe libertas_spi
libertas_spi: Libertas SPI driver
libertas_spi spi0.18: firmware: requesting libertas/gspi8686_hlp.bin
libertas_spi spi0.18: firmware: requesting libertas/gspi8686.bin
libertas: spu_wait_for_u16: timeout with val=00, target_mask=00, target=00
libertas: if_spi_prog_main_firmware: timed out waiting for initial scratch
reg = 0
libertas: failed to load firmware (err=-110)
libertas_spi: probe of spi0.18 failed with error -110
I have no idea why the helper get loaded but not the firmware. Do I have to
do something particular to have the firmware loaded ?
Jonathan
libertas-dev-bounces at lists.infradead.org wrote:
> On 13/07/2010 21:38, Jonathan dumaresq wrote:
>> Hi all,
>>
>> I have been working on a XG-182M from zcomax. I try to make this work
>> on my BF537-stamp board. I have to use the SPI interface since on
>> that board we don't have sdio. SO I have ordered the XG-182MSPI to
>> work with.
>>
>> I have done the wiring like that
>>
>> BF537 88W8686 connection
>> PF6 (GPIO interrupt) -> SPI_SINT (pin 46) PF10 SPI_CS -> SPI_SCS
>> (pin 44) PF11 (SPI_MOSI) -> SPI_SDI (pin 43)
>> PF12 (SPI_MISO) -> SPI_SDO (pin 45)
>> PF13 (SPI_CLK) -> SPI_CLK (pin 42)
>>
>> This is how I have wired my board to my dev kit.
>
> [snip snip]
>
>> Is there something wrong with my setup ?
>
> I don't know about the XG-182MSPI ... does it have pullups? I'd kind
> of guess not. You'll want pullups on all the SPI lines... especially
> since you're also using SPI_MODE3. 10Ks to 3v3 should do nicely.
>
> Your software configuration looks prettymuch exactly like what I'm
> using here very successfully on a custom BF527 board.
>
> Ian.
>
>
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev
More information about the libertas-dev
mailing list