From: Frederic Dumas To: jsun@junsun.net Subject: prism2_srec - success story - 2009-03-24 Date: Tue, 24 Mar 2009 13:40:59 +0100 Cc: j@w1.fi Dear Jun, thanks so much for the tutorial you made available at : After carefully reading your instructions, I was able to successfully upgrade my 802.11b Intersil 'Prism2.5' PCI card, from firmware 1.3.6 (!) to 1.8.2, using prism2_srec. Sure, the card moved from a nearly unuseful piece of harware (especially because of lack of WPA support) into a working one, thanks to Jouni Malinen's software and thanks to your explanations. May I suggest just one improvement on your page ? Please, make obvious to use prism2_srec as root; I failed to do that at the beginning, and got back the following error message: >~/tmp$ prism2_srec wlan0 PK010101.HEX SF010802.HEX > >srec summary for PK010101.HEX >Component: 0x0015 1.1.1 (primary firmware) > >srec summary for SF010802.HEX >Component: 0x001f 1.8.2 (station firmware) > >ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not permitted >Missing wlan component info >Could not read wlan RIDs As flashing new firmware is always stressful, any error message is often more difficult to be solved. It may save your next readers' time to remind they should flash as root. Thank you once again for the time you took to write and update the page. Best regards. Frederic. PS: just as a reference, here is the message return by prism2_srec for the job being done: ~/tmp$ sudo prism2_srec -v -f wlan0 PK010101.HEX SF010802.HEX S3 CRC-16 generation record: start=0x007E17FE len=2 prog=0 Start address 0x00000000 srec summary for PK010101.HEX Component: 0x0015 1.1.1 (primary firmware) Supported platforms: 0x800c 1.0.0, 0x8013 1.0.0, 0x8017 1.0.0, 0x801b 1.0.0, 0x8022 1.0.0 Interface compatibility information: role=Supplier variant=1 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..0x007E0B55 (len=2902) addr=0x007E0C00..0x007E151F (len=2336) addr=0x007E17FE..0x007E17FF (len=2) Total data length: 5240 Start address 0x00000000 S3 CRC-16 generation record: start=0x007E1800 len=65536 prog=1 Start address 0x00000000 srec summary for SF010802.HEX Component: 0x001f 1.8.2 (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 Interface compatibility information: role=Supplier variant=2 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..0x007EEAEF (len=54000) addr=0x007F0800..0x007F17FF (len=4096) addr=0x007FE000..0x007FECD1 (len=3282) Total data length: 61378 Start address 0x00000000 Overriding component id and supplied range data using PDA. Wireless LAN card information: Components: NICID: 0x8013 v1.0.0 PRIID: 0x0015 v1.0.7 STAID: 0x001f v1.3.6 Interface compatibility information: PRI role=Supplier variant=1 range=1-1 iface=Modem-Firmware (1) PRI role=Supplier variant=2 range=1-1 iface=Controller-Firmware (2) PRI role=Supplier variant=1 range=4-4 iface=Primary Firmware-Driver (3) STA role=Supplier variant=1 range=1-9 iface=Station Firmware-Driver (4) PRI role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) STA role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) STA role=Actor variant=1 range=1-1 iface=Modem-Firmware (1) Verifying update compatibility and combining data: Plugging PDR 0xffffffff at 0x007e1510 (len=14) Plugging PDR 0x0003 at 0x007e14b8 (len=12) PDR 0x0003 not found from wlan card PDA. Using default data. len=12: 39 39 53 41 30 31 30 30 30 30 30 30 Plugging PDR 0x0005 at 0x007e1310 (len=2) PDR 0x0005 not found from wlan card PDA. Using default data. len=2: 00 01 Plugging PDR 0x0006 at 0x007e14f0 (len=10) Plugging PDR 0x0007 at 0x007e1504 (len=10) Plugging PDR 0x0008 at 0x007e14c4 (len=8) Plugging PDR 0x0400 at 0x007e1314 (len=2) Plugging PDR 0x0402 at 0x007e131e (len=4) Plugging PDR 0x0403 at 0x007e1316 (len=16) Plugging PDR 0x0404 at 0x007e1326 (len=10) Plugging PDR 0x0408 at 0x007e1312 (len=2) PDR 0x0408 not found from wlan card PDA. Using default data. len=2: 64 00 Plugging PDR 0x0001 at 0x007e14cc (len=16) Plug record length mismatch (PDR=0x0001): 12 != 16 ==> extend from default PRI: old iface 1:4-4 new iface 1:4-4 Plugging PDR 0xffffffff at 0x007ee614 (len=14) Plugging PDR 0x0202 at 0x007f1250 (len=100) Plugging PDR 0x0203 at 0x007f12b4 (len=128) Plugging PDR 0x0204 at 0x007f1434 (len=80) Plugging PDR 0x0405 at 0x007f1484 (len=4) PDR 0x0405 not found from wlan card PDA. Using default data. len=4: 00 00 00 30 Plugging PDR 0x0300 at 0x007f1488 (len=28) Plugging PDR 0x0301 at 0x007f14a4 (len=34) Plugging PDR 0x0101 at 0x007f16b0 (len=6) Plugging PDR 0x0103 at 0x007ee5d6 (len=12) Plugging PDR 0x0104 at 0x007ee70e (len=2) Plugging PDR 0x0105 at 0x007f16bc (len=2) Plugging PDR 0x0105 at 0x007ee744 (len=2) Plugging PDR 0x0105 at 0x007f17bc (len=2) Plugging PDR 0x0107 at 0x007ee5e4 (len=2) Plugging PDR 0x0006 at 0x007ee5b0 (len=10) Plugging PDR 0x0406 at 0x007f1750 (len=2) PDR 0x0406 not found from wlan card PDA. Using default data. len=2: 64 00 Plugging PDR 0x0302 at 0x007f14cc (len=2) PDR 0x0302 not found from wlan card PDA. Using default data. len=2: 12 00 Plugging PDR 0x0303 at 0x007f14ce (len=2) PDR 0x0303 not found from wlan card PDA. Using default data. len=2: ff 1f Plugging PDR 0x0412 at 0x007ee764 (len=6) PDR 0x0412 not found from wlan card PDA. Using default data. len=6: ff ff 02 00 02 00 Plugging PDR 0x0413 at 0x0000118a (len=2) Could not find data position for plugging PDR 0x0413 at 0x0000118a (len=2) PDR 0x0413 is not in wlan card PDA and there is no default data. Ignoring plug record. Generating CRC-16 (start=0x007e1800, len=65536) at 0x007e17fe Allowing S3 overlap due to CRC-16 signature at 0x007e17fe (was: ffff) After srec file merge S3 area count: 5 addr=0x007E0000..0x007E0B55 (len=2902) addr=0x007E0C00..0x007E151F (len=2336) addr=0x007E17FE..0x007EEAEF (len=54002) addr=0x007F0800..0x007F17FF (len=4096) addr=0x007FE000..0x007FECD1 (len=3282) Total data length: 66618 OK. Downloading to non-volatile memory (flash). Note! This can take about 30 seconds. Do _not_ remove card during download. OK. Components after download: NICID: 0x8013 v1.0.0 PRIID: 0x0015 v1.1.1 STAID: 0x001f v1.8.2 -- Frederic Dumas (Krakow) f.dumas@ellis.siteparc.fr