<div dir="ltr">Hello Andreas<div><br></div><div style>1.</div><div style>As you mentioned use OpenBSC -> master and OsmoBTS -> jolly/trx branch. Compiling OsmoBTS results in compilations errorrs.<br></div><div style>
<br></div><div style>Log from OsmoBTS:</div><div style><br></div><div style><div>rsl.c:138:2: warning: #warning merge lchan_lookup with OpenBSC [-Wcpp]</div><div>rsl.c: In function ‘rsl_rx_chan_activ’:</div><div>rsl.c:744:53: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’</div>
<div>rsl.c:748:15: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’</div><div>rsl.c: In function ‘rsl_rx_mode_modif’:</div><div>rsl.c:991:53: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’</div><div>rsl.c:995:15: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’</div>
<div>rsl.c: In function ‘rsl_rx_ipac_XXcx’:</div><div>rsl.c:1304:7: warning: passing argument 3 of ‘osmo_rtp_get_bound_ip_port’ from incompatible pointer type [enabled by default]</div><div>/usr/local/include/osmocom/trau/osmo_ortp.h:71:5: note: expected ‘int *’ but argument is of type ‘uint16_t *’</div>
<div>make[2]: *** [rsl.o] Error 1</div><div>make[2]: Leaving directory `/home/cinterion/alt_cint/osmo-bts/src/common'</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/cinterion/alt_cint/osmo-bts/src'</div>
<div>make: *** [all-recursive] Error 1</div><div><br></div></div><div style>2.</div><div style><br></div><div style>No errors when OpenBSC -> jolly/testing and OsmoBTS->jolly/trx. But cannot start OsmoSGSN when OpenBSC is on Jolly/tetsing.<br>
</div><div style><br></div><div style>OsmoSGSN says :</div><div style><br></div><div style><div><0010> gprs_ns.c:171 NSVCI=65534 Creating NS-VC</div><div><000f> sgsn_libgtp.c:571 Failed to create GTP: -1</div>
<div><000f> sgsn_main.c:346 Cannot bind/listen on GTP socket</div><div><br></div></div><div style><br></div><div style>So after compiling OsmoBTS, I switch OpenBSC->master and then start OsmoSGSN and it starts.</div>
<div style><br></div><div style>Then OsmoSGSN  says :</div><div style><div><0010> gprs_ns.c:171 NSVCI=65534 Creating NS-VC</div><div><br></div><div>3.</div><div><br></div></div><div style>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.<br>
</div><div style><br></div><div style>OsmoNITB is also working good.</div><div style><br></div><div style>Log from PCU when a GPRS attch request is received</div><div style><br></div><div style><div>./osmo-pcu -c osmo-pcu.cfg -m 234 -n 06</div>
<div><0001> sysmo_sock.cpp:292 PCU-SYSMO socket has been connected</div><div><0001> pcu_l1_if.cpp:375 BTS available</div><div><0001> pcu_l1_if.cpp:91 Sending activate request: trx=0 ts=1</div><div><0001> pcu_l1_if.cpp:502 PDCH: trx=0 ts=1</div>
<div><0001> pcu_l1_if.cpp:296 RACH request received: sapi=1 qta=4, ra=120, fn=741687</div><div><0008> gprs_rlcmac.cpp:1793 LLC [PCU -> SGSN] TFI: 0 TLLI: 0x7b15c7c4 len=41</div><div><0007> gprs_rlcmac_meas.cpp:102 UL RSSI of TLLI=0x7b15c7c4: -59 dBm</div>
<div><0001> pcu_l1_if.cpp:296 RACH request received: sapi=1 qta=4, ra=120, fn=744933</div><div><0008> gprs_rlcmac.cpp:1793 LLC [PCU -> SGSN] TFI: 0 TLLI: 0x7b15c7c4 len=41</div><div><0007> gprs_rlcmac_meas.cpp:102 UL RSSI of TLLI=0x7b15c7c4: -60 dBm</div>
<div><br></div><div style><br></div><div style>Log from OsmoBTS when GPRS attch request is received</div><div style>When a UL data received on PDTCH<br></div><div style><div><br></div><div><000a> trx_if.c:178 No response from transceiver</div>
<div><0006> scheduler.c:1169 Received RACH fn=754683 toa=1.51</div><div><0006> scheduler.c:1338 Received bad PDTCH block ending at fn=754809 (81/104) for </div><div>            PDTCH</div><div><000a> trx_if.c:178 No response from transceiver</div>
<div><br></div><div style>After this OsmoBTS results in </div><div style><br></div><div style><div>Segmentation fault (core dumped)</div><div><br></div></div></div></div><div style><br></div><div style>Can you please tell how can I compile OsmoBTS correctly by using OpenBSC->master.</div>
<div style><br></div><div style><br></div><div style>regards,</div><div style><br></div><div style>Altaf</div><div style><br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jun 5, 2013 at 6:37 PM, altaf sk <span dir="ltr"><<a href="mailto:altaf329@gmail.com" target="_blank">altaf329@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello andreas,<div><br></div><div>thanks a lot for your help.<br><div><br></div><div>I resulted successful in running the osmoBTS with calypso phones. Currently I did (register) with 1 phone but will do it with 2 also.  yes I am using the debugging option.</div>

<div><br></div><div>Can you kindly tell me how should I enable the PCU support. I have the osmo-pcu (master) installed and I start it before  starting osmoBTS. </div><div><br></div><div>I tried to use jolly_test in osmo-pcu git, but errors concerning sysmobts.</div>

<div> </div><div>I tried looking around sockets and vty but could not figure it out. I looked at the osmo-bts-sysmo code which has the command line option (-M --pcu-direct) to enable pcu support.</div><div>I looked at the code and I found that pcu_direct is set to 1 (pcu_direct=1) when -M option is used.</div>

<div><br></div><div>using this as a reference in the main.c of osmo-bts-trx i directly defined pcu_direct=1 and then tried. The socket /tmp/pcu-bts is open but still I dont see any response from PCU.</div><div>
<br></div><div>Can you suggest me in this regard.</div><div><br></div><div>regards,</div><div><br></div><div>Altaf</div>
</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 4, 2013 at 5:13 PM, altaf sk <span dir="ltr"><<a href="mailto:altaf329@gmail.com" target="_blank">altaf329@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, I understand how trx uses two phones by reading your previous commits. I will study them<div><br></div>

<div><br></div><div>regards,</div><div><br></div><div>altaf</div><div>
<br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 4, 2013 at 4:53 PM, altaf sk <span dir="ltr"><<a href="mailto:altaf329@gmail.com" target="_blank">altaf329@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ok. Thank you...<div><br></div><div>I will look into this and will post if any success..</div><div><br>

</div>
<div>You say that using jolly/testing branch it is possible to use two phones.  I am not sure how to use two phones and connect and how is the sync b/w them. Can you please give some brief idea before you write documentation. </div>



<div><br></div><div>isnt it possible with 1 phone, Just for minimal functions.?</div><div><br></div><div>I don't find the branch jolly/trx in <span style="font-size:13px;background-color:rgb(247,247,247)">git clone git://<a href="http://github.com/chemeris/openbts-p2.8.git" target="_blank">github.com/chemeris/openbts-p2.8.git</a>. Should I clone from a different git.</span></div>



<div><br></div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, Jun 4, 2013 at 4:13 PM, jolly <span dir="ltr"><<a href="mailto:andreas@eversberg.eu" target="_blank">andreas@eversberg.eu</a>></span> wrote:<br>



</div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>altaf sk wrote:<br>
> PCU -> master<br>
> bts   -> gprs-work<br>
> os_BB -> sylvain/testing<br>
> openbsc -> master<br>
</div>pcu master is ok (everything merged).<br>
openbsc master is ok.<br>
bts gprs-work? i don't know this branch, please use jolly/trx.<br>
osmocom_bb you should use jolly/testing branch, because you need to use<br>
two phones, one for broadcast and one for timeslot 1 (gprs). i think i<br>
need to write a documentation for that. but in your case, the IMM.ASS<br>
problem must be solved first.<br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>