How to 'POWERON' the osmo-trx

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

cruise zhankun_bi at 163.com
Sat May 9 01:15:17 UTC 2020


hello:

I installed the osmo-NITB on ubuntu18.04, including 
osmo-trx,osmo-bts,and openbsc.

The following is the print messages when these three applications start up.

*1.osmo-trx*

$ sudo osmo-trx-uhd -C osmo-trx-usrp_b200.cfg
Info: SSE3 support compiled in and supported by CPU
Info: SSE4.1 support compiled in and supported by CPU
Tue May  5 12:36:27 2020 DLGLOBAL <0007> telnet_interface.c:104 
Available via telnet 127.0.0.1 4237
Tue May  5 12:36:27 2020 DLCTRL <000e> control_if.c:911 CTRL at 
127.0.0.1 4236
Tue May  5 12:36:27 2020 DMAIN <0000> osmo-trx.cpp:484 
[tid=139758118945664] Config Settings
    Log Level............... 0
    Device args.............
    TRX Base Port........... 5700
    TRX Address............. 127.0.0.1
    GSM BTS Address......... 127.0.0.1
    Channels................ 1
    Tx Samples-per-Symbol... 4
    Rx Samples-per-Symbol... 4
    EDGE support............ 0
    Extended RACH support... 0
    Reference............... 1
    Filler Burst Type....... Empty bursts
    Filler Burst TSC........ 0
    Filler Burst RACH Delay. 0
    Multi-Carrier........... 0
    Tuning offset........... 0
    RSSI to dBm offset...... 28
    Swap channels........... 0
    Tx Antennas............. '<default>'
    Rx Antennas............. '<default>'

Tue May  5 12:36:27 2020 DMAIN <0000> osmo-trx.cpp:438 
[tid=139758118945664] Setting SCHED_RR priority 18
Tue May  5 12:36:27 2020 DDEVDRV <0006> log.cpp:460 
[tid=139758008424192] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; 
UHD_3.14.0.HEAD-0-g6875d061
Tue May  5 12:36:27 2020 DDEV <0005> UHDDevice.cpp:470 
[tid=139758118945664] Using discovered UHD device 
type=b200,name=Lab_B210,serial=86680AA,product=B210
Tue May  5 12:36:28 2020 DDEVDRV <0006> b200_impl.cpp:386 
[tid=139758008424192] [B200] Detected Device: B210
Tue May  5 12:36:29 2020 DDEVDRV <0006> b200_iface.cpp:441 
[tid=139758008424192] [B200] Loading FPGA image: 
/home/cruise/openBSC/osmo-trx/usrp_b210_fpga.bin...
Tue May  5 12:36:45 2020 DDEVDRV <0006> b200_impl.cpp:433 
[tid=139758008424192] [B200] Operating over USB 3.
Tue May  5 12:36:45 2020 DDEVDRV <0006> b200_impl.cpp:484 
[tid=139758008424192] [B200] Detecting internal GPSDO....
Tue May  5 12:36:46 2020 DDEVDRV <0006> gps_ctrl.cpp:253 
[tid=139758008424192] [GPS] No GPSDO found
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:587 
[tid=139758008424192] [B200] Initialize CODEC control...
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:650 
[tid=139758008424192] [B200] Initialize Radio control...
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:957 
[tid=139758008424192] [B200] Performing register loopback test...
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:966 
[tid=139758008424192] [B200] Register loopback test passed
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:957 
[tid=139758008424192] [B200] Performing register loopback test...
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:966 
[tid=139758008424192] [B200] Register loopback test passed
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:758 
[tid=139758008424192] [B200] Setting master clock rate selection to 
'automatic'.
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:1013 
[tid=139758008424192] [B200] Asking for clock rate 16.000000 MHz...
Tue May  5 12:36:46 2020 DDEVDRV <0006> b200_impl.cpp:1024 
[tid=139758008424192] [B200] Actually got clock rate 16.000000 MHz.
Tue May  5 12:36:47 2020 DMAIN <0000> UHDDevice.cpp:211 
[tid=139758118945664] Antennas configured successfully
Tue May  5 12:36:47 2020 DDEVDRV <0006> multi_usrp.cpp:502 
[tid=139758008424192] [MULTI_USRP] Setting master clock rate selection 
to 'manual'.
Tue May  5 12:36:47 2020 DDEVDRV <0006> b200_impl.cpp:1013 
[tid=139758008424192] [B200] Asking for clock rate 26.000000 MHz...
Tue May  5 12:36:47 2020 DDEVDRV <0006> b200_impl.cpp:1024 
[tid=139758008424192] [B200] Actually got clock rate 26.000000 MHz.
Tue May  5 12:36:47 2020 DDEV <0005> UHDDevice.cpp:275 
[tid=139758118945664] Rates configured for B210 4 SPS
Tue May  5 12:36:47 2020 DDEV <0005> UHDDevice.cpp:235 
[tid=139758118945664] Supported Tx gain range [0; 89.75]
Tue May  5 12:36:47 2020 DDEV <0005> UHDDevice.cpp:240 
[tid=139758118945664] Supported Rx gain range [0; 76]
Tue May  5 12:36:47 2020 DDEV <0005> UHDDevice.cpp:244 
[tid=139758118945664] Default setting Tx gain for channel 0 to 44.875
Tue May  5 12:36:47 2020 DDEV <0005> UHDDevice.cpp:251 
[tid=139758118945664] Default setting Rx gain for channel 0 to 38
Tue May  5 12:36:47 2020 DDEV <0005> UHDDevice.cpp:569 
[tid=139758118945664] Device configuration: Single USRP:
   Device: B-Series Device
   Mboard 0: B210
   RX Channel: 0
     RX DSP: 0
     RX Dboard: A
     RX Subdev: FE-RX2
   TX Channel: 0
     TX DSP: 0
     TX Dboard: A
     TX Subdev: FE-TX2
