summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/orinoco/spectrum-fw/get_symbol_fw
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/orinoco/spectrum-fw/get_symbol_fw')
-rwxr-xr-xmeta/recipes-bsp/orinoco/spectrum-fw/get_symbol_fw29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-bsp/orinoco/spectrum-fw/get_symbol_fw b/meta/recipes-bsp/orinoco/spectrum-fw/get_symbol_fw
new file mode 100755
index 0000000000..80420b01a8
--- /dev/null
+++ b/meta/recipes-bsp/orinoco/spectrum-fw/get_symbol_fw
@@ -0,0 +1,29 @@
1#!/bin/sh
2
3# Get firmware for Symbol Spectrum24 Trilogy.
4# Both the header file and the binary firmware files are produced.
5
6# Copyright (C) 2004 Pavel Roskin <proski@gnu.org>
7
8# This script is Free Software, and it can be copied, distributed and
9# modified as defined in the GNU General Public License. A copy of
10# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
11
12# Usage: get_symbol_fw
13# Output: spectrum_fw.h symbol_sp24t_prim_fw symbol_sp24t_sec_fw
14# Needed tools: curl (or wget), unzip, perl.
15
16set -e
17
18DL_INT1='S24DRVR392B67-01.exe'
19DL_INT2='Driver Only Installer/NetWLan5.sys'
20DRIVER1=symbol1.drv
21DRIVER2=symbol2.drv
22
23unzip -p $DL_INT1 "$DL_INT2" >$DRIVER2
24
25perl parse_symbol_fw $DRIVER2 spectrum_fw.h symbol_sp24t_prim_fw \
26 symbol_sp24t_sec_fw
27
28rm -f $DRIVER1 $DRIVER2
29