Hello Andreas
1.
As you mentioned use OpenBSC -> master and OsmoBTS -> jolly/trx branch. Compiling OsmoBTS results in compilations errorrs.
Log from OsmoBTS:
rsl.c:138:2: warning: #warning merge lchan_lookup with OpenBSC [-Wcpp]
rsl.c: In function ‘rsl_rx_chan_activ’:
rsl.c:744:53: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’
rsl.c:748:15: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’
rsl.c: In function ‘rsl_rx_mode_modif’:
rsl.c:991:53: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’
rsl.c:995:15: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’
rsl.c: In function ‘rsl_rx_ipac_XXcx’:
rsl.c:1304:7: warning: passing argument 3 of ‘osmo_rtp_get_bound_ip_port’ from incompatible pointer type [enabled by default]
/usr/local/include/osmocom/trau/osmo_ortp.h:71:5: note: expected ‘int *’ but argument is of type ‘uint16_t *’
make[2]: *** [rsl.o] Error 1
make[2]: Leaving directory `/home/cinterion/alt_cint/osmo-bts/src/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cinterion/alt_cint/osmo-bts/src'
make: *** [all-recursive] Error 1
2.
No errors when OpenBSC -> jolly/testing and OsmoBTS->jolly/trx. But cannot start OsmoSGSN when OpenBSC is on Jolly/tetsing.
OsmoSGSN says :
<0010> gprs_ns.c:171 NSVCI=65534 Creating NS-VC
<000f> sgsn_libgtp.c:571 Failed to create GTP: -1
<000f> sgsn_main.c:346 Cannot bind/listen on GTP socket
So after compiling OsmoBTS, I switch OpenBSC->master and then start OsmoSGSN and it starts.
Then OsmoSGSN says :
<0010> gprs_ns.c:171 NSVCI=65534 Creating NS-VC
3.
I was able to connect the PCU to OsmoBTS... I compiled PCU with sysmo-bts support then it connected to osmoBTS. I could also use the second phone for TS1 and was able to send a IMM ASS (for packet channel). I verified this on the MS (requesting for GPRS attach). And by observing log from PCU it shows MS has responded in TS-1 and sent data.
OsmoNITB is also working good.
Log from PCU when a GPRS attch request is received
./osmo-pcu -c osmo-pcu.cfg -m 234 -n 06
<0001> sysmo_sock.cpp:292 PCU-SYSMO socket has been connected
<0001> pcu_l1_if.cpp:375 BTS available
<0001> pcu_l1_if.cpp:91 Sending activate request: trx=0 ts=1
<0001> pcu_l1_if.cpp:502 PDCH: trx=0 ts=1
<0001> pcu_l1_if.cpp:296 RACH request received: sapi=1 qta=4, ra=120, fn=741687
<0008> gprs_rlcmac.cpp:1793 LLC [PCU -> SGSN] TFI: 0 TLLI: 0x7b15c7c4 len=41
<0007> gprs_rlcmac_meas.cpp:102 UL RSSI of TLLI=0x7b15c7c4: -59 dBm
<0001> pcu_l1_if.cpp:296 RACH request received: sapi=1 qta=4, ra=120, fn=744933
<0008> gprs_rlcmac.cpp:1793 LLC [PCU -> SGSN] TFI: 0 TLLI: 0x7b15c7c4 len=41
<0007> gprs_rlcmac_meas.cpp:102 UL RSSI of TLLI=0x7b15c7c4: -60 dBm
Log from OsmoBTS when GPRS attch request is received
When a UL data received on PDTCH
<000a> trx_if.c:178 No response from transceiver
<0006> scheduler.c:1169 Received RACH fn=754683 toa=1.51
<0006> scheduler.c:1338 Received bad PDTCH block ending at fn=754809 (81/104) for
PDTCH
<000a> trx_if.c:178 No response from transceiver
After this OsmoBTS results in
Segmentation fault (core dumped)
Can you please tell how can I compile OsmoBTS correctly by using OpenBSC->master.
regards,
Altaf