Suport to DWL-520 Rev. E1

Rafael Pulchinelli pulchinelli
Sun Jul 25 15:08:21 PDT 2010


OK... Here we go.
 
After the system startup I have this:
 
# lsmod | grep hostap
hostap_pci             44080  0 
hostap                 98060  1 hostap_pci
lib80211                5018  2 hostap_pci,hostap
 
# dmesg | grep hostap
[6.749406] hostap_pci 0000:01:0b.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
[6.750316] hostap_pci: Registered netdevice wifi0
[6.770289] hostap_pci: first command failed - assuming card does not have primary firmware
[7.270646] hostap_pci: assuming no Primary image in flash - card initialization not completed
[31.224071] hostap_pci: Initialization failed

# dmesg | grep wifi0
[    6.750316] hostap_pci: Registered netdevice wifi0
[    6.750324] wifi0: Original COR value: 0x0
[    6.754299] wifi0: COR sreset timeout
[    6.770285] wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8601
[    7.270653] wifi0: test Genesis mode with HCR 0x1f
[    7.270659] wifi0: Original COR value: 0x1
[    7.274633] wifi0: COR sreset timeout
[    7.304443] wifi0: test Genesis mode with HCR 0x0f
[    7.304447] wifi0: Original COR value: 0xa1
[    7.308420] wifi0: COR sreset timeout
[    7.367980] wifi0: Intersil Prism2.5 PCI: mem=0xe0100000, irq=23
[    7.375352] wifi0: registered netdevice wlan0
[   29.153023] wifi0: test Genesis mode with HCR 0x0f
[   29.153028] wifi0: Original COR value: 0x0
[   29.157002] wifi0: COR sreset timeout
[   29.226313] wifi0: Interrupt, but dev not configured
[   29.226322] wifi0: Interrupt, but dev not configured
[   29.226329] wifi0: Interrupt, but dev not configured
[   29.226336] wifi0: Interrupt, but dev not configured
[   29.226343] wifi0: Interrupt, but dev not configured
[   29.226350] wifi0: Interrupt, but dev not configured
[   29.226358] wifi0: Interrupt, but dev not configured
[   29.226365] wifi0: Interrupt, but dev not configured
[   29.226372] wifi0: Interrupt, but dev not configured
[   29.226379] wifi0: Interrupt, but dev not configured
[   31.224028] wifi0: hfa384x_cmd: entry still in list? (entry=f5b28f80, type=0, res=0)
[   31.224045] wifi0: hfa384x_cmd: command was not completed (res=0, entry=f5b28f80, type=0, cmd=0x0021, param0=0xfd0b, EVSTAT=8010 INTEN=0010)
[   31.224051] wifi0: interrupt delivery does not seem to work
[   31.224059] wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd0b, len=8)
[   31.224076] wifi0: Initialization(2) after genesis mode download failed

# dmesg | grep wlan0
[    7.375352] wifi0: registered netdevice wlan0
[   22.014938] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
[   22.033800] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
[   22.033844] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
[   22.036570] prism2: wlan0: operating mode changed 3 -> 2
[   22.036578] wlan0: cannot set RID fc00 (len=2) - no PRI f/w
[   22.036829] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
[   45.408038] wlan0: hfa384x_cmd: entry still in list? (entry=f671a7c0, type=0, res=0)
[   45.408050] wlan0: hfa384x_cmd: command was not completed (res=0, entry=f671a7c0, type=0, cmd=0x0021, param0=0xfdc6, EVSTAT=8010 INTEN=0000)
[   45.408054] wlan0: interrupt delivery does not seem to work
[   45.408060] wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12)

Using the prism2_srec i have this:
 
Loading booth fw with gps:
 
# prism2_srec -gps wlan0 /lib/firmware/pm010102.hex /lib/firmware/rf010804.hex 
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)
srec summary for rf010804.hex
Included file name: rf010804.hex
Component: 0x001f 1.8.4 (station firmware)