Tue May  5 12:36:47 2020 DMAIN <0000> osmo-trx.cpp:532 
[tid=139758118945664] -- Transceiver active with 1 channel(s)

*_/when the osmo-bts-trx launched later, the following messages will 
arise,  shows that the osmo-trx received the  'POWEROFF' command and 
feed back the 'RESPONSE' to osmo-bts-trx./_*

Tue May  5 12:42:44 2020 DTRXCTRL <0002> Transceiver.cpp:832 
[tid=139758118945664][chan=0] command is 'POWEROFF'
Tue May  5 12:42:44 2020 DTRXCTRL <0002> Transceiver.cpp:977 
[tid=139758118945664][chan=0] response is 'RSP POWEROFF 0'

**

*_/POWERON command was not launched. and the USRP TX/RX LED was not 
lighted./_*


*2.osmo-bts-trx*

$ sudo osmo-bts-trx
((*))
   |
  / \ OsmoBTS
<0017> control_if.c:911 CTRL at 127.0.0.1 4238
<0010> telnet_interface.c:104 Available via telnet 127.0.0.1 4241
<0012> input/ipaccess.c:1024 enabling ipaccess BTS mode, OML connecting 
to 192.168.122.1:3002
<000b> trx_if.c:1174 phy0.0: Open transceiver

**

*_/About one minutes later, the osmo-bts-trx will exit automatically, 
and the following messages was printed./_*

<0012> e1_input.c:243 abis_sendmsg: msg->dst == NULL: 0c 12 01 90 0f 00 c8
<0012> e1_input.c:243 abis_sendmsg: msg->dst == NULL: 0c 12 01 88 12 06 
00 00 00 00 00 00
<000d> abis.c:143 Signalling link down
<0001> bts.c:293 Shutting down BTS 0, Reason Abis close
Shutdown timer expired

*3. osmo-nitb*

$ sudo osmo-nitb -c osmo-nitb-ipa.cfg
<001e> telnet_interface.c:104 Available via telnet 127.0.0.1 4242
<0020> input/ipaccess.c:985 enabling ipaccess BSC mode on 0.0.0.0 with 
OML 3002 and RSL 3003 TCP ports
<0025> control_if.c:911 CTRL at 127.0.0.1 4249
DB: Database initialized.

DB: Database prepared.


In a word, the hardware USRP  TX/RX LED  has not been lighted, it seems 
not work. How to poweron it?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20200509/19daa41b/attachment.htm>


More information about the OpenBSC mailing list