Where to get the last station firmware?
proski at gnu.org
Mon Nov 11 19:38:59 EST 2002
> You should now have several files. You need PRISMNDS.sys. Remove the
> binary parts at the beginning and the end of the file in an editor (we
> really should fix split_combined_hex to make it unnecessary).
This patch should do it. Note that it kills the first S4 record that
doesn't begin after a control character, but it's ignored anyway. I know
how to preserve it, but I don't think it's worth the trouble.
The check in grep is so strict to remove all random data from the binary.
A positive side effect of using `tr' is that the output has UNIX newlines
even in the input uses DOS newlines.
This patch, of course, interferes with extracting the binaries, but I
don't think that split_combined_hex was designed to extract them.
Unrecognized parts still will be names image-*, but they will be just
I believe this patch should be applied to CVS.
@@ -14,7 +14,9 @@
TMPDIR=`mktemp -d srec_temp.XXXXXX` || exit 1
-cat > $IN
+# Only leave S-Records, remove binary junk
+tr '[:cntrl:]' '\n' | grep -aE '^S[1-9][0-2][0-9A-F]+$' > $IN
while [ -s $IN ]; do
More information about the HostAP