Bs11 config » History » Version 5
laforge, 02/19/2016 10:48 PM
add information about new commands
1 | 1 | laforge | bs11_config is a small commandline program that can be used to configure the [wiki:BS-11] BTS using its RS232 link. |
---|---|---|---|
2 | |||
3 | It can perform a subset of the functions that are typically performed using the Siemens LMT (Local Maintenance Terminal) software, such as |
||
4 | 5 | laforge | * querying some essential configuration values |
5 | * creating and deleting TRX1 objects |
||
6 | 1 | laforge | * download of SAFETY LOAD software |
7 | * download of BTS software |
||
8 | * creating an initial configuration (such as creating BBSIG,CCLK,PA,... objects) |
||
9 | * setting the Tx output power of the RF amplifier |
||
10 | |||
11 | == Reference == |
||
12 | 5 | laforge | |
13 | === Querying the BS-11 === |
||
14 | |||
15 | {{{ |
||
16 | $ ./bs11_config -p /dev/ttyUSB0 query |
||
17 | bs11_config (C) 2009 by Harald Welte and Dieter Spaar |
||
18 | This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY |
||
19 | |||
20 | LMT LOGON: ACK |
||
21 | |||
22 | PHASE: 3 Normal MBCCU0: Load MBCCU1: Load Abis-link: Restoring |
||
23 | |||
24 | BS11 ATTRIBUTES: |
||
25 | BS-11 ESN PCB Serial Number: 001107 |
||
26 | BS-11 ESN Hardware Code Number: 135-2044/03.07 |
||
27 | BS-11 ESN Firmware Code Number: 135-2044/03.07 |
||
28 | |||
29 | SITE MANAGER ATTRIBUTES: |
||
30 | E1 Channel: Port=0 Timeslot=1 (Full Slot) |
||
31 | TEI: 25 |
||
32 | |||
33 | BS11 Power Amplifier 0 ATTRIBUTES: |
||
34 | TRX Power: 30mW (GSM) |
||
35 | |||
36 | BS11 Power Amplifier 1 ATTRIBUTES: |
||
37 | TRX Power: 30mW (GSM) |
||
38 | }}} |
||
39 | |||
40 | === Disconnect === |
||
41 | |||
42 | This puts the BTS out of Normal mode into Maintenance mode and disconnects it from the BSC |
||
43 | |||
44 | {{{ |
||
45 | $ ./bs11_config -p /dev/ttyUSB0 disconnect |
||
46 | bs11_config (C) 2009 by Harald Welte and Dieter Spaar |
||
47 | This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY |
||
48 | |||
49 | LMT LOGON: ACK |
||
50 | |||
51 | PHASE: 3 Normal MBCCU0: Load MBCCU1: Load Abis-link: Restoring |
||
52 | PHASE: 2 Maintenance MBCCU0: Load MBCCU1: Load Abis-link: Down |
||
53 | }}} |
||
54 | |||
55 | === Reconnect === |
||
56 | |||
57 | This puts the BTS out of Maintenance mode into Normal mode and reconnects it to the BSC |
||
58 | |||
59 | {{{ |
||
60 | $ ./bs11_config -p /dev/ttyUSB0 reconnect |
||
61 | bs11_config (C) 2009 by Harald Welte and Dieter Spaar |
||
62 | This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY |
||
63 | |||
64 | LMT LOGON: ACK |
||
65 | |||
66 | PHASE: 2 Maintenance MBCCU0: Load MBCCU1: Load Abis-link: Down |
||
67 | PHASE: 3 Normal MBCCU0: Load MBCCU1: Load Abis-link: Restoring |
||
68 | }}} |
||
69 | 1 | laforge | |
70 | 3 | laforge | === Download SMU Safety Load === |
71 | 1 | laforge | |
72 | 3 | laforge | {{{ |
73 | $ ./bs11_config -p /dev/ttyUSB0 -S /path/to/my/BTSBMC76.SWI |
||
74 | }}} |
||
75 | |||
76 | 4 | laforge | '''NOTE: The OpenBSC/bs11-abis project is not providing any Firmware images for the BS-11, as they are copyrighted material''' |
77 | 3 | laforge | |
78 | === Minimal Configuration === |
||
79 | |||
80 | The minimal configuration is automatically created if the BS-11 enters the ''MINIMAL CONFIG REQUIRED'' state after the SMU safety load is installed. |
||
81 | |||
82 | === Download Software Load === |
||
83 | |||
84 | {{{ |
||
85 | $ ./bs11_config -p /dev/ttyUSB0 -s /path/to/my/HS011106.SWL |
||
86 | }}} |
||
87 | |||
88 | If the BS-11 is not in Maintenance State, it first needs to be detached from the BSC (using -D option) |
||
89 | {{{ |
||
90 | $ ./bs11_config -p /dev/ttyUSB0 -D -s /path/to/my/HS011106.SWL |
||
91 | }}} |
||
92 | |||
93 | If you want to force a download, just add the ''-f'' parameter. |
||
94 | |||
95 | '''NOTE: OpenBSC is not providing any Firmware images for the BS-11''' |
||
96 | 2 | laforge | |
97 | === Observing BS-11 boot process === |
||
98 | |||
99 | This is the output of bs11_config while observing the boot process. You will see every line |
||
100 | many times, as the status is refreshed every five seconds. |
||
101 | |||
102 | {{{ |
||
103 | $./bs11_config -p /dev/ttyUSB0 |
||
104 | bs11_config (C) 2009 by Harald Welte and Dieter Spaar |
||
105 | This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY |
||
106 | |||
107 | LMT LOGON: ACK |
||
108 | T-Link: Down Abis-link: Down MBCCU0: No Load MBCCU1: No Load PHASE: 1 SUBPHASE: Warm Up... |
||
109 | T-Link: Down Abis-link: Down MBCCU0: No Load MBCCU1: No Load PHASE: 1 SUBPHASE: Load SMU Intended... |
||
110 | T-Link: Down Abis-link: Down MBCCU0: No Load MBCCU1: No Load PHASE: 2 SUBPHASE: Load MBCCU... |
||
111 | T-Link: Down Abis-link: Down MBCCU0: No Load MBCCU1: Load BTSCAC PHASE: 2 SUBPHASE: Load MBCCU... |
||
112 | T-Link: Down Abis-link: Down MBCCU0: Load BTSCAC MBCCU1: Load BTSCAC PHASE: 2 SUBPHASE: Load MBCCU... |
||
113 | T-Link: Down Abis-link: Down MBCCU0: Load BTSCAC MBCCU1: Load BTSDRX PHASE: 2 SUBPHASE: Load MBCCU... |
||
114 | T-Link: Down Abis-link: Down MBCCU0: Load BTSDRX MBCCU1: Load BTSDRX PHASE: 2 SUBPHASE: Load MBCCU... |
||
115 | T-Link: Down Abis-link: Down MBCCU0: Load BTSDRX MBCCU1: Load BTSBBX PHASE: 2 SUBPHASE: Load MBCCU... |
||
116 | T-Link: Down Abis-link: Down MBCCU0: Load BTSBBX MBCCU1: Load BTSBBX PHASE: 2 SUBPHASE: Load MBCCU... |
||
117 | T-Link: Down Abis-link: Down MBCCU0: Load BTSBBX MBCCU1: Load BTSARC PHASE: 2 SUBPHASE: Load MBCCU... |
||
118 | T-Link: Down Abis-link: Down MBCCU0: Load BTSARC MBCCU1: Load BTSARC PHASE: 2 SUBPHASE: Load MBCCU... |
||
119 | T-Link: Down Abis-link: Down MBCCU0: Load BTSARC MBCCU1: Load PHASE: 2 SUBPHASE: Load MBCCU... |
||
120 | T-Link: Down Abis-link: Down MBCCU0: Load MBCCU1: Load PHASE: 2 SUBPHASE: Load MBCCU... |
||
121 | T-Link: Down Abis-link: Restoring MBCCU0: Load MBCCU1: Load PHASE: 3 SUBPHASE: Normal... |
||
122 | T-Link: Down Abis-link: Up MBCCU0: Load MBCCU1: Load PHASE: 3 SUBPHASE: Normal... |
||
123 | }}} |