Verifying update compatibility and combining data:
Plugging PDR 0400 (NIC configuration): ram16=1 pci=1 (07 00)
PRI: old iface 0:0-0 new iface 2:4-4
Allowing S3 overlap due to CRC-16 signature at 0x007e17fe (was: ffff)
OK.
Downloading to volatile memory (RAM).
ioctl[PRISM2_IOCTL_DOWNLOAD]: Input/output error
Download failed!
 
Without "s":
 
# prism2_srec -gp wlan0 /lib/firmware/pm010102.hex /lib/firmware/rf010804.hex 
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)
srec summary for rf010804.hex
Included file name: rf010804.hex
Component: 0x001f 1.8.4 (station firmware)
ioctl[PRISM2_IOCTL_HOSTAPD]: Inappropriate ioctl for device
Missing wlan component info
Could not read wlan RIDs

 
Dmesg: # dmesg | grep wifi0
[    6.750316] hostap_pci: Registered netdevice wifi0
[    6.750324] wifi0: Original COR value: 0x0
[    6.754299] wifi0: COR sreset timeout
[    6.770285] wifi0: __hfa384x_cmd_no_wait(6) - timeout - reg=0x8601
[    7.270653] wifi0: test Genesis mode with HCR 0x1f
[    7.270659] wifi0: Original COR value: 0x1
[    7.274633] wifi0: COR sreset timeout
[    7.304443] wifi0: test Genesis mode with HCR 0x0f
[    7.304447] wifi0: Original COR value: 0xa1
[    7.308420] wifi0: COR sreset timeout
[    7.367980] wifi0: Intersil Prism2.5 PCI: mem=0xe0100000, irq=23
[    7.375352] wifi0: registered netdevice wlan0
[   29.153023] wifi0: test Genesis mode with HCR 0x0f
[   29.153028] wifi0: Original COR value: 0x0
[   29.157002] wifi0: COR sreset timeout
[   29.226313] wifi0: Interrupt, but dev not configured
[   29.226322] wifi0: Interrupt, but dev not configured
[   29.226329] wifi0: Interrupt, but dev not configured
[   29.226336] wifi0: Interrupt, but dev not configured
[   29.226343] wifi0: Interrupt, but dev not configured
[   29.226350] wifi0: Interrupt, but dev not configured
[   29.226358] wifi0: Interrupt, but dev not configured
[   29.226365] wifi0: Interrupt, but dev not configured
[   29.226372] wifi0: Interrupt, but dev not configured
[   29.226379] wifi0: Interrupt, but dev not configured
[   31.224028] wifi0: hfa384x_cmd: entry still in list? (entry=f5b28f80, type=0, res=0)
[   31.224045] wifi0: hfa384x_cmd: command was not completed (res=0, entry=f5b28f80, type=0, cmd=0x0021, param0=0xfd0b, EVSTAT=8010 INTEN=0010)
[   31.224051] wifi0: interrupt delivery does not seem to work
[   31.224059] wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd0b, len=8)
[   31.224076] wifi0: Initialization(2) after genesis mode download failed
[ 1539.941571] wifi0: test Genesis mode with HCR 0x0f
[ 1539.941578] wifi0: Original COR value: 0x0
[ 1540.558248] wifi0: Initialization after genesis mode download failed
[ 1578.614660] wifi0: cannot get RID fd0b (len=1008) - no PRI f/w
[ 1671.066731] wifi0: cannot get RID fd0b (len=1008) - no PRI f/w
 
