Bs11 config » History » Version 6
Anonymous, 02/19/2016 10:48 PM
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 | 6 | laforge | The described procedure lasts for about a hour and should generate the following output: |
96 | {{{ |
||
97 | ./bs11_config -s bs11-flash/HS011106.SWL software |
||
98 | bs11_config (C) 2009 by Harald Welte and Dieter Spaar |
||
99 | This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY |
||
100 | |||
101 | LMT LOGON: ACK |
||
102 | |||
103 | PHASE: 2 Maintenance MBCCU0: No Load MBCCU1: No Load Abis-link: Down |
||
104 | Mon May 18 20:51:34 2009 <0020> abis_nm.c:1337 Software Load (BTS 0, File "bs11-flash/HS011106.SWL") |
||
105 | Software Load Initiate ACK |
||
106 | Software Download Progress: 88% |
||
107 | Software Download Progress: 100% |
||
108 | Mon May 18 20:51:37 2009 <0020> abis_nm.c:1261 Software Load End (BTS 0) |
||
109 | Mon May 18 20:51:37 2009 <0020> abis_nm.c:1337 Software Load (BTS 0, File "bs11-flash/VS011106.VAM") |
||
110 | Mon May 18 20:51:37 2009 <0020> abis_nm.c:1323 unexpected NM MT 0x08 in state 3 -> 1 |
||
111 | ERROR in main loop: Success |
||
112 | Software Load Initiate ACK |
||
113 | Software Download Progress: 100% |
||
114 | Mon May 18 20:51:38 2009 <0020> abis_nm.c:1261 Software Load End (BTS 0) |
||
115 | Mon May 18 20:51:38 2009 <0020> abis_nm.c:1337 Software Load (BTS 0, File "bs11-flash/BTSBMC48.SWI") |
||
116 | Mon May 18 20:51:38 2009 <0020> abis_nm.c:1323 unexpected NM MT 0x08 in state 3 -> 1 |
||
117 | ERROR in main loop: Success |
||
118 | PHASE: 2 Maintenance MBCCU0: No Load MBCCU1: No Load Abis-link: Down |
||
119 | Software Load Initiate ACK |
||
120 | Software Download Progress: 1% |
||
121 | --- cut --- |
||
122 | Software Download Progress: 100% |
||
123 | Mon May 18 21:04:05 2009 <0020> abis_nm.c:1261 Software Load End (BTS 0) |
||
124 | Mon May 18 21:04:05 2009 <0020> abis_nm.c:1337 Software Load (BTS 0, File "bs11-flash/BTSCAC11.SWI") |
||
125 | Mon May 18 21:04:05 2009 <0020> abis_nm.c:1323 unexpected NM MT 0x08 in state 3 -> 1 |
||
126 | ERROR in main loop: Success |
||
127 | Software Load Initiate ACK |
||
128 | Software Download Progress: 1% |
||
129 | --- cut --- |
||
130 | Software Download Progress: 100% |
||
131 | Mon May 18 21:10:03 2009 <0020> abis_nm.c:1261 Software Load End (BTS 0) |
||
132 | Mon May 18 21:10:03 2009 <0020> abis_nm.c:1337 Software Load (BTS 0, File "bs11-flash/BTSDRX22.SWI") |
||
133 | Mon May 18 21:10:03 2009 <0020> abis_nm.c:1323 unexpected NM MT 0x08 in state 3 -> 1 |
||
134 | ERROR in main loop: Success |
||
135 | Software Load Initiate ACK |
||
136 | Software Download Progress: 1% |
||
137 | --- cut --- |
||
138 | Software Download Progress: 100% |
||
139 | Mon May 18 21:20:31 2009 <0020> abis_nm.c:1261 Software Load End (BTS 0) |
||
140 | Mon May 18 21:20:31 2009 <0020> abis_nm.c:1337 Software Load (BTS 0, File "bs11-flash/BTSBBX12.SWI") |
||
141 | Mon May 18 21:20:31 2009 <0020> abis_nm.c:1323 unexpected NM MT 0x08 in state 3 -> 1 |
||
142 | ERROR in main loop: Success |
||
143 | Software Load Initiate ACK |
||
144 | Software Download Progress: 1% |
||
145 | --- cut --- |
||
146 | Software Download Progress: 100% |
||
147 | Mon May 18 21:26:23 2009 <0020> abis_nm.c:1261 Software Load End (BTS 0) |
||
148 | Mon May 18 21:26:23 2009 <0020> abis_nm.c:1337 Software Load (BTS 0, File "bs11-flash/BTSARC16.SWI") |
||
149 | Mon May 18 21:26:23 2009 <0020> abis_nm.c:1323 unexpected NM MT 0x08 in state 3 -> 1 |
||
150 | ERROR in main loop: Success |
||
151 | Software Load Initiate ACK |
||
152 | Software Download Progress: 1% |
||
153 | --- cut --- |
||
154 | Software Download Progress: 100% |
||
155 | Mon May 18 21:32:53 2009 <0020> abis_nm.c:1261 Software Load End (BTS 0) |
||
156 | Mon May 18 21:32:53 2009 <0020> abis_nm.c:1337 Software Load (BTS 0, File "bs11-flash/BTSLIC10.SWI") |
||
157 | Mon May 18 21:32:53 2009 <0020> abis_nm.c:1323 unexpected NM MT 0x08 in state 3 -> 1 |
||
158 | ERROR in main loop: Success |
||
159 | Software Load Initiate ACK |
||
160 | Software Download Progress: 1% |
||
161 | --- cut --- |
||
162 | oftware Download Progress: 100% |
||
163 | Mon May 18 21:35:10 2009 <0020> abis_nm.c:1261 Software Load End (BTS 0) |
||
164 | Mon May 18 21:35:10 2009 <0020> abis_nm.c:1386 Activating Software (BTS 0, File "bs11-flash/HS011106.SWL") |
||
165 | Mon May 18 21:35:10 2009 <0020> abis_nm.c:1323 unexpected NM MT 0x08 in state 3 -> 4 |
||
166 | ERROR in main loop: Success |
||
167 | Mon May 18 21:35:11 2009 <0020> abis_nm.c:1292 Activate Software DONE! |
||
168 | PHASE: 1 Warm Up MBCCU0: No Load MBCCU1: No Load Abis-link: Down |
||
169 | LMT LOGON: ACK |
||
170 | |||
171 | LMT LOGON: ACK |
||
172 | |||
173 | PHASE: 1 Warm Up MBCCU0: No Load MBCCU1: No Load Abis-link: Down |
||
174 | PHASE: 1 Warm Up MBCCU0: No Load MBCCU1: No Load Abis-link: Down |
||
175 | PHASE: 1 Warm Up Abis-link: Down |
||
176 | --- cut --- |
||
177 | PHASE: 1 Load SMU Intended Abis-link: Down |
||
178 | --- cut --- |
||
179 | PHASE: 2 Load MBCCU MBCCU0: No Load MBCCU1: No Load Abis-link: Down |
||
180 | PHASE: 2 Load MBCCU MBCCU0: Load BTSCAC MBCCU1: No Load Abis-link: Down |
||
181 | PHASE: 2 Load MBCCU MBCCU0: Load BTSDRX MBCCU1: No Load Abis-link: Down |
||
182 | PHASE: 2 Load MBCCU MBCCU0: Load BTSBBX MBCCU1: No Load Abis-link: Down |
||
183 | PHASE: 2 Load MBCCU MBCCU0: Load BTSARC MBCCU1: No Load Abis-link: Down |
||
184 | PHASE: 2 Load MBCCU MBCCU0: Load MBCCU1: No Load Abis-link: Down |
||
185 | PHASE: 2 Warm Up MBCCU0: Load MBCCU1: No Load Abis-link: Down |
||
186 | PHASE: 3 Normal MBCCU0: Load MBCCU1: No Load Abis-link: Restoring |
||
187 | }}} |
||
188 | |||
189 | 3 | laforge | '''NOTE: OpenBSC is not providing any Firmware images for the BS-11''' |
190 | 2 | laforge | |
191 | === Observing BS-11 boot process === |
||
192 | |||
193 | This is the output of bs11_config while observing the boot process. You will see every line |
||
194 | many times, as the status is refreshed every five seconds. |
||
195 | |||
196 | {{{ |
||
197 | $./bs11_config -p /dev/ttyUSB0 |
||
198 | bs11_config (C) 2009 by Harald Welte and Dieter Spaar |
||
199 | This is FREE SOFTWARE with ABSOLUTELY NO WARRANTY |
||
200 | |||
201 | LMT LOGON: ACK |
||
202 | T-Link: Down Abis-link: Down MBCCU0: No Load MBCCU1: No Load PHASE: 1 SUBPHASE: Warm Up... |
||
203 | T-Link: Down Abis-link: Down MBCCU0: No Load MBCCU1: No Load PHASE: 1 SUBPHASE: Load SMU Intended... |
||
204 | T-Link: Down Abis-link: Down MBCCU0: No Load MBCCU1: No Load PHASE: 2 SUBPHASE: Load MBCCU... |
||
205 | T-Link: Down Abis-link: Down MBCCU0: No Load MBCCU1: Load BTSCAC PHASE: 2 SUBPHASE: Load MBCCU... |
||
206 | T-Link: Down Abis-link: Down MBCCU0: Load BTSCAC MBCCU1: Load BTSCAC PHASE: 2 SUBPHASE: Load MBCCU... |
||
207 | T-Link: Down Abis-link: Down MBCCU0: Load BTSCAC MBCCU1: Load BTSDRX PHASE: 2 SUBPHASE: Load MBCCU... |
||
208 | T-Link: Down Abis-link: Down MBCCU0: Load BTSDRX MBCCU1: Load BTSDRX PHASE: 2 SUBPHASE: Load MBCCU... |
||
209 | T-Link: Down Abis-link: Down MBCCU0: Load BTSDRX MBCCU1: Load BTSBBX PHASE: 2 SUBPHASE: Load MBCCU... |
||
210 | T-Link: Down Abis-link: Down MBCCU0: Load BTSBBX MBCCU1: Load BTSBBX PHASE: 2 SUBPHASE: Load MBCCU... |
||
211 | T-Link: Down Abis-link: Down MBCCU0: Load BTSBBX MBCCU1: Load BTSARC PHASE: 2 SUBPHASE: Load MBCCU... |
||
212 | T-Link: Down Abis-link: Down MBCCU0: Load BTSARC MBCCU1: Load BTSARC PHASE: 2 SUBPHASE: Load MBCCU... |
||
213 | T-Link: Down Abis-link: Down MBCCU0: Load BTSARC MBCCU1: Load PHASE: 2 SUBPHASE: Load MBCCU... |
||
214 | T-Link: Down Abis-link: Down MBCCU0: Load MBCCU1: Load PHASE: 2 SUBPHASE: Load MBCCU... |
||
215 | T-Link: Down Abis-link: Restoring MBCCU0: Load MBCCU1: Load PHASE: 3 SUBPHASE: Normal... |
||
216 | T-Link: Down Abis-link: Up MBCCU0: Load MBCCU1: Load PHASE: 3 SUBPHASE: Normal... |
||
217 | }}} |