Subject: prism2_srec bugs

Jouni Malinen jkmaline at cc.hut.fi
Mon Aug 25 22:04:42 EDT 2003


On Mon, Aug 25, 2003 at 11:16:21PM +0200, Wim Osterholt wrote:

> I'll presumably be the only person in the world that likes to preserve the
> cards contents before trying to upgrade it beyond repair. :-)

Assuming you have a mechanism of returning the said backup, that might
be useful ;-).

> Usage: prism2_srec [-vvrgfd] <interface> <srec file name> [srec file name]
>   -d   dump SREC image into prism2_srec.dump

SREC = the upgrade file, not the flash contents..

> Confusion strikes when I read technospeak like 'downloading' where there's
> clearly ment 'uploading', but how wrong can I get?

Well, it is downloading from the Prism2 card point of view ;-).

> Running 'prism2_srec -d wlan0' does not give me the desired file
> 'prism2_srec.dump'.

..

> I just downloaded the CVS version, but these bugs are still there.

This is not a bug, it is a feature. '-d' option dumps the firmware
upgrade data to a file (instead of writing it to Prism2 RAM/flash). In
other words, you do need to give upgrade image name on the command line.

> Could you fix prism2_srec somehow, please.

If it ain't broken, there's nothing to fix ;-). Feel free to file a
feature request for adding a flash image dump to the program.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list