BS11Getting Started » History » Version 3
Anonymous, 02/19/2016 10:47 PM
1 | 1 | laforge | If you have just purchased a new BS-11, this guide will give you some basic instructions on how to proceed. |
---|---|---|---|
2 | |||
3 | == Check Package contents == |
||
4 | |||
5 | Please check the [wiki:BS11_Package_List Packing List] and see if you can find all the items in your two boxes. |
||
6 | If there is any doubt, please contact the openbsc mailing list and ask for help. |
||
7 | |||
8 | == Build a power cable == |
||
9 | |||
10 | Please follow the instructions at [wiki:BS11_Configuration] to manufacture the power cable |
||
11 | |||
12 | == Build E1 cable == |
||
13 | |||
14 | Please follow the instructions at [wiki:BS11_Configuration] to manufacture the E1 cable |
||
15 | from RJ45 to the strange RADIALL twinax connectors |
||
16 | |||
17 | == Configure the BS-11 Jumpers == |
||
18 | |||
19 | If you remove the connector cover (loosen three Philips screws), you will uncover the four E1 connectors, |
||
20 | as well as the RS232 ports. There are also four green jumpers at the side of the connector panel. The |
||
21 | factory default of those connectors is 75Ohms. You need to remove all of the four jumpers to switch to |
||
22 | 120Ohms termination. |
||
23 | |||
24 | == Mount and connect the BS-11 Antenna == |
||
25 | |||
26 | The Antenna needs to be attached to the BS11 main unit by the means of four screws. Screws are included in |
||
27 | a small plastic bag. |
||
28 | |||
29 | Connect the four RF antenna cables to the connectors of the BS-11. Their order is 1:1, i.e. leftmost plug into leftmost socket, etc. |
||
30 | |||
31 | == Test the BS-11 status and configuration == |
||
32 | |||
33 | * connect the power plug to the BS-11 |
||
34 | * connect the RS232 cable to J2 of the BS-11 (see photograph) |
||
35 | * connect the RS232 cable to your PC |
||
36 | * switch on the power switch of the BS-11 (the LED should light up green in 2-3 seconds) |
||
37 | * start the bs11_config program to observe the boot process (see [wiki:bs11_config] for details) |
||
38 | * you should observe the boot process like it is indicated at the [wiki:bs11_config] page |
||
39 | * at the end of the process (10 minutes or so), you should have ''Phase 3 Normal'' and ''MBCCU0 Load'' and ''Abis-Link Restoring'' |
||
40 | * MBCCU1 might be ''Load'' or ''No Load'', depending on whether TRX1 is activated or not |
||
41 | 2 | laforge | {{{ |
42 | PHASE: 3 Normal MBCCU0: Load MBCCU1: No Load Abis-link: Restoring |
||
43 | }}} |
||
44 | 1 | laforge | * Once you are in "Phase 3 Normal", use ''bs11_config query'' to query the configuration |
45 | * OML TEI must be 25 |
||
46 | 2 | laforge | * OML E1 Timeslot must be 1 and the full 64kbps timeslot (Full Slot) |
47 | {{{ |
||
48 | SITE MANAGER ATTRIBUTES: |
||
49 | E1 Channel: Port=0 Timeslot=1 (Full Slot) |
||
50 | TEI: 25 |
||
51 | }}} |
||
52 | 1 | laforge | |
53 | If you see any difference (i.e. not reaching ''Phase 3 Normal'' or no ''MBCCU0 Load'' or a different TEI/Timeslot configuration, please |
||
54 | contact the openbsc@lists.gnumonks.org mailinglist with the full details. |
||
55 | |||
56 | If everything is correct, you can proceed as follows: |
||
57 | |||
58 | == Preparing the E1 card == |
||
59 | |||
60 | === HFC-E1 Evaluation Board === |
||
61 | |||
62 | * make sure you configure the jumpers for NT Mode and Termination to 120 Ohms, reference [wiki:HFC-E1] |
||
63 | |||
64 | == Preparing your PC == |
||
65 | |||
66 | * Install a current (>= 2.6.27) Linux kernel source |
||
67 | * Apply the patch from svn trunk/linux-kernel to your kernel |
||
68 | * Configure the kernel as usual, make sure you enable the mISDN core and driver for HFC-E1 (hfcmulti) |
||
69 | * Install and boot the kernel, load hfcmulti '''with dslot=1 module load parameter''' |
||
70 | * Check out the latest SVN version of OpenBSC |
||
71 | * Compile it |
||
72 | * You need the following build dependencies: autoconf, automake, gcc, libc6-dev, libdbi-dev, libdbd-sqlite3, yacc |
||
73 | 3 | laforge | {{{ |
74 | svn checkout http://bs11-abis.gnumonks.org/svn/trunk/openbsc |
||
75 | cd openbsc |
||
76 | aclocal |
||
77 | autoconf |
||
78 | automake --add-missing |
||
79 | ./configure |
||
80 | make |
||
81 | }}} |
||
82 | * You may experience compilation problems when you use the latest and greatest trunk version. This is a normal behavior, since OpenBSC is under heavy development. Please contact the mailing list and ask for help in that case. |
||
83 | 1 | laforge | |
84 | == Testing the E1 Link == |
||
85 | |||
86 | * connect the RJ45 plug of the E1 cable with your E1 card in the PC |
||
87 | * connect the two twinax connectors of your E1 cable (correctly!) to the BS-11 connector board, use the two leftmost connectors |
||
88 | * keep the LMT / RS232 cable connected |
||
89 | * power-on the BS-11 if it is not already powered-up |
||
90 | * Start bs11_config and wait until you enter ''Phase 3 Normal, Abis-Link: Restoring'' |
||
91 | * run the "bsc_hack" program, pass it the '-f ' paramenter for the [wiki:ARFCN] you want to use. '''Make sure you use a frequency that you have permission to use''', and/or limit your output power to a level that you are allowed to transmit. The default ARFCN is 123. |
||
92 | * Verify that bs11_config now prints ''Phase 3 Normal, Abis-Link: Up'' |
||
93 | * bsc_hack should print you a lot of yellow lines about setting channel attributes and event state changes |
||
94 | * at some point you should see 'Bootstrapping RSL' |
||
95 | * congratulations, your BS-11 should be running and you should see the BCCH (network ID 01-001) from a GSM phone. |