From keval.prajapati141 at gmail.com Thu May 10 06:23:57 2018 From: keval.prajapati141 at gmail.com (Keval Prajapati) Date: Thu, 10 May 2018 11:53:57 +0530 Subject: [HELP]: Traffic Channels in OsmocomBB Message-ID: Dear All, Is anyone is there, who can help me with Traffic channels of GSM in OscmocomBB. I want to know that how may traffic channels (Speech & Data) of GSM are supported in the OsmocomBB? Regards, Keval Pankhaniya -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Sat May 12 01:09:47 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Sat, 12 May 2018 04:09:47 +0300 Subject: osmocom-bb installation help Message-ID: Hi, I am new to this list. I use ubuntu 14.04.02. I am trying to configure/compile latest master osmocom-bb. I ran into a few problems/questions: According to the src/README.building file, I should get the arm toolchain from gnuarm.com This should be updated, gnuarm.com doesn't have any downloads any more. Instead I installed gcc-arm-linux-gnueabi from ubuntu reps 1) normal gcc seems to support x-compiling for arm CPUs. Why not use that? 2) Your stock Makefile tests for CROSS_HOST against arm-elf-gcc. This should be updated to test also against arm-linux-gnueabi-gcc from gcc-arm-linux-gnueabi package 3) configure warnings: configure: WARNING: unrecognized options: --disable-tests, --disable-tests. Should be disabled if not supported any more checking for arm-linux-gnueabi-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet Is there a problem to use the OS mt? 4) configure asks for libosmovty >= 0.10.0. libosmovty is part of libosmocore. Latest libosmocore master provides libosmovty 0.9.0.16-abc4:( These 2 should really be synchronized. Where can I find suitable libosmocore to work with latest osmocom-bb, or latest osmocom-bb that works with latest libsomocore? TIA, Nikos -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Sat May 12 18:42:16 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Sat, 12 May 2018 21:42:16 +0300 Subject: osmocom-bb installation help In-Reply-To: References: Message-ID: Hi, osmocom-bb configure gives me several warnings like this: configure: WARNING: execinfo.h: present but cannot be compiled configure: WARNING: execinfo.h: check for missing prerequisite headers? configure: WARNING: execinfo.h: see the Autoconf documentation configure: WARNING: execinfo.h: section "Present But Cannot Be Compiled" configure: WARNING: execinfo.h: proceeding with the compiler's result configure: WARNING: ## ---------------------------------------- ## configure: WARNING: ## Report this to openbsc at lists.osmocom.org ## configure: WARNING: ## ---------------------------------------- ## Probably left out from a shared libosmocore configure, in osmocom-bb/src/shared/libosmocore/configure. That's how I used the wrong list:( I tried the link: https://git.osmocom.org/libosmocore. Clearly shows latest libosmocore tag is 0.11.0. Interesting, when I try: git clone https://git.osmocom.org/libosmocore gives me libosmocore 0.9.0.16 git clone git://git.osmocom.org/libosmocore gives me the correct libosmocore 0.11.0.12. Seems your nginx server is caching the https request some 6 months now:) Problem solved:) TIA Nikos On Sat, May 12, 2018 at 4:09 AM, Nikos Balkanas wrote: > Hi, > > I am new to this list. > I use ubuntu 14.04.02. I am trying to configure/compile latest master > osmocom-bb. > I ran into a few problems/questions: > According to the src/README.building file, I should get the arm toolchain > from gnuarm.com > This should be updated, gnuarm.com doesn't have any downloads any more. > Instead I installed gcc-arm-linux-gnueabi from ubuntu reps > 1) normal gcc seems to support x-compiling for arm CPUs. Why not use that? > 2) Your stock Makefile tests for CROSS_HOST against arm-elf-gcc. This > should be updated to test also against arm-linux-gnueabi-gcc from > gcc-arm-linux-gnueabi package > 3) configure warnings: > configure: WARNING: unrecognized options: --disable-tests, > --disable-tests. Should be disabled if not supported any more > checking for arm-linux-gnueabi-mt... no > checking for mt... mt > configure: WARNING: using cross tools not prefixed with host triplet > Is there a problem to use the OS mt? > 4) configure asks for libosmovty >= 0.10.0. libosmovty is part of > libosmocore. Latest libosmocore master provides libosmovty 0.9.0.16-abc4:( > These 2 should really be synchronized. Where can I find suitable > libosmocore to work with latest osmocom-bb, or latest osmocom-bb that works > with latest libsomocore? > > TIA, > Nikos > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Sun May 13 02:51:10 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Sun, 13 May 2018 05:51:10 +0300 Subject: osmocom-bb compilation problems Message-ID: Hi, I've been following the installation directions from the wiki, Getting Started. After generating the arm-none-eabi toolchain, I proceeded with make. I get errors over system files: In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:26:0, from /usr/include/netinet/in.h:23, from /usr/include/arpa/inet.h:22, from l1ctl.c:29: /usr/include/x86_64-linux-gnu/sys/uio.h: In function ?readv?: /usr/include/x86_64-linux-gnu/sys/uio.h:40:3: error: expected declaration specifiers before ?__wur? __wur; ^ /usr/include/x86_64-linux-gnu/sys/uio.h:51:3: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute__? before ?__wur? __wur; ^ These includes are system files and test out fine in my programs. Any idea what's going on? TIA Nikos -------------- next part -------------- An HTML attachment was scrubbed... URL: From 246tnt at gmail.com Sun May 13 07:15:18 2018 From: 246tnt at gmail.com (Sylvain Munaut) Date: Sun, 13 May 2018 09:15:18 +0200 Subject: osmocom-bb compilation problems In-Reply-To: References: Message-ID: > I've been following the installation directions from the wiki, Getting > Started. > After generating the arm-none-eabi toolchain, I proceeded with make. My guess is you first tried compiling without an arm toolchain installed and then installed the arm toolchain and didn't do a 'make clean' when retrying. Cheers, Sylvain From nbalkanas at gmail.com Sun May 13 09:11:18 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Sun, 13 May 2018 12:11:18 +0300 Subject: osmocom-bb compilation problems In-Reply-To: References: Message-ID: Thx Sylvain, For your fast response. This turned out not to be the problem, since I did several times make clean & make distclean, after I created the toolchain, before posting:) But your response helped, in that this isn't a usual problem. Therefore smt in my setup. Turned out problem was in my CPPFLAGS include dir. Early on, I faced a few problems with missing include files. 1 in particular was nowhere in my system other than in Xilinx vivado, under /gcc-arm-none-eabi/. Once I removed it from CPPFLAGS osmocom-bb compiled fine (with a few warnings) Problem solved:) On Sun, May 13, 2018 at 10:15 AM, Sylvain Munaut <246tnt at gmail.com> wrote: > > I've been following the installation directions from the wiki, Getting > > Started. > > After generating the arm-none-eabi toolchain, I proceeded with make. > > My guess is you first tried compiling without an arm toolchain > installed and then installed the arm toolchain and didn't do a 'make > clean' when retrying. > > > Cheers, > > Sylvain > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Sun May 13 18:28:57 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Sun, 13 May 2018 21:28:57 +0300 Subject: osmocom-bb compilation problems In-Reply-To: References: Message-ID: Hi Sylvain, I didn't realize it when you responded, but is a toolchain problem, and you just nailed it. Cool:) Early on, before it was pointed to me to use the Getting Started wiki, I used the src/README.building file, which is a normal practice for all unix developers/admins. When I couldn't find the gnuarm.com toolchain, I searched the web for ubuntu toolchains and found the linaro one, gcc-arm-linux-gnueabi, which doesn't provide . No dev version either:( So, when using that toolchain, I had to come up with the missing , and the only one I could find was from vivado:( Is there a point to my life's story? Just to pont out into how much problems one can get with the wrong README file. I realize that building procedure must be defined and maintained in 1 place, either the wiki or the README file. The wiki is a non standard unix location, but a more convenient one. I propose to fix the info in README.building, to avoid future issues. The fix can be as simple as "Prerequisite is the armel toolchain. Check the for installation" HTH Nikos On Sun, May 13, 2018 at 12:11 PM, Nikos Balkanas wrote: > Thx Sylvain, > > For your fast response. > This turned out not to be the problem, since I did several times make > clean & make distclean, after I created the toolchain, before posting:) > But your response helped, in that this isn't a usual problem. Therefore > smt in my setup. > > Turned out problem was in my CPPFLAGS include dir. > Early on, I faced a few problems with missing include files. 1 in > particular was nowhere in my system other than in Xilinx > vivado, > under /gcc-arm-none-eabi/. > Once I removed it from CPPFLAGS osmocom-bb compiled fine (with a few > warnings) > > Problem solved:) > > > On Sun, May 13, 2018 at 10:15 AM, Sylvain Munaut <246tnt at gmail.com> wrote: > >> > I've been following the installation directions from the wiki, Getting >> > Started. >> > After generating the arm-none-eabi toolchain, I proceeded with make. >> >> My guess is you first tried compiling without an arm toolchain >> installed and then installed the arm toolchain and didn't do a 'make >> clean' when retrying. >> >> >> Cheers, >> >> Sylvain >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nhofmeyr at sysmocom.de Mon May 14 11:29:18 2018 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Mon, 14 May 2018 13:29:18 +0200 Subject: osmocom-bb installation problems In-Reply-To: References: <20180512082342.GG9313@nataraja> Message-ID: <20180514112918.GC1266@my.box> On Sat, May 12, 2018 at 11:35:51AM +0300, Nikos Balkanas wrote: > Dear Harald, > > It was already pointed out to me, by Craig, that I was using the wrong > list:(? > I was using this list, because osmocom-bb configure told me so, in each > warning:( Hmm, might be worth a patch. > Already have moved thread to baseband-devel. > I arrived at this conclusion probably because git clone libosmocore (master > branch), > gives me libosmovty 0.9.0.16:( > Will check out your link. If you are building from source: the git tagged version is put in a file called .version. Sometimes I needed to remove that manually and start from scratch (autoreconf -fi; configure) to get a newer version. Maybe that helps? ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nhofmeyr at sysmocom.de Mon May 14 11:38:10 2018 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Mon, 14 May 2018 13:38:10 +0200 Subject: osmocom-bb installation help In-Reply-To: References: Message-ID: <20180514113810.GD1266@my.box> On Sat, May 12, 2018 at 09:42:16PM +0300, Nikos Balkanas wrote: > Interesting, when I try: > git clone https://git.osmocom.org/libosmocore > gives me libosmocore 0.9.0.16 > git clone git://git.osmocom.org/libosmocore > gives me the correct libosmocore 0.11.0.12. > Seems your nginx server is caching the https request some 6 months now:) > Problem solved:) What, wow. I didn't know we even offered https git access there. All I ever use is git://git.osmocom.org and git+ssh://gerrit.osmocom.org. There also is https access on gerrit.osmocom.org (managed by gerrit). https://osmocom.org/issues/3261 ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nhofmeyr at sysmocom.de Mon May 14 11:45:13 2018 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Mon, 14 May 2018 13:45:13 +0200 Subject: osmocom-bb compilation problems In-Reply-To: References: Message-ID: <20180514114513.GE1266@my.box> On Sun, May 13, 2018 at 09:28:57PM +0300, Nikos Balkanas wrote: > The wiki is a non standard unix location, but a more convenient one. I > propose to fix the info in README.building, > to avoid future issues. The fix can be as simple as "Prerequisite is the > armel toolchain. Check the for installation" Patches welcome! osmocom-bb is managed at gerrit.osmocom.org, to post a patch see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nbalkanas at gmail.com Mon May 14 17:03:08 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Mon, 14 May 2018 20:03:08 +0300 Subject: osmocom-bb installation problems In-Reply-To: <20180514112918.GC1266@my.box> References: <20180512082342.GG9313@nataraja> <20180514112918.GC1266@my.box> Message-ID: On Mon, May 14, 2018 at 2:29 PM, Neels Hofmeyr wrote: > On Sat, May 12, 2018 at 11:35:51AM +0300, Nikos Balkanas wrote: > > Dear Harald, > > > > It was already pointed out to me, by Craig, that I was using the wrong > > list:(? > > I was using this list, because osmocom-bb configure told me so, in each > > warning:( > > Hmm, might be worth a patch. > ?I will be happy to submit one, if you tell me how to do it.? > > > Already have moved thread to baseband-devel. > > I arrived at this conclusion probably because git clone libosmocore > (master > > branch), > > gives me libosmovty 0.9.0.16:( > > Will check out your link. > > If you are building from source: the git tagged version is put in a file > called > .version. Sometimes I needed to remove that manually and start from scratch > (autoreconf -fi; configure) to get a newer version. Maybe that helps? > ?Hmmm. I don't think it is a versioning problem. The https request is ~6 mos old. The git request is upto date. Seems like caching from the nginx web server. Solved my problem by using the git request:) ? > > ~N > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Mon May 14 17:12:41 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Mon, 14 May 2018 20:12:41 +0300 Subject: osmocom-bb compilation problems In-Reply-To: <20180514114513.GE1266@my.box> References: <20180514114513.GE1266@my.box> Message-ID: Got it. I'm on it:) On Mon, May 14, 2018 at 2:45 PM, Neels Hofmeyr wrote: > On Sun, May 13, 2018 at 09:28:57PM +0300, Nikos Balkanas wrote: > > The wiki is a non standard unix location, but a more convenient one. I > > propose to fix the info in README.building, > > to avoid future issues. The fix can be as simple as "Prerequisite is the > > armel toolchain. Check the for installation" > > Patches welcome! > osmocom-bb is managed at gerrit.osmocom.org, to post a patch see > https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit > > ~N > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Mon May 14 18:38:42 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Mon, 14 May 2018 21:38:42 +0300 Subject: osmocom-bb compilation problems In-Reply-To: References: <20180514114513.GE1266@my.box> Message-ID: On Mon, May 14, 2018 at 8:12 PM, Nikos Balkanas wrote: > Got it. I'm on it:) > ?Tried to submit patch to gerrit: -> git push git://gerrit.osmocom.org/osmocom-bb HEAD:refs/for/master/Minor_Typo_Fixes fatal: remote error: access denied or repository not exported: /osmocom-bb Is the path right?? > On Mon, May 14, 2018 at 2:45 PM, Neels Hofmeyr > wrote: > >> On Sun, May 13, 2018 at 09:28:57PM +0300, Nikos Balkanas wrote: >> > The wiki is a non standard unix location, but a more convenient one. I >> > propose to fix the info in README.building, >> > to avoid future issues. The fix can be as simple as "Prerequisite is the >> > armel toolchain. Check the for installation" >> >> Patches welcome! >> osmocom-bb is managed at gerrit.osmocom.org, to post a patch see >> https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit >> >> ~N >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From laforge at gnumonks.org Mon May 14 19:43:16 2018 From: laforge at gnumonks.org (Harald Welte) Date: Mon, 14 May 2018 21:43:16 +0200 Subject: osmocom-bb installation help In-Reply-To: References: Message-ID: <20180514194316.GE9313@nataraja> Hi Nikos, On Sat, May 12, 2018 at 04:09:47AM +0300, Nikos Balkanas wrote: > According to the src/README.building file, I should get the arm toolchain > from gnuarm.com > This should be updated, gnuarm.com doesn't have any downloads any more. > Instead I installed gcc-arm-linux-gnueabi from ubuntu reps Won't work, sorry. You need the specific toolchain, see https://osmocom.org/projects/baseband/wiki/GnuArmToolchain also note https://osmocom.org/issues/1916 > 1) normal gcc seems to support x-compiling for arm CPUs. Why not use that? if it was that simple, we wouldn't have to rely on one specific old toolchain. The OsmocomBB code was simply developed 8 years ago, and while lots of people ar very enthusiastic about using it, not one such user has been bothering over the coures of 8 years to invest the time to port the code to more modern toolchains :/ The biggest knwon problem is about the fact that GNU binutils changed their features/syntax for the linkerscripts, see https://osmocom.org/issues/1917 > 2) Your stock Makefile tests for CROSS_HOST against arm-elf-gcc. This > should be updated to test also against arm-linux-gnueabi-gcc from > gcc-arm-linux-gnueabi package No, it should not be updated, as it won't match a toolchain/compiler that will produce a working binary. > 3) configure warnings: > configure: WARNING: unrecognized options: --disable-tests, --disable-tests. > Should be disabled if not supported any more > checking for arm-linux-gnueabi-mt... no > checking for mt... mt > configure: WARNING: using cross tools not prefixed with host triplet > Is there a problem to use the OS mt? It would be helpful if you could explain which "configure" are you talking about? There are a total of _7_ configure scripts in the osmocom-bb source tree. > 4) configure asks for libosmovty >= 0.10.0. libosmovty is part of > libosmocore. Latest libosmocore master provides libosmovty 0.9.0.16-abc4:( Again, *which* configure? Also, are you talking about a requirement for libosmcoore on the host or on the target? The libosmocore included in the osmocom-bb.git repository is *ONLY FOR CROSS-COMPILATION TO THE TARGET* as is stated very clearly in README.building. Also, the master makefile will not do that. As written already earlier, libosmocore.git contains a version >= 0.10.0 for more than six months. Please make sure you understand your build process and ensure you are not using outdated source code to build, or building against outdated installs of libosmocore that may still be somewhere installed in your search paths. btw: the OpenSUSE package feeds by Martin Hauke contain builds of a suitable cross-compiler as well as pre-compiled omsocom-bb firmware: https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly This is not available in the official osmocom Debian builds. We're always happy to merge related contributions, though. Regards, Harald -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From nbalkanas at gmail.com Mon May 14 21:40:21 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 15 May 2018 00:40:21 +0300 Subject: osmocom-bb installation help In-Reply-To: <20180514194316.GE9313@nataraja> References: <20180514194316.GE9313@nataraja> Message-ID: Hi Harald, This was a rather old post, ~3 days ago. All these issues have been resolved in subsequent mails. Thx for your thoughtful and lengthy response. The configure I was referring to is the libosmocore/configure. Back then, I didn't know that there were 7! Have already a patch for it, waiting for access by Neel. I'm using a clean libosmocore. Outdated version was due to nginx caching the https request. Resolved by using the git request. When I was writing this, I assumed that all ARM toolchains produce correct ARM code. Didn't know about the extensive code written to support it and produce correct Calypso code:( At that point I couldn't find the gnuarm.org toolchain, and tried to use the Linaro, until I was told that you maintain your own, and switched to that. You already support 2 toolchains, no need for more:) BR Nikos On Mon, May 14, 2018 at 10:43 PM, Harald Welte wrote: > Hi Nikos, > > On Sat, May 12, 2018 at 04:09:47AM +0300, Nikos Balkanas wrote: > > According to the src/README.building file, I should get the arm toolchain > > from gnuarm.com > > This should be updated, gnuarm.com doesn't have any downloads any more. > > Instead I installed gcc-arm-linux-gnueabi from ubuntu reps > > Won't work, sorry. You need the specific toolchain, see > > https://osmocom.org/projects/baseband/wiki/GnuArmToolchain > also note > https://osmocom.org/issues/1916 > > > 1) normal gcc seems to support x-compiling for arm CPUs. Why not use > that? > > if it was that simple, we wouldn't have to rely on one specific old > toolchain. > > The OsmocomBB code was simply developed 8 years ago, and while lots of > people ar very enthusiastic about using it, not one such user has been > bothering over the coures of 8 years to invest the time to port the code > to more modern toolchains :/ > > The biggest knwon problem is about the fact that GNU binutils changed > their features/syntax for the linkerscripts, see > https://osmocom.org/issues/1917 > > > 2) Your stock Makefile tests for CROSS_HOST against arm-elf-gcc. This > > should be updated to test also against arm-linux-gnueabi-gcc from > > gcc-arm-linux-gnueabi package > > No, it should not be updated, as it won't match a toolchain/compiler that > will > produce a working binary. > > > 3) configure warnings: > > configure: WARNING: unrecognized options: --disable-tests, > --disable-tests. > > Should be disabled if not supported any more > > checking for arm-linux-gnueabi-mt... no > > checking for mt... mt > > configure: WARNING: using cross tools not prefixed with host triplet > > Is there a problem to use the OS mt? > > It would be helpful if you could explain which "configure" are you > talking about? There are a total of _7_ configure scripts in the > osmocom-bb source tree. > > > 4) configure asks for libosmovty >= 0.10.0. libosmovty is part of > > libosmocore. Latest libosmocore master provides libosmovty > 0.9.0.16-abc4:( > > Again, *which* configure? Also, are you talking about a requirement for > libosmcoore on the host or on the target? > > The libosmocore included in the osmocom-bb.git repository is *ONLY FOR > CROSS-COMPILATION TO THE TARGET* as is stated very clearly in > README.building. Also, the master makefile will not do that. > > As written already earlier, libosmocore.git contains a version >= 0.10.0 > for more than six months. Please make sure you understand your build > process and ensure you are not using outdated source code to build, or > building against outdated installs of libosmocore that may still be > somewhere installed in your search paths. > > btw: the OpenSUSE package feeds by Martin Hauke contain builds of a > suitable > cross-compiler as well as pre-compiled omsocom-bb firmware: > https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly > > This is not available in the official osmocom Debian builds. We're > always happy to merge related contributions, though. > > Regards, > Harald > -- > - Harald Welte > http://laforge.gnumonks.org/ > ============================================================ > ================ > "Privacy in residential applications is a desirable marketing option." > (ETSI EN 300 175-7 Ch. > A6) > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Tue May 15 00:31:40 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 15 May 2018 03:31:40 +0300 Subject: Osmocon Message-ID: Hi, To run osmocom-bb I need to install and use osmocon. Can't find it in git repos. Where is it hiding? TIA Nikos -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Tue May 15 00:40:02 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 15 May 2018 03:40:02 +0300 Subject: Osmocon In-Reply-To: References: Message-ID: Plz disregard. Found it in osmocom-bb:) On Tue, May 15, 2018 at 3:31 AM, Nikos Balkanas wrote: > Hi, > > To run osmocom-bb I need to install and use osmocon. > Can't find it in git repos. Where is it hiding? > > TIA > Nikos > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vvvelichkov at gmail.com Tue May 15 00:46:26 2018 From: vvvelichkov at gmail.com (Vasil Velichkov) Date: Tue, 15 May 2018 03:46:26 +0300 Subject: Osmocon In-Reply-To: References: Message-ID: <8a2bdf3e-dd32-2552-ac47-0cf4d490e4bd@gmail.com> Hi Nikos, ?? 15.05.2018 ? 03:31, Nikos Balkanas ??????: > To run osmocom-bb I need to install and use osmocon. > Can't find it in git repos. Where is it hiding? It's part of osmocom-bb. http://git.osmocom.org/osmocom-bb/tree/src/host/osmocon Vasil -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Tue May 15 01:20:38 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 15 May 2018 04:20:38 +0300 Subject: Osmocon In-Reply-To: <8a2bdf3e-dd32-2552-ac47-0cf4d490e4bd@gmail.com> References: <8a2bdf3e-dd32-2552-ac47-0cf4d490e4bd@gmail.com> Message-ID: Ty Vasil, Found it:) Seems it supports only serial interfaces:( PCs since 5 years back don't have any more serial interfaces. Only usb:( Planning to add usb support to osmocon. Is there any interest for a patch, or should I do it just for myself? PS: You can convert a USB port to serial with a USB2serial converter:) BR Nikos On Tue, May 15, 2018 at 3:46 AM, Vasil Velichkov wrote: > Hi Nikos, > ?? 15.05.2018 ? 03:31, Nikos Balkanas ??????: > > To run osmocom-bb I need to install and use osmocon. > Can't find it in git repos. Where is it hiding? > > > It's part of osmocom-bb. http://git.osmocom.org/osmocom-bb/tree/src/host/ > osmocon > > Vasil > -------------- next part -------------- An HTML attachment was scrubbed... URL: From craig at unreasonablefarm.org Tue May 15 02:24:00 2018 From: craig at unreasonablefarm.org (Craig Comstock) Date: Mon, 14 May 2018 21:24:00 -0500 Subject: Osmocon In-Reply-To: References: <8a2bdf3e-dd32-2552-ac47-0cf4d490e4bd@gmail.com> Message-ID: <20180515022400.GB26105@localhost.localdomain> Hi Nikos, > Planning to add usb support to osmocon. > Is there any interest for a patch, or should I do it just for myself? > > PS: You can convert a USB port to serial with a USB2serial converter:) Exactly. I have mostly used a USB to serial adapter without modifying osmocom-bb code at all. At one point I also built osmocom-bb natively on a raspberry-pi and was able to operate that way to some extent. -Craig From nbalkanas at gmail.com Tue May 15 04:02:07 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 15 May 2018 07:02:07 +0300 Subject: Osmocon In-Reply-To: <20180515022400.GB26105@localhost.localdomain> References: <8a2bdf3e-dd32-2552-ac47-0cf4d490e4bd@gmail.com> <20180515022400.GB26105@localhost.localdomain> Message-ID: Ty Craig, I'll try it for myself before changing anything:) I'm surprised, however, that osmocon can work like that. RS232 interfaces need different initialization (baud rate, stop bits, parity, etc) that usb doesn't understant! Nikos On Tue, May 15, 2018 at 5:24 AM, Craig Comstock wrote: > Hi Nikos, > > > Planning to add usb support to osmocon. > > Is there any interest for a patch, or should I do it just for myself? > > > > PS: You can convert a USB port to serial with a USB2serial converter:) > > Exactly. I have mostly used a USB to serial adapter without modifying > osmocom-bb code at all. At one point I also built osmocom-bb natively on a > raspberry-pi and was able to operate that way to some extent. > > -Craig > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Tue May 15 04:21:07 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 15 May 2018 07:21:07 +0300 Subject: Osmocon In-Reply-To: References: <8a2bdf3e-dd32-2552-ac47-0cf4d490e4bd@gmail.com> <20180515022400.GB26105@localhost.localdomain> Message-ID: I guess, both are serial protocols and the hardware adaptor takes care of legit default serial values. Still the problem is to find a free available usb port for communication:( Will have to test and see:) Nikos On Tue, May 15, 2018 at 7:02 AM, Nikos Balkanas wrote: > Ty Craig, > > I'll try it for myself before changing anything:) > > I'm surprised, however, that osmocon can work like that. RS232 interfaces > need different initialization (baud rate, stop bits, parity, etc) that usb > doesn't understant! > > Nikos > > On Tue, May 15, 2018 at 5:24 AM, Craig Comstock < > craig at unreasonablefarm.org> wrote: > >> Hi Nikos, >> >> > Planning to add usb support to osmocon. >> > Is there any interest for a patch, or should I do it just for myself? >> > >> > PS: You can convert a USB port to serial with a USB2serial converter:) >> >> Exactly. I have mostly used a USB to serial adapter without modifying >> osmocom-bb code at all. At one point I also built osmocom-bb natively on a >> raspberry-pi and was able to operate that way to some extent. >> >> -Craig >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From domi at tomcsanyi.net Tue May 15 08:26:53 2018 From: domi at tomcsanyi.net (=?utf-8?B?VG9tY3PDoW55aSwgRG9tb25rb3M=?=) Date: Tue, 15 May 2018 10:26:53 +0200 (CEST) Subject: Osmocon In-Reply-To: References: <8a2bdf3e-dd32-2552-ac47-0cf4d490e4bd@gmail.com> <20180515022400.GB26105@localhost.localdomain> Message-ID: <00F4BACF-9200-4F5E-A3E5-CC7CFA27F805@tomcsanyi.net> Hi Nikos, I?m really happy to see someone being so enthusiastic about testing out OsmocomBB. It is definitely one of the most intereting open-source projects out there. However I feel like there is an imbalance between the amount of mails being sent and the amount of fiddling done. Don?t take this the wrong way, but if you attempted to compile the code and test it out, or watch some talks/videos you would not need to search for osmocon or try to extend it with USB support. I am only saying this because the amount of time spent on writing the mails in question would have been enough, in my opinion, to actually do the task in question. Therefore it does not always make sense to write an email before just trying it out. Don?t worry about trying out things, there is not much chance of you breaking anything :). All in all this software was created, as far as I know by people testing and trying tirelessly and eventually succeeding in achieving their goals. This is the spirit of hacking and open-source. Happy hacking, get your fingers dirty :)! Domi 2018. m?j. 15. d?tummal, 6:22 id?pontban Nikos Balkanas ?rta: > > I guess, both are serial protocols and the hardware adaptor takes care of legit default serial values. > Still the problem is to find a free available usb port for communication:( > Will have to test and see:) > > > Nikos > >> On Tue, May 15, 2018 at 7:02 AM, Nikos Balkanas wrote: >> Ty Craig, >> >> I'll try it for myself before changing anything:) >> >> I'm surprised, however, that osmocon can work like that. RS232 interfaces need different initialization (baud rate, stop bits, parity, etc) that usb doesn't understant! >> >> Nikos >> >>> On Tue, May 15, 2018 at 5:24 AM, Craig Comstock wrote: >>> Hi Nikos, >>> >>> > Planning to add usb support to osmocon. >>> > Is there any interest for a patch, or should I do it just for myself? >>> > >>> > PS: You can convert a USB port to serial with a USB2serial converter:) >>> >>> Exactly. I have mostly used a USB to serial adapter without modifying osmocom-bb code at all. At one point I also built osmocom-bb natively on a raspberry-pi and was able to operate that way to some extent. >>> >>> -Craig >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Tue May 15 08:45:01 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 15 May 2018 11:45:01 +0300 Subject: Osmocon In-Reply-To: <00F4BACF-9200-4F5E-A3E5-CC7CFA27F805@tomcsanyi.net> References: <8a2bdf3e-dd32-2552-ac47-0cf4d490e4bd@gmail.com> <20180515022400.GB26105@localhost.localdomain> <00F4BACF-9200-4F5E-A3E5-CC7CFA27F805@tomcsanyi.net> Message-ID: Hi Domi, You don't understand. I'm neither afraid or enthusiastic about it. I cannot test yet. Still waiting on my phone:( Nikos On Tue, May 15, 2018 at 11:26 AM, Tomcs?nyi, Domonkos wrote: > Hi Nikos, > > I?m really happy to see someone being so enthusiastic about testing out > OsmocomBB. It is definitely one of the most intereting open-source projects > out there. > > However I feel like there is an imbalance between the amount of mails > being sent and the amount of fiddling done. Don?t take this the wrong way, > but if you attempted to compile the code and test it out, or watch some > talks/videos you would not need to search for osmocon or try to extend it > with USB support. I am only saying this because the amount of time spent on > writing the mails in question would have been enough, in my opinion, to > actually do the task in question. Therefore it does not always make sense > to write an email before just trying it out. Don?t worry about trying out > things, there is not much chance of you breaking anything :). > All in all this software was created, as far as I know by people testing > and trying tirelessly and eventually succeeding in achieving their goals. > This is the spirit of hacking and open-source. > > Happy hacking, get your fingers dirty :)! > > Domi > > > 2018. m?j. 15. d?tummal, 6:22 id?pontban Nikos Balkanas < > nbalkanas at gmail.com> ?rta: > > > I guess, both are serial protocols and the hardware adaptor takes care of > legit default serial values. > Still the problem is to find a free available usb port for communication:( > Will have to test and see:) > > > Nikos > > On Tue, May 15, 2018 at 7:02 AM, Nikos Balkanas > wrote: > >> Ty Craig, >> >> I'll try it for myself before changing anything:) >> >> I'm surprised, however, that osmocon can work like that. RS232 interfaces >> need different initialization (baud rate, stop bits, parity, etc) that usb >> doesn't understant! >> >> Nikos >> >> On Tue, May 15, 2018 at 5:24 AM, Craig Comstock < >> craig at unreasonablefarm.org> wrote: >> >>> Hi Nikos, >>> >>> > Planning to add usb support to osmocon. >>> > Is there any interest for a patch, or should I do it just for myself? >>> > >>> > PS: You can convert a USB port to serial with a USB2serial converter:) >>> >>> Exactly. I have mostly used a USB to serial adapter without modifying >>> osmocom-bb code at all. At one point I also built osmocom-bb natively on a >>> raspberry-pi and was able to operate that way to some extent. >>> >>> -Craig >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pespin at sysmocom.de Tue May 15 11:28:24 2018 From: pespin at sysmocom.de (Pau Espin Pedrol) Date: Tue, 15 May 2018 13:28:24 +0200 Subject: osmocom-bb compilation problems In-Reply-To: References: <20180514114513.GE1266@my.box> Message-ID: Hi, On 14/05/18 20:38, Nikos Balkanas wrote: > -> git push git://gerrit.osmocom.org/osmocom-bb > HEAD:refs/for/master/Minor_Typo_Fixes > fatal: remote error: access denied or repository not exported: /osmocom-bb > > Is the path right?? No, it's not. You must use: ssh://YOUR_USER at gerrit.osmocom.org:29418/osmocom-bb.git -- - Pau Espin Pedrol http://www.sysmocom.de/ ======================================================================= * sysmocom - systems for mobile communications GmbH * Alt-Moabit 93 * 10559 Berlin, Germany * Sitz / Registered office: Berlin, HRB 134158 B * Geschaeftsfuehrer / Managing Director: Harald Welte From nhofmeyr at sysmocom.de Tue May 15 12:38:03 2018 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Tue, 15 May 2018 14:38:03 +0200 Subject: osmocom-bb compilation problems In-Reply-To: References: <20180514114513.GE1266@my.box> Message-ID: <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> On Mon, May 14, 2018 at 09:38:42PM +0300, Nikos Balkanas wrote: > On Mon, May 14, 2018 at 8:12 PM, Nikos Balkanas wrote: > > > Got it. I'm on it:) > > > > ?Tried to submit patch to gerrit: > > -> git push git://gerrit.osmocom.org/osmocom-bb > HEAD:refs/for/master/Minor_Typo_Fixes > fatal: remote error: access denied or repository not exported: /osmocom-bb Well, what can I say. Please carefully read the wiki page: https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit you will note the URL ssh://$USERNAME at gerrit.osmocom.org:29418/$PROJECT.git ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nbalkanas at gmail.com Wed May 16 01:47:32 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Wed, 16 May 2018 04:47:32 +0300 Subject: osmocom-bb compilation problems In-Reply-To: <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> References: <20180514114513.GE1266@my.box> <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> Message-ID: On Tue, May 15, 2018 at 3:38 PM, Neels Hofmeyr wrote: > On Mon, May 14, 2018 at 09:38:42PM +0300, Nikos Balkanas wrote: > > On Mon, May 14, 2018 at 8:12 PM, Nikos Balkanas > wrote: > > > > > Got it. I'm on it:) > > > > > > > ?Tried to submit patch to gerrit: > > > > -> git push git://gerrit.osmocom.org/osmocom-bb > > HEAD:refs/for/master/Minor_Typo_Fixes > > fatal: remote error: access denied or repository not exported: > /osmocom-bb > > Well, what can I say. Please carefully read the wiki page: > https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit > you will note the URL ssh://$USERNAME at gerrit.osmocom > .org:29418/$PROJECT.git > > ~N > ?I think I got it working. I got this cryptic response: -> git push ssh://osmo/osmocom-bb.git Everything up-to-date ?Anyway to check if changes committed? Cloning from gerrit will just give me ?the main osmocom-bb.git :( Nikos -------------- next part -------------- An HTML attachment was scrubbed... URL: From nhofmeyr at sysmocom.de Wed May 16 12:38:02 2018 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Wed, 16 May 2018 14:38:02 +0200 Subject: osmocom-bb compilation problems In-Reply-To: References: <20180514114513.GE1266@my.box> <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> Message-ID: <20180516123802.GB29604@my.box> On Wed, May 16, 2018 at 04:47:32AM +0300, Nikos Balkanas wrote: > ?I think I got it working. I got this cryptic response: > > -> git push ssh://osmo/osmocom-bb.git > Everything up-to-date That is definitely not how to push a patch for review to gerrit. Look, you're the first to have trouble reading the wiki page on Gerrit submissions, I believe the information there is quite clear. If it isn't, then we should fix that. Let us know where we lose you. If you still can't get it to work, please show us your ~/.ssh/config that you apparently use, share the state your git clone is in and your complete commandline and output that you use to push the patch. > ?Anyway to check if changes committed? > Cloning from gerrit will just give me ?the main osmocom-bb.git :( You are merely allowed to push a patch for review. Cloning osmocom-bb.git will only contain your patch if we approved and merged it. Usually that takes a couple of review iterations on gerrit.osmocom.org first. You have created a user on gerrit.osmocom.org? ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nbalkanas at gmail.com Wed May 16 19:34:00 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Wed, 16 May 2018 22:34:00 +0300 Subject: osmocom-bb compilation problems In-Reply-To: <20180516123802.GB29604@my.box> References: <20180514114513.GE1266@my.box> <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> <20180516123802.GB29604@my.box> Message-ID: On Wed, May 16, 2018 at 3:38 PM, Neels Hofmeyr wrote: > On Wed, May 16, 2018 at 04:47:32AM +0300, Nikos Balkanas wrote: > > ?I think I got it working. I got this cryptic response: > > > > -> git push ssh://osmo/osmocom-bb.git > > Everything up-to-date > > That is definitely not how to push a patch for review to gerrit. > > Look, you're the first to have trouble reading the wiki page on Gerrit > submissions, I believe the information there is quite clear. If it isn't, > then > we should fix that. Let us know where we lose you. > ?Too much Information. Confusing. There should be only 3 headers aside from the introductory why you use gerrit: 1) Creating user in gerrit 2) Setting up gerrit for commits and pushing 3) Push Patch for Review The only relevant entry in there is "Push for Review", and It is wrong:( git push gerrit HEAD:refs/for/master/my_topic It is different from what you told me in this mail, and gerrit is not an FQD. When I try to use FQD for gerrit, I get pubkey errors: -> git push nbalkanas at gerrit.osmocom.org:29418 HEAD:refs/for/master/Minor_Typo_Fixes Permission denied (publickey). fatal: Could not read from remote repository. If you still can't get it to work, please show us your ~/.ssh/config that > you > apparently use, share the state your git clone is in and your complete > commandline and output that you use to push the patch. > > - ?> cat .ssh/config ServerAliveInterval = 300 Host osmo Hostname gerrit.osmocom.org Port 29418 User nbalkanas ?-> git status ?On branch master Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) modified: src/README.building no changes added to commit (use "git add" and/or "git commit -a") -> git add src/README.building -> git add -f src/shared/libosmocore/configure -> git push ssh://osmo/osmocom-bb.git Everything up-to-date > ?Anyway to check if changes committed? > > Cloning from gerrit will just give me ?the main osmocom-bb.git :( > > You are merely allowed to push a patch for review. Cloning osmocom-bb.git > will > only contain your patch if we approved and merged it. Usually that takes a > couple of review iterations on gerrit.osmocom.org first. > > ? That's a major shortcoming. CVS has its problems but at least you can check what you have just commited:(? > You have created a user on gerrit.osmocom.org? > ?Yes, I created user and added public key. Otherwise I would keep getting: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. > ~N > -------------- next part -------------- An HTML attachment was scrubbed... URL: From domi at tomcsanyi.net Wed May 16 21:32:45 2018 From: domi at tomcsanyi.net (=?utf-8?B?VG9tY3PDoW55aSwgRG9tb25rb3M=?=) Date: Wed, 16 May 2018 23:32:45 +0200 (CEST) Subject: osmocom-bb compilation problems In-Reply-To: References: <20180514114513.GE1266@my.box> <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> <20180516123802.GB29604@my.box> Message-ID: <9A2C137A-55EF-4484-B36F-B04FC0AD07AA@tomcsanyi.net> Hi Nikos, > ?-> git status > > ?On branch master > Your branch is up-to-date with 'origin/master'. > > Changes not staged for commit: > (use "git add ..." to update what will be committed) > (use "git checkout -- ..." to discard changes in working directory) > > modified: src/README.building > > no changes added to commit (use "git add" and/or "git commit -a") > > -> git add src/README.building > -> git add -f src/shared/libosmocore/configure > -> git push ssh://osmo/osmocom-bb.git > > Everything up-to-date You seem to be missing a vital step - committing. After files are added to a commit you need to ?finalize it?, so to speak, by saying git commit -m ?commit message? After that you can push. >> > ?Anyway to check if changes committed? >> > Cloning from gerrit will just give me ?the main osmocom-bb.git :( >> >> You are merely allowed to push a patch for review. Cloning osmocom-bb.git will >> only contain your patch if we approved and merged it. Usually that takes a >> couple of review iterations on gerrit.osmocom.org first. >> > ? > That's a major shortcoming. CVS has its problems but at least you can check what you have just commited:(? Please do not compare apples to oranges. The whole point of using gerrit is to have a streamlined patch review process in place. With a little bit of patience you can learn the way git works and after that you will see it is just as easy as cvs, but you do need to learn it! I would be happy to find some introductory manual about git usage to help getting you on track. Cheers, Domi -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Wed May 16 21:59:55 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Thu, 17 May 2018 00:59:55 +0300 Subject: osmocom-bb compilation problems In-Reply-To: <9A2C137A-55EF-4484-B36F-B04FC0AD07AA@tomcsanyi.net> References: <20180514114513.GE1266@my.box> <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> <20180516123802.GB29604@my.box> <9A2C137A-55EF-4484-B36F-B04FC0AD07AA@tomcsanyi.net> Message-ID: Ty domi, I got further along with commit:) Unfortunately, it now tells me that user nbalkanas has no rights to push:( Np, I can find help for git myself, if I need to. On the bright side, git offers enough messages during push, so no checking of committed data is needed @Neels, can you please authorize me? BR, Nikos On Thu, May 17, 2018 at 12:32 AM, Tomcs?nyi, Domonkos wrote: > Hi Nikos, > > > ?-> git status > > ?On branch master > Your branch is up-to-date with 'origin/master'. > > Changes not staged for commit: > (use "git add ..." to update what will be committed) > (use "git checkout -- ..." to discard changes in working directory) > > modified: src/README.building > > no changes added to commit (use "git add" and/or "git commit -a") > > -> git add src/README.building > -> git add -f src/shared/libosmocore/configure > -> git push ssh://osmo/osmocom-bb.git > > Everything up-to-date > > > You seem to be missing a vital step - committing. > After files are added to a commit you need to ?finalize it?, so to speak, > by saying > git commit -m ?commit message? > > After that you can push. > > > > ?Anyway to check if changes committed? >> > Cloning from gerrit will just give me ?the main osmocom-bb.git :( >> >> You are merely allowed to push a patch for review. Cloning osmocom-bb.git >> will >> only contain your patch if we approved and merged it. Usually that takes a >> couple of review iterations on gerrit.osmocom.org first. >> >> ? > That's a major shortcoming. CVS has its problems but at least you can > check what you have just commited:(? > > > Please do not compare apples to oranges. The whole point of using gerrit > is to have a streamlined patch review process in place. > With a little bit of patience you can learn the way git works and after > that you will see it is just as easy as cvs, but you do need to learn it! > > I would be happy to find some introductory manual about git usage to help > getting you on track. > > Cheers, > Domi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nhofmeyr at sysmocom.de Thu May 17 00:55:05 2018 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Thu, 17 May 2018 02:55:05 +0200 Subject: osmocom-bb compilation problems In-Reply-To: References: <20180514114513.GE1266@my.box> <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> <20180516123802.GB29604@my.box> <9A2C137A-55EF-4484-B36F-B04FC0AD07AA@tomcsanyi.net> Message-ID: <20180517005505.GA28788@my.box> On Thu, May 17, 2018 at 12:59:55AM +0300, Nikos Balkanas wrote: > -> git push ssh://osmo/osmocom-bb.git Admitted, the patch pushing instructions only matched the case where one added a secondary 'gerrit' remote. So I tweaked the "Push for review" section: https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit#Push-for-review In another mail you posted an SSH access error. You have added your SSH public key to your gerrit user as instructed on the wiki, right? ~N -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From nbalkanas at gmail.com Thu May 17 01:14:37 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Thu, 17 May 2018 04:14:37 +0300 Subject: osmocom-bb compilation problems In-Reply-To: <20180517005505.GA28788@my.box> References: <20180514114513.GE1266@my.box> <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> <20180516123802.GB29604@my.box> <9A2C137A-55EF-4484-B36F-B04FC0AD07AA@tomcsanyi.net> <20180517005505.GA28788@my.box> Message-ID: Yeah, I have done all that. I'm still confused with the "Push for review" section. -> git push gerrit HEAD:refs/for/master fatal: 'gerrit' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. As I mentioned to Domi, I just need push priviledges to gerrit. This is my output: -> cat .ssh/config ServerAliveInterval = 300 Host osmo Hostname gerrit.osmocom.org Port 29418 User nbalkanas -> git push ssh://osmo/osmocom-bb.git Counting objects: 32, done. Delta compression using up to 8 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 96.37 KiB | 0 bytes/s, done. Total 7 (delta 4), reused 0 (delta 0) remote: Resolving deltas: 100% (4/4) remote: Branch refs/heads/master: remote: You are not allowed to perform this operation. remote: To push into this reference you need 'Push' rights. remote: User: nbalkanas remote: Please read the documentation and contact an administrator remote: if you feel the configuration is incorrect remote: Processing changes: refs: 1, done To ssh://osmo/osmocom-bb.git ! [remote rejected] master -> master (prohibited by Gerrit: ref update access denied) error: failed to push some refs to 'ssh://osmo/osmocom-bb.git' gerrit is not a repository:( I also don't have priviledges to post to gerrit, which is fine, it is the gerrit master, and not the gerrit review... Not that for the git push output i've posted, all pubkeys and accounts are in order... Nikos On Thu, May 17, 2018 at 3:55 AM, Neels Hofmeyr wrote: > On Thu, May 17, 2018 at 12:59:55AM +0300, Nikos Balkanas wrote: > > -> git push ssh://osmo/osmocom-bb.git > > Admitted, the patch pushing instructions only matched the case where one > added > a secondary 'gerrit' remote. So I tweaked the "Push for review" section: > https://osmocom.org/projects/cellular-infrastructure/wiki/ > Gerrit#Push-for-review > > In another mail you posted an SSH access error. You have added your SSH > public > key to your gerrit user as instructed on the wiki, right? > > ~N > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Thu May 17 02:34:59 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Thu, 17 May 2018 05:34:59 +0300 Subject: osmocom-bb compilation problems In-Reply-To: References: <20180514114513.GE1266@my.box> <20180515123803.roysx2vcglzhq355@ass40.sysmocom.de> <20180516123802.GB29604@my.box> <9A2C137A-55EF-4484-B36F-B04FC0AD07AA@tomcsanyi.net> <20180517005505.GA28788@my.box> Message-ID: OK. Finally figured out what I was doing wrong. Did the Tip & Trick "Fetch fast from git.osmocom.org push to gerrit" and thought adding gerrit to an existing clone was redundant and maybe damaging:( So, I omitted it and proceeded to push for review. Failed. This time I added gerrit to an existing clone and proceeded with the push for review: -> git push gerrit HEAD:refs/for/master/Minor_Typo_Fixes Counting objects: 32, done. Delta compression using up to 8 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 96.41 KiB | 0 bytes/s, done. Total 7 (delta 4), reused 0 (delta 0) remote: Resolving deltas: 100% (4/4) remote: Processing changes: new: 1, done remote: remote: New Changes: remote: https://gerrit.osmocom.org/#/c/osmocom-bb/+/9209 Minor Typo Fixes remote: To ssh://nbalkanas at gerrit.osmocom.org:29418/osmocom-bb.git * [new branch] HEAD -> refs/for/master/Minor_Typo_Fixes I even got a mail alert from it Finally it's over:) Suggestion to avoid similar future issues: Delete header "Add gerrit to an existing clone" and maybe add it as a comment Place Its content under "Push to Review" Keeping it as a separate heading, made me think that It's unrelated to "Push to review" The choice of target "gerrit" in the push command is unfortunate, since it can be confused for a host, gerrit.osmocom.org BR Nikos On Thu, May 17, 2018 at 4:14 AM, Nikos Balkanas wrote: > Yeah, I have done all that. > I'm still confused with the "Push for review" section. > > -> git push gerrit HEAD:refs/for/master > fatal: 'gerrit' does not appear to be a git repository > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights > and the repository exists. > > As I mentioned to Domi, I just need push priviledges to gerrit. > This is my output: > > -> cat .ssh/config > ServerAliveInterval = 300 > Host osmo > Hostname gerrit.osmocom.org > Port 29418 > User nbalkanas > > -> git push ssh://osmo/osmocom-bb.git > Counting objects: 32, done. > Delta compression using up to 8 threads. > Compressing objects: 100% (7/7), done. > Writing objects: 100% (7/7), 96.37 KiB | 0 bytes/s, done. > Total 7 (delta 4), reused 0 (delta 0) > remote: Resolving deltas: 100% (4/4) > remote: Branch refs/heads/master: > remote: You are not allowed to perform this operation. > remote: To push into this reference you need 'Push' rights. > remote: User: nbalkanas > remote: Please read the documentation and contact an administrator > remote: if you feel the configuration is incorrect > remote: Processing changes: refs: 1, done > To ssh://osmo/osmocom-bb.git > ! [remote rejected] master -> master (prohibited by Gerrit: ref update > access denied) > error: failed to push some refs to 'ssh://osmo/osmocom-bb.git' > > gerrit is not a repository:( I also don't have priviledges to post to > gerrit, which is fine, it is the gerrit > master, and not the gerrit review... > Not that for the git push output i've posted, all pubkeys and accounts are > in order... > > Nikos > > On Thu, May 17, 2018 at 3:55 AM, Neels Hofmeyr > wrote: > >> On Thu, May 17, 2018 at 12:59:55AM +0300, Nikos Balkanas wrote: >> > -> git push ssh://osmo/osmocom-bb.git >> >> Admitted, the patch pushing instructions only matched the case where one >> added >> a secondary 'gerrit' remote. So I tweaked the "Push for review" section: >> https://osmocom.org/projects/cellular-infrastructure/wiki/Ge >> rrit#Push-for-review >> >> In another mail you posted an SSH access error. You have added your SSH >> public >> key to your gerrit user as instructed on the wiki, right? >> >> ~N >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Thu May 17 08:09:27 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Thu, 17 May 2018 11:09:27 +0300 Subject: Calypso Image Message-ID: Hi, I've downloaded Calypso's image. I would like to study it. Who did the analysis and what tools did he used for it in http://osmocom.org/projects/baseband/wiki/HardwareCalypsoDSP? TIA Nikos -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbalkanas at gmail.com Tue May 22 05:00:57 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 22 May 2018 08:00:57 +0300 Subject: Calypso Image In-Reply-To: References: Message-ID: Any news? According to target_dsp/ida/?README.txt, which is not signed, some of the modifications to the Hex-Rays IDA SDK need the author's help. I have compiled the processor with most of its attributes, but I could use help with the stub feature to load include files. Who is he and how can I get in touch with him? TIA Nikos On Thu, May 17, 2018 at 11:09 AM, Nikos Balkanas wrote: > Hi, > > I've downloaded Calypso's image. I would like to study it. > Who did the analysis and what tools did he used for it in > http://osmocom.org/projects/baseband/wiki/HardwareCalypsoDSP? > > TIA > Nikos > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 246tnt at gmail.com Tue May 22 05:17:51 2018 From: 246tnt at gmail.com (Sylvain Munaut) Date: Tue, 22 May 2018 07:17:51 +0200 Subject: Calypso Image In-Reply-To: References: Message-ID: Hi, > According to target_dsp/ida/README.txt, which is not signed, some of the > modifications to the Hex-Rays IDA SDK need the > author's help. I have compiled the processor with most of its attributes, > but I could use help with the stub feature to load include files. I don't have the patch any more, I wrote it for IDA 5.5 and most of it actually got merged by hexrays into mainline for 6.0, but not the type system. I actually didn't write support for it really ... just added a hook that did nothing and that allowed to load the .h once and then the patch wasn't needed. I did a post in the hex-rays forum asking how the type system worked, search for it, and I just implemented the hooks with default return values. The other option (which might be easier given it's really simple struct) is to convert the .h with a python script to IDC/IDAPython commands to create the 'struct' in IDA. Cheers, Sylvain From nbalkanas at gmail.com Tue May 22 08:48:30 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Tue, 22 May 2018 11:48:30 +0300 Subject: Calypso Image In-Reply-To: References: Message-ID: Hi Sylvain, So, you are the author of the README and the web page, who did all the work with Calypso.:) I feel more comfortable working with C/C++ than Python. The patch you couldn't publish 'cause of Hex-Rays copyrights. In the case of the hook, in what file should it be placed? Calling convention? In C++ it should create the same IDA structs as in Python. Where can I find their description? I'm using IDA + SDK 6.6. Thank you, Nikos ? On Tue, May 22, 2018 at 8:17 AM, Sylvain Munaut <246tnt at gmail.com> wrote: > Hi, > > > > According to target_dsp/ida/README.txt, which is not signed, some of the > > modifications to the Hex-Rays IDA SDK need the > > author's help. I have compiled the processor with most of its attributes, > > but I could use help with the stub feature to load include files. > > I don't have the patch any more, I wrote it for IDA 5.5 and most of it > actually got merged by hexrays into mainline for 6.0, but not the type > system. > I actually didn't write support for it really ... just added a hook > that did nothing and that allowed to load the .h once and then the > patch wasn't needed. > > I did a post in the hex-rays forum asking how the type system worked, > search > for it, and I just implemented the hooks with default return values. > > The other option (which might be easier given it's really simple > struct) is to convert the .h with a python script to IDC/IDAPython > commands to > create the 'struct' in IDA. > > > Cheers, > > Sylvain > -------------- next part -------------- An HTML attachment was scrubbed... URL: From 246tnt at gmail.com Thu May 24 12:05:56 2018 From: 246tnt at gmail.com (Sylvain Munaut) Date: Thu, 24 May 2018 14:05:56 +0200 Subject: Calypso Image In-Reply-To: References: Message-ID: Hi, Sorry, as I said in my message, I don't have the patch and I don't remember anything about it ... It was 7 years ago ... And again, as I said in my previous message, search or ask in the hex-rays forum. Cheers, Sylvain From nbalkanas at gmail.com Thu May 24 12:15:44 2018 From: nbalkanas at gmail.com (Nikos Balkanas) Date: Thu, 24 May 2018 15:15:44 +0300 Subject: Calypso Image In-Reply-To: References: Message-ID: Oops. Sorry, I didn't realize that. I will try to sort it out myself.. There aren't many names for this hook to have;-) loadsystem, loadinclude... If you remember anything about its name, plz tell me. BR, Nikos On Thu, May 24, 2018 at 3:05 PM, Sylvain Munaut <246tnt at gmail.com> wrote: > Hi, > > Sorry, as I said in my message, I don't have the patch and I don't > remember anything about it ... It was 7 years ago ... > And again, as I said in my previous message, search or ask in the > hex-rays forum. > > Cheers, > > Sylvain > -------------- next part -------------- An HTML attachment was scrubbed... URL: From laforge at gnumonks.org Fri May 25 07:00:33 2018 From: laforge at gnumonks.org (Harald Welte) Date: Fri, 25 May 2018 09:00:33 +0200 Subject: OsmoCon 2018 CfP / submit your topic[s] *now* ! Message-ID: <20180525070033.GC667@nataraja> Dear Osmocom community, one of the main difficulty with OsmoCon 2017 last year was that nobody submitted talks / discussions within the deadline, early enough to allow for proper planning. This lead to the situation where the sysmocom team had to come up with a schedule/agenda on their own. Later on *much after the CfP deadline*, people then squeezed in talks, making the overall schedule too full. It is up to you to avoid this situation again in 2018 by submitting your talk *RIGHT NOW*. We will be very strict regarding late submissions. So if you would like to shape the Agenda of OsmoCon 2018, this is your chance. Please use it. We will have to create a schedule soon, as [almost] nobody will register to a conference unless the schedule is known. If there's not sufficient contribution in terms of CfP response from the wider community, don't complain later that 90% of the talks are from sysmocom team members and only about the Cellular Network Infrastructure topics. You have been warned. Please make your CfP submission in time at https://pretalx.sysmocom.de/osmocon2018/cfp before the CfP deadline on *2018-05-30 23:59 (Europe/Berlin)* Thanks for your kind attention. Looking forward to meet with the community at OsmoCon 2018 in October. Regards, Harald -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From holger at freyther.de Tue May 29 14:17:59 2018 From: holger at freyther.de (Holger Freyther) Date: Tue, 29 May 2018 22:17:59 +0800 Subject: mobile and triggering UL while in state C7/A4? Message-ID: Hey, so while trying to load test a system (using virtual-phy, osmo-bts-virtual) I noticed that the average time for the first UL to succeed is quite high. After some digging it turns out it is the "mobile" behavior and not the RAN. The nice thing about mobile is it tries to follow the GSM state machines, the bad thing is I don't know what the correct behavior is! What happens (ignoring that most of it is async)? * mobile starts * PLMN search starts * For some bad luck no arfcn is found. * The system enters the C6 state * It makes another search, finds an arfcn, selects a cell, starts a timer, C7 state entered * An UL is attempted and blocked by "mobile" (GSM322_EVENT_REG_FAILED sent) * The any timer times out (30s, statically initialized) * PLMN search starts * A cell is found... * ... * An UL is attempted and not blocked. Compressed logs: <0003> gsm322.c:834 new state 'PLMN search' -> 'C0 null' <0002> gsm322.c:3823 (ms 00003) Event 'EVENT_PLMN_SEARCH_END' for automatic PLMN selection in state 'A0 null' .. <0002> gsm322.c:811 new state 'A0 null' -> 'A4 wait for PLMN to appear' <....> <0003> gsm322.c:834 new state 'C6 any cell selection' -> 'C0 null' <0002> gsm322.c:3823 (ms 00003) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN selection in state 'A4 wait for PLMN to appear' <...> <0005> gsm48_mm.c:4312 (ms 00003) Received 'MM_EVENT_NO_CELL_FOUND' event in state MM IDLE, no cell available <0003> gsm322.c:479 Sync to ARFCN=514(DCS) rxlev=-63 (No sysinfo yet, ccch mode NONE) ... <0003> gsm322.c:2719 Received relevant sysinfo. <0003> gsm322.c:713 stopping pending CS timer. ... <000e> gsm322.c:3415 Camping on any cell (ARFCN=514(DCS) mcc=001 mnc=01 Test, Test) <0003> gsm322.c:725 Starting 'any cell selection' timer with 30 seconds. <0003> gsm322.c:834 new state 'C6 any cell selection' -> 'C7 camped on any cell' <0005> gsm48_mm.c:4312 (ms 00003) Received 'MM_EVENT_CELL_SELECTED' event in state MM IDLE, no cell available <0005> gsm48_mm.c:905 new MM IDLE state no cell available -> location updating needed <0005> gsm48_mm.c:905 new MM IDLE state location updating needed -> attempting to update <0005> gsm48_mm.c:424 starting T3212 (periodic loc. upd. delay) with 1800 seconds <0005> gsm48_mm.c:2228 Loc. upd. not allowed. <---- dropped!!! <0002> gsm322.c:3823 (ms 00003) Event 'EVENT_REG_FAILED' for automatic PLMN selection in state 'A4 wait for PLMN to appear' <0002> gsm322.c:3830 Event unhandled at this state. <...> 30s timeout here.. <0003> gsm322.c:3307 'Any cell selection timer' timed out. Starting special search to find allowed PLMNs. <0003> gsm322.c:834 new state 'C7 camped on any cell' -> 'ANY search' What do the specs say? GSM 03.22 define the C states (and refers to 05.08): ? C6 Any Cell Selection - This is where the MS is unable to camp normally on any cell of the selected PLMN, or cannot obtain service because of certain responses to a location registration (LR) attempt. It is searching for a cell of any PLMN to camp on (so that emergency calls can be made). ? C7 Camped on any Cell - This is where the MS has camped on a cell irrespective of its PLMN identity, so that emergency calls can be made. 3gpp 23.122 defines the A states: ? A4 Wait for PLMNs to appear - There are no allowable and available PLMNs at present and the MS is waiting for one to appear. GSM 05.08: For the cell selection, the MS shall be able to select the correct (fourth strongest) cell and be able to respond to paging on that cell within 30 seconds of switch on, when the three strongest cells are not suitable. This assumes a valid SIM with PIN disabled and ideal radio conditions. This requirement is not applicable for multi-RAT mobile stations. The tolerance on all the timing requirements in clause 6 is ? 10 %, except for PENALTY_TIME where it is ? 2 s. What makes sense: Unfortunately the commit adding the check to gsm48_mm_loc_upd_normal doesn't answer why in specific this was done. Given the GSM 05.08 the timeout of 30s seems too high by itself. As a first approximation I intend to make it configurable. I am not sure how to fix as I don't find the spec reference. Do you? One constraint of GSM 03.22 is to save battery when not finding a network but I don't find a clear answer when to leave C7. In GSM 05.08 I couldn't find what I was searching for either. So maybe power scans are better than attempting a UL but maybe we can try to do a UL earlier if the "any" PLMN looks like our HPLMN? Or do gsm48_mm_loc_upd_normal when in GSM322_C7_CAMPED_ANY_CELL.. What do you think? holger From kubohafu at 2odem.com Wed May 9 07:58:51 2018 From: kubohafu at 2odem.com (Windir) Date: Wed, 09 May 2018 07:58:51 -0000 Subject: osmocom-bb-raw help Message-ID: <1525852410551-0.post@n3.nabble.com> Hi guys! help with decoding with the osmocom-bb-raw project, I already have the key (kc) and the burst-file is also there, I need to decode them, how do I use this command for this? ./burst_decode -i 127.0.0.1 -u --fn -t -k -b -b -b -- Sent from: http://baseband-devel.722152.n3.nabble.com/ From cookins87 at gmail.com Fri May 18 20:33:56 2018 From: cookins87 at gmail.com (messiah) Date: Fri, 18 May 2018 20:33:56 -0000 Subject: Bad crc Message-ID: <1526675094617-0.post@n3.nabble.com> Hey thereAlready days working on osmocom...At last my compiler worked out on firmware bin's compilation. So now i start with loader, all fine. But when i was uploading loader from phone there was some issues like "bad crc" in all lines. I noticed that it created file like 8kb in src dir, so to be sure i checked other guys on web, they have same size of that file. So i decided to continue and after i erased 0x01000 page i tried to reupload that file back to check but it saying bad crc and aborting. Hope its not critical for menu loading, which will used for layer1, rssi, etc.? Can somebody share with me that native loader bin file, in case? -- Sent from: http://baseband-devel.722152.n3.nabble.com/