From stephane at shimaore.net Wed Dec 25 22:10:04 2013 From: stephane at shimaore.net (stephane at shimaore.net) Date: Wed, 25 Dec 2013 23:10:04 +0100 Subject: osmo-bts-trx compilation Message-ID: <20131225221004.GA12881@shimaore.net> Hello, I battled with osmo-bts-trx this afternoon; it didn't want to build with old (at least not any I tried) nor recent libosmocore, so I ended up using a chainsaw and cutting pieces out of it. The outcome is here: https://github.com/shimaore/osmo-bts You can see what I had to remove here: https://github.com/shimaore/osmo-bts/commit/b5ac1c000e6d7bea57f7c1d8d47f43f9c18261de This version builds with libosmocore etc `master` revisions.(*) Once compiled this gives me a piece of software that starts and prints out messages on the console, and apparently connects to the transceiver on one side, and to osmo-bsc on the other side. Anyhow, sending this out in hope this might save someone else a few hours. :} S. (*) The `abis` and `rsl` code are completely different in recent libosmocore, I suspect this build uses the old `abis` code embedded inside osmo-bts. The sysmo-bts code was updated, but not the trx-bts code. -- St?phane Alnet -- Telecom Artisan. OpenSource Advocate. Development and integration for FreeSwitch, OpenSIPS, CouchDB, Node.js. Mobile: +33643482771 - http://shimaore.net/ - https://github.com/shimaore/ From stephane at shimaore.net Fri Dec 27 22:19:00 2013 From: stephane at shimaore.net (stephane at shimaore.net) Date: Fri, 27 Dec 2013 23:19:00 +0100 Subject: osmo-bts-trx compilation In-Reply-To: <20131225221004.GA12881@shimaore.net> References: <20131225221004.GA12881@shimaore.net> Message-ID: <20131227221900.GA19160@shimaore.net> Hello, Martin O'Shield encouraged me to post the documentation I had started on OsmoCom integration with UmTRX, so here you go: * https://github.com/shimaore/umtrx-osmo-bts which describes how to get started with the BTS side * https://github.com/shimaore/umtrx-osmo-bsc which deals with the BSC side Basically each of these contain a "how.txt" file on how to build the software, and a "start.sh" template script on how to start it. Feel free to use github's Issues and Pull Requests to ask questions or suggest changes. S. -- St?phane Alnet -- Telecom Artisan. OpenSource Advocate. Development and integration for FreeSwitch, OpenSIPS, CouchDB, Node.js. Mobile: +33643482771 - http://shimaore.net/ - https://github.com/shimaore/ From andrew at carrierdetect.com Sat Dec 28 10:04:38 2013 From: andrew at carrierdetect.com (Andrew Back) Date: Sat, 28 Dec 2013 10:04:38 +0000 Subject: osmo-bts-trx compilation In-Reply-To: <20131225221004.GA12881@shimaore.net> References: <20131225221004.GA12881@shimaore.net> Message-ID: Hi Stephane, On 25 December 2013 22:10, wrote: > Hello, > > I battled with osmo-bts-trx this afternoon; it didn't want to build with > old (at least not any I tried) nor recent libosmocore, so I ended up > using a chainsaw and cutting pieces out of it. I recently followed the instructions on the wiki and it worked fine for me and without having to make any changes. http://openbsc.osmocom.org/trac/wiki/network_from_scratch Cheers, Andrew -- Andrew Back http://carrierdetect.com From alexander.chemeris at gmail.com Sat Dec 28 10:54:27 2013 From: alexander.chemeris at gmail.com (Alexander Chemeris) Date: Sat, 28 Dec 2013 14:54:27 +0400 Subject: osmo-bts-trx compilation In-Reply-To: References: <20131225221004.GA12881@shimaore.net> Message-ID: On Sat, Dec 28, 2013 at 2:04 PM, Andrew Back wrote: > Hi Stephane, > > On 25 December 2013 22:10, wrote: >> Hello, >> >> I battled with osmo-bts-trx this afternoon; it didn't want to build with >> old (at least not any I tried) nor recent libosmocore, so I ended up >> using a chainsaw and cutting pieces out of it. > > I recently followed the instructions on the wiki and it worked fine > for me and without having to make any changes. > > http://openbsc.osmocom.org/trac/wiki/network_from_scratch Btw, since recent updates in osmo-trx, you should use the master branch from the official Osmocom repo: http://cgit.osmocom.org/osmo-trx/ (preferred way) or the master branch from fairwaves osmo-trx repo: https://github.com/fairwaves/osmo-trx The latter may lag compared to the official Osmocom osmo-trx and thus is less preferred, -- Regards, Alexander Chemeris. CEO, Fairwaves LLC / ??? ??????? http://fairwaves.ru From stephane at shimaore.net Sat Dec 28 14:42:55 2013 From: stephane at shimaore.net (stephane at shimaore.net) Date: Sat, 28 Dec 2013 15:42:55 +0100 Subject: osmo-bts-trx compilation In-Reply-To: References: <20131225221004.GA12881@shimaore.net> Message-ID: <20131228144255.GB24145@shimaore.net> Hi Andrew, > I recently followed the instructions on the wiki and it worked fine > for me and without having to make any changes. > http://openbsc.osmocom.org/trac/wiki/network_from_scratch I guess I must have tried that at first but skipped it because openbsc didn't want to build in the `jolly/testing` branch. However for the little bits open-bts-trx depends on in the openbsc code, this works fine (oops!). So really the current path to compile the osmo-bts-trx jolly/trx branch remains to use the openbsc jolly/testing branch (as indicated on the wiki). I'll update my notes. As I said, the jolly/testing branch of openbsc doesn't build fully. (Although I guess this still leaves you with an osmo-nitb binary!) The `master` branch of openbsc builds properly, that's why I got stuck with that in my mind ("it builds so it's the one to use!"). I'm not sure what the feature differences and stability are, though. osmo-nitb (master branch) crashes when I try to place mobile-to-mobile calls, I need to experiment with the different versions. S. -- St?phane Alnet -- Telecom Artisan. OpenSource Advocate. Development and integration for FreeSwitch, OpenSIPS, CouchDB, Node.js. Mobile: +33643482771 - http://shimaore.net/ - https://github.com/shimaore/ From alexander.chemeris at gmail.com Sat Dec 28 14:58:27 2013 From: alexander.chemeris at gmail.com (Alexander Chemeris) Date: Sat, 28 Dec 2013 18:58:27 +0400 Subject: osmo-bts-trx compilation In-Reply-To: <20131228144255.GB24145@shimaore.net> References: <20131225221004.GA12881@shimaore.net> <20131228144255.GB24145@shimaore.net> Message-ID: Hi all, I think this discussion is better suited for the openbsc mailing list, as it is not specific to UmTRX. I would recommend you to move it there. That said, we're using network_from_scratch procedure here, may be with minor changes, and it works very well. Crashes you've seen may be related to some incompatibility between osmo-bts, osmo-nitb and libosmocore. On Sat, Dec 28, 2013 at 6:42 PM, wrote: >> I recently followed the instructions on the wiki and it worked fine >> for me and without having to make any changes. >> http://openbsc.osmocom.org/trac/wiki/network_from_scratch > > I guess I must have tried that at first but skipped it because openbsc > didn't want to build in the `jolly/testing` branch. However for the > little bits open-bts-trx depends on in the openbsc code, this works > fine (oops!). > > So really the current path to compile the osmo-bts-trx jolly/trx branch > remains to use the openbsc jolly/testing branch (as indicated on the > wiki). I'll update my notes. > > As I said, the jolly/testing branch of openbsc doesn't build fully. > (Although I guess this still leaves you with an osmo-nitb binary!) > The `master` branch of openbsc builds properly, that's why I got stuck > with that in my mind ("it builds so it's the one to use!"). > > I'm not sure what the feature differences and stability are, though. > osmo-nitb (master branch) crashes when I try to place mobile-to-mobile > calls, I need to experiment with the different versions. > S. > > -- > St?phane Alnet -- Telecom Artisan. OpenSource Advocate. > Development and integration for FreeSwitch, OpenSIPS, CouchDB, Node.js. > Mobile: +33643482771 - http://shimaore.net/ - https://github.com/shimaore/ > -- Regards, Alexander Chemeris. CEO, Fairwaves LLC / ??? ??????? http://fairwaves.ru