# dmesg | grep wlan0
[    7.375352] wifi0: registered netdevice wlan0
[   22.014938] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
[   22.033800] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
[   22.033844] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
[   22.036570] prism2: wlan0: operating mode changed 3 -> 2
[   22.036578] wlan0: cannot set RID fc00 (len=2) - no PRI f/w
[   22.036829] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w
[   45.408038] wlan0: hfa384x_cmd: entry still in list? (entry=f671a7c0, type=0, res=0)
[   45.408050] wlan0: hfa384x_cmd: command was not completed (res=0, entry=f671a7c0, type=0, cmd=0x0021, param0=0xfdc6, EVSTAT=8010 INTEN=0000)
[   45.408054] wlan0: interrupt delivery does not seem to work
[   45.408060] wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12)
 
 
with -rp and -O 
# prism2_srec -rp -O /proc/net/hostap/wlan0/pda wlan0 /lib/firmware/pm010102.hex /lib/firmware/rf010804.hex 
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)
srec summary for rf010804.hex
Included file name: rf010804.hex
Component: 0x001f 1.8.4 (station firmware)
ioctl[PRISM2_IOCTL_HOSTAPD]: Inappropriate ioctl for device
Missing wlan component info
Could not read wlan RIDs

I do a test with -v in gp
# prism2_srec -gpv -O /proc/net/hostap/wlan0/pda wlan0 /lib/firmware/pm010102.hex /lib/firmware/rf010804.hex 
Special S3 firmware info record - name 'PM010102.HEX'
Start address 0x003f0000
S3 CRC-16 generation record: start=0x007E17FE len=2 prog=0
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)
Supported platforms:
  0x800e 1.0.0,  0x8015 1.0.0,  0x8019 1.0.0,  0x801d 1.0.0,  0x8024 1.0.0
Interface compatibility information:
  role=Supplier variant=2 range=4-4 iface=Primary Firmware-Driver (3)
  role=Actor    variant=2 range=1-1 iface=Controller-Firmware (2)
Separate S3 data areas:
S3 area count: 3
  addr=0x007E0000..0x007E092F (len=2352)
  addr=0x007E0A00..0x007E13D7 (len=2520)
  addr=0x007E17FE..0x007E17FF (len=2)
Total data length: 4874
Start address 0x003f0000
S3 CRC-16 generation record: start=0x007E1800 len=65536 prog=1
Special S3 firmware info record - name 'rf010804.hex'
Start address 0x003f0c01
srec summary for rf010804.hex
Included file name: rf010804.hex
Component: 0x001f 1.8.4 (station firmware)
Supported platforms:
  0x800a 1.0.0,  0x800b 1.0.0,  0x800c 1.0.0,  0x800d 1.0.0,  0x8012 1.0.0
  0x8013 1.0.0,  0x8014 1.0.0,  0x8016 1.0.0,  0x8017 1.0.0,  0x8018 1.0.0
  0x801a 1.0.0,  0x801b 1.0.0,  0x801c 1.0.0,  0x8021 1.0.0,  0x8022 1.0.0
  0x8023 1.0.0,  0x800a 1.0.0,  0x800e 1.0.0,  0x8015 1.0.0,  0x8019 1.0.0
  0x801d 1.0.0,  0x8024 1.0.0
Interface compatibility information:
  role=Supplier variant=4 range=1-15 iface=Station Firmware-Driver (4)
  role=Actor    variant=1 range=1-1 iface=Modem-Firmware (1)
  role=Actor    variant=2 range=1-1 iface=Controller-Firmware (2)
  role=Actor    variant=1 range=4-4 iface=Primary Firmware-Driver (3)
Separate S3 data areas:
S3 area count: 3
  addr=0x007E1800..0x007EEAAB (len=53932)
  addr=0x007F0800..0x007F17FF (len=4096)
  addr=0x007FE000..0x007FECD1 (len=3282)
Total data length: 61310
Start address 0x003f0c01
ioctl[PRISM2_IOCTL_HOSTAPD]: Inappropriate ioctl for device
Missing wlan component info
Could not read wlan RIDs
 
Tried with other fw versions to (in slack was pm010100.hex and rf010800/3.hex)
 
Any idea? 		 	   		  



More information about the Hostap mailing list