libertas_cs: helper firmware doesn't answer

Eugene Kozlov eugene.kozlov at promwad.com
Thu Sep 13 08:27:50 EDT 2007


Hello
We are developing custom board on ep9307a soc with Marvell 88W8385 wifi
module.
I modify pcmcia driver for compatibility with cf interface and get cf
socket registered and can read CIS information.
I try to use libertas_cs 2.6.23-rc4 driver with 2.6.22 kernel and got a
problem with downloading firmware:
> libertas_cs: helper firmware doesn't answer
After helper firmware downloaded it read value 4 from register 20 but
can't read  value 10 from 28 register.

I add printf in if_cs_poll_while_fw_download function.
Attach here libertas debug libertas_debug.log and log from reading cis
libertas_cis.log information.

Thank for any advice. Marvell chip is closed so i actually can't find
any information about internal registers.

Also some logs from sysfs:

/ # cat /sys/class/pcmcia_socket/pcmcia_socket0/cis
!!!!!!!!! i attach log in a file libertas_cis.log
/ # cat /sys/class/pcmcia_socket/pcmcia_socket0/card_vpp
0.0V
/ # cat /sys/class/pcmcia_socket/pcmcia_socket0/card_vcc
3.3V
/ # cat /sys/class/pcmcia_socket/pcmcia_socket0/card_type
16-bit
/ # cat /sys/class/pcmcia_socket/pcmcia_socket0/card_irq_mask
0x0000
/ # cat /sys/class/pcmcia_socket/pcmcia_socket0/card_voltage
3.3V
/ # cat /sys/class/pcmcia_socket/pcmcia_socket0/card_insert
cat: /sys/class/pcmcia_socket/pcmcia_socket0/card_insert: Permission denied


/ # cat /sys/bus/pcmcia/devices/0.0/card_id
0x8103
/ # cat /sys/bus/pcmcia/devices/0.0/func_id
0x06
/ # cat /sys/bus/pcmcia/devices/0.0/manf_id
0x02df
/ # cat /sys/bus/pcmcia/devices/0.0/modalias
pcmcia:m02DFc8103f06fn00pfn00paE86284BApbBA0E51FBpcDC0D394Epd00000000
/ # cat /sys/bus/pcmcia/devices/0.0/prod_id1
Marvell
/ # cat /sys/bus/pcmcia/devices/0.0/prod_id2
802.11 CF
/ # cat /sys/bus/pcmcia/devices/0.0/prod_id3
ID: 04
/ # cat /sys/bus/pcmcia/devices/0.0/prod_id4
cat: Read Error: No such device

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libertas_cis.log
Type: text/x-log
Size: 1699 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/libertas-dev/attachments/20070913/5273ed92/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libertas_debug.log
Type: text/x-log
Size: 7217 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/libertas-dev/attachments/20070913/5273ed92/attachment-0001.bin 


More information about the libertas-dev mailing list