RE: Host AP mode with STA f/w v1.4.x


From: Jim Thompson (jim_at_musenki.com)
Date: 2002-07-25 21:53:05 UTC


you can't load the primary to RAM.

nor would you want to.

Robert Botha writes:
> Any way to get the Primary Firmware uploaded into RAM ?
> Secondary works fine, but Primary give me this error:
>
> ---
>
> #./prism2_srec wlan0 AK010100.HEX
> srec summary for AK010100.HEX
> Component: 0x0015 1.1.0 (primary firmware)
> Supported platforms:
> 0x800c 1.0.0, 0x8013 1.0.0, 0x8017 1.0.0, 0x801b 1.0.0, 0x8022 1.0.0
> Separate S3 data areas:
> addr 0x007E0000..0x007E0935 (len 2358)
> addr 0x007E0A00..0x007E131F (len 2336)
> addr 0x007E17FE..0x007E17FF (len 2)
> Total data length: 4696 bytes
> Start address 0x003f0000
>
> Wireless LAN card information:
> Components:
> NICID: 0x8013 v1.0.0
> PRIID: 0x0015 v1.0.7
> STAID: 0x001f v1.3.5
>
> Verifying update compatibility and combining data:
> 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
> PDR 0x0005 not found from wlan card PDA. Using default data.
> len=2: 00 01
> PDR 0x0408 not found from wlan card PDA. Using default data.
> len=2: 64 00
> Plug record length mismatch (PDR=0x0001): 12 != 16
> Incompatible updata data.
>
> ---
>
>
> Thanx,
> Robert
>
> -----Original Message-----
> From: Jouni Malinen [mailto:jkmaline_at_cc.hut.fi]
> Sent: 24 July 2002 23:55
> To: hostap_at_lists.ssh.com
> Subject: Re: Host AP mode with STA f/w v1.4.x
>
>
> On Wed, Jul 24, 2002 at 07:35:36PM +0300, Jouni Malinen wrote:
>
> > While testing this, I also noticed that I have managed to break download
> > support in the latest CVS version.. ;-) Anyway, I'm using a semi-fixed
> > version in testing and will commit this to CVS after cleaning it up a
> > bit.
>
> This is now fixed in CVS.
>
> If you would like to test RAM downloadable secondary firmware, here are
> some example commands and dmesg output for this:
>
> # compile kernel with download support (currently only for RAM download)
> make pccard EXTRA_CFLAGS="-DPRISM2_DOWNLOAD_SUPPORT"
> sudo make install_pccard
>
> # initializing card normally with flash versions
> NIC: id=0x800c v1.0.0
> PRI: id=0x15 v1.1.0
> STA: id=0x1f v1.4.2
>
> # just show firmware image info
> utils/prism2_srec wlan0 RF010409.HEX
> # this should tell which component is in question (station firmware
> # v1.4.9) and which platforms (NICID) are supported. After showing
> # firmware image info, the program compares requirements with the
> # initialized card. If everything is OK, the output should end in "OK.".
>
> # load the firmware image into card RAM and start using new version
> utils/prism2_srec -r wlan0 RF010409.HEX
> # after "OK.", the download starts "Downloading to volatile memory
> # (RAM)."
>
> # dmesg output shows download command and the memory areas. It then
> # initializes the card again, but stops initialization early and starts
> # writing image to card RAM ("Writing # bytes at 0x#"). After all data
> # has been initialized, the card is re-initialized again, but this time
> # with the downloaded image:
> NIC: id=0x800c v1.0.0
> PRI: id=0x15 v1.1.0
> STA: id=0x1f v1.4.9
>
>
> Version 1.4.2 did not work in Host AP mode, but the same card works fine
> after this RAM download.
>
> One thing to note about this is that the image loaded to RAM will
> disappear in next reset (whether it is card removal or recovery attempt
> of some error state) and prism2_srec needs to be re-run to update the
> image again.
>
> --
> Jouni Malinen PGP id EFC895FA
>
>
>
>
>

-- 
"Speed, it seems to me, provides the one genuinely modern pleasure."
			-- Aldous Huxley (1894 - 1963)


This archive was generated by hypermail 2.1.4.