Recommended way to install GR-GSM on a Raspberry Pi 3

1,070 views
Skip to first unread message

Chris K

unread,
May 16, 2017, 6:38:30 AM5/16/17
to gr-gsm
Hello,

we are trying to install GR-GSM on a RPI 3. We walked multiple paths but none was succesful. 

Following the Wiki one to one we came across the problem that GR-GSM is incompatible with the repo version of Gnu Radio (3.7.5.5). (Issue 187)
Trying to use a unstable version of Gnu Radio we land in dependency hell.  
Installing via PyBombs we only get the 3.7.5.5 Version too.

So is there any other way which worked in recent past?

Greetings i pozdrowienia

Chris


Cinaed Simson

unread,
May 17, 2017, 3:55:53 AM5/17/17
to gr-...@googlegroups.com
On 05/16/2017 03:38 AM, Chris K wrote:
> Hello,
>
> we are trying to install GR-GSM on a RPI 3. We walked multiple paths but
> none was succesful.
>
> Following the Wiki one to one we came across the problem that GR-GSM is
> incompatible with the repo version of Gnu Radio (3.7.5.5). (Issue 187)
> <https://github.com/ptrkrysik/gr-gsm/issues/187>
> Trying to use a unstable version of Gnu Radio we land in dependency hell.
> Installing via PyBombs we only get the 3.7.5.5 Version too.
>
> So is there any other way which worked in recent past?

I built it from source code for version 3.7.10.1.

But I couldn't build 3.7.11.

This is for raspbrian - a fork of debian/jessie.

Check your /etc/os-release file - it should indicate the following:

PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Let me check to see if it builds.

I ended up buying a odroid-c2 and I haven't used the rpi3 since I built
gnuradio.

I'm surprised about pybombs. There are dependencies regardless of which
sources you use.

I can send you a script which uses apt-get to install all the requried
dependences.

-- Cinaed

>
> Greetings i pozdrowienia
>
> Chris
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "gr-gsm" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gr-gsm+un...@googlegroups.com
> <mailto:gr-gsm+un...@googlegroups.com>.
> To post to this group, send email to gr-...@googlegroups.com
> <mailto:gr-...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gr-gsm/0d4e4e55-e529-42de-a4a1-18cc274a0e66%40googlegroups.com
> <https://groups.google.com/d/msgid/gr-gsm/0d4e4e55-e529-42de-a4a1-18cc274a0e66%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Chris K

unread,
May 17, 2017, 4:49:02 AM5/17/17
to gr-gsm
Hello Cinead,

the /etc/os-release file indicates the same as you stated. 

The Version we tried was:  jessie-backports (comm): GNU Radio Software Radio Toolkit 3.7.10.1-1~bpo8+1

The Script could be usefull, thanks in advance !

--cridi

Piotr Krysik

unread,
May 18, 2017, 2:38:49 AM5/18/17
to gr-...@googlegroups.com
Hi all,

I will try to look into issue of installing of gr-gsm on Raspberry Pi 3
as it seems there are many people who want to use this device. I don't
have Raspberry Pi 3 though.

Is it possible for someone to provide some (previously checked) guide
how to run current Rasbian in emulator (i.e. qemu)?

Best Regards,
Piotr Krysik

W dniu 17.05.2017 o 10:49, Chris K pisze:
> Hello Cinead,
>
> the /etc/os-release file indicates the same as you stated.
>
> The Version we tried was: jessie-backports
> <https://packages.debian.org/jessie-backports/gnuradio> (comm): GNU
> HOME_URL="http://www.raspbian.org/ <http://www.raspbian.org/>"
> SUPPORT_URL="http://www.raspbian.org/RaspbianForums
> <http://www.raspbian.org/RaspbianForums>"
> BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs
> <http://www.raspbian.org/RaspbianBugs>"
>
> Let me check to see if it builds.
>
> I ended up buying a odroid-c2 and I haven't used the rpi3 since I built
> gnuradio.
>
> I'm surprised about pybombs. There are dependencies regardless of which
> sources you use.
>
> I can send you a script which uses apt-get to install all the requried
> dependences.
>
> -- Cinaed
>
> >
> > Greetings i pozdrowienia
> >
> > Chris
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "gr-gsm" group.
> > To unsubscribe from this group and stop receiving emails from it,
> send
> > an email to gr-gsm+un...@googlegroups.com <javascript:>
> > <mailto:gr-gsm+un...@googlegroups.com <javascript:>>.
> > To post to this group, send email to gr-...@googlegroups.com
> <javascript:>
> > <mailto:gr-...@googlegroups.com <javascript:>>.
> <https://groups.google.com/d/msgid/gr-gsm/0d4e4e55-e529-42de-a4a1-18cc274a0e66%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "gr-gsm" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gr-gsm+un...@googlegroups.com
> <mailto:gr-gsm+un...@googlegroups.com>.
> To post to this group, send email to gr-...@googlegroups.com
> <mailto:gr-...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gr-gsm/fcbc0e0c-e132-4c44-9e30-1180b6e1ddc5%40googlegroups.com
> <https://groups.google.com/d/msgid/gr-gsm/fcbc0e0c-e132-4c44-9e30-1180b6e1ddc5%40googlegroups.com?utm_medium=email&utm_source=footer>.

Cinaed Simson

unread,
May 18, 2017, 2:39:14 AM5/18/17
to Chris K, gr-gsm
Okay here it is. There are some additional libraries needed to build
openbcs - it shouldn't hurt anything - unless you're short on disk
space. And stuff for bluetooth, wireless, video, and wireshark.

Make a backup up of the script, then just delete the lines that are a
problem - I can help resolve those since we may not be starting at the
same point. You can do a diff on the two scripts to figure which
packages had trouble.

Make sure you delete all the previous installs of gnuradio

apt list --installed | grep gnuradio

to get a listing of what's installed.

Then do a

apt-get update
apt-get install gsl-bin libgsl-dev
apt-get install

then run the script.

I built gsl from source so it's not in the script.

After that, install gnuradio-3.7.10.1 from the backports.

Also, you'll need to install

gr-iqbal
gr-osmosdr
gr-gsm

-- Cinaed



On 05/17/2017 01:49 AM, Chris K wrote:
> Hello Cinead,
>
> the /etc/os-release file indicates the same as you stated.
>
> The Version we tried was: jessie-backports
> <https://packages.debian.org/jessie-backports/gnuradio> (comm): GNU
> HOME_URL="http://www.raspbian.org/ <http://www.raspbian.org/>"
> <https://groups.google.com/d/msgid/gr-gsm/0d4e4e55-e529-42de-a4a1-18cc274a0e66%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "gr-gsm" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gr-gsm+un...@googlegroups.com
> <mailto:gr-gsm+un...@googlegroups.com>.
> To post to this group, send email to gr-...@googlegroups.com
> <mailto:gr-...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gr-gsm/fcbc0e0c-e132-4c44-9e30-1180b6e1ddc5%40googlegroups.com
> <https://groups.google.com/d/msgid/gr-gsm/fcbc0e0c-e132-4c44-9e30-1180b6e1ddc5%40googlegroups.com?utm_medium=email&utm_source=footer>.
jessie.sh.rpi3

Chris K

unread,
May 18, 2017, 9:17:37 AM5/18/17
to gr-gsm
So i did as told,

i removed gnuradio with purge and then autoremove so there was nothing left afterwards.

everything went fine till i needed to install gr-osmosdr. There were some unmet dependencies. 
osmosdr needs libgnuradio-osmosdr0.1.3 and libgnuradio-uhd3.7.5 which in turn needs libuhd003 (>= 3.7.2) and so on.. Dependencyhell..


root@raspberrypi:/home/pi# apt-get install gr-osmosdr
...
The following packages have unmet dependencies:
 gr-osmosdr : Depends: libgnuradio-osmosdr0.1.3 but it is not going to be installed
              Depends: libgnuradio-uhd3.7.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


root@raspberrypi:/home/pi# apt-get install libgnuradio-osmosdr0.1.3 libgnuradio-uhd3.7.5 
...
The following packages have unmet dependencies:
 libgnuradio-osmosdr0.1.3 : Depends: libuhd003 but it is not going to be installed
 libgnuradio-uhd3.7.5 : Depends: libuhd003 (>= 3.7.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

root@raspberrypi:/home/pi# apt-get install libuhd003
...
libuhd003 is already the newest version.
libuhd003 set to manually installed.

root@raspberrypi:/home/pi# dpkg -l libuhd*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-=============================================================================
ii  libuhd003:armhf                      3.9.5-1~bpo8+1          armhf                   universal hardware driver for Ettus Research products - library


I will also look into finding an adequat emulator

greetings

Chris

Cinaed Simson

unread,
May 18, 2017, 5:20:58 PM5/18/17
to gr-...@googlegroups.com
On 05/18/2017 06:17 AM, Chris K wrote:
> So i did as told,
>
> i removed gnuradio with purge and then autoremove so there was nothing
> left afterwards.
>
> everything went fine till i needed to install gr-osmosdr. There were
> some unmet dependencies.
> osmosdr needs libgnuradio-osmosdr0.1.3 and libgnuradio-uhd3.7.5 which in
> turn needs libuhd003 (>= 3.7.2) and so on.. Dependencyhell..
>
> |

Great!

You're almost there.

I built everything from source so none of those dependencies were
included in the script.

For the UHD device, install

apt-get install libuhd003

For the HackRF and RTL dongle devices,

apt-get install libosmosdr0
apt-get install librtlsdr0

Next you have install the gnuradio so-called sources and sinks for those
devices - and gr-ibal may be required for gr-osmosdr

ap-get install gr-ibal
ap-get install gr-osmosdr

Also, if you type

apt list | grep gr-

it will give you a list of all the gr modules available.

There aren't many.

-- Cinaed
> --
> You received this message because you are subscribed to the Google
> Groups "gr-gsm" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gr-gsm+un...@googlegroups.com
> <mailto:gr-gsm+un...@googlegroups.com>.
> To post to this group, send email to gr-...@googlegroups.com
> <mailto:gr-...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gr-gsm/777ce3c3-3239-4848-b6aa-f41921f678bc%40googlegroups.com
> <https://groups.google.com/d/msgid/gr-gsm/777ce3c3-3239-4848-b6aa-f41921f678bc%40googlegroups.com?utm_medium=email&utm_source=footer>.

Chris K

unread,
May 23, 2017, 10:50:06 AM5/23/17
to gr-gsm
Hi!

so when i try apt-get install libuhd003 i get:

Code hier eingebroot@raspberrypi:/home/pi# apt-get install libuhd003
...
libuhd003 is already the newest version.
libuhd003 set to manually installed.

root@raspberrypi:/home/pi# dpkg -l libuhd*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-=============================================================================
ii  libuhd003:armhf                      3.9.5-1~bpo8+1          armhf                   universal hardware driver for Ettus Research products - libraryen...

But still it says it is missing? Propably becaus Gnuradio i another Version then it would be when installed from the standard repo?

greetings

(I am still looking in finding an adequat emulator but i couldnt figure anything out on Windows, so i am trying Ubuntu now)

Cinaed Simson

unread,
May 23, 2017, 10:46:18 PM5/23/17
to gr-...@googlegroups.com
On 05/23/2017 07:50 AM, Chris K wrote:
> Hi!
>
> so when i try apt-get install libuhd003 i get:
>
> |
> Codehier eingebroot@raspberrypi:/home/pi# apt-get install libuhd003
> ...
> libuhd003 is already the newest version.
> libuhd003 set to manually installed.
>
> root@raspberrypi:/home/pi# dpkg -l libuhd*
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version
> Architecture Description
> +++-====================================-=======================-=======================-=============================================================================
> ii libuhd003:armhf 3.9.5-1~bpo8+1 armhf
> universal hardware driver for Ettus Research products -
> libraryen...

According to my rpi3, it should be libuhd003 version 3.7.3-1.

If you have a UHD device, then you ask someone on their mailing because
the library goes with firmware on device - the OS version version
typically has trouble with device and the libraries installed and
gnuradio works.

But if you don't have a UHD device, then remove it and install the one
from jessie-backports - the same repository where you download gnuradio.

If there is no backport version, then that means the jessie version will
work - it which case install libuhd003 3.7.3-1.

Or just type

apt-get install libuhd003

then check the version after it's installed.

-- Cinaed


>
> But still it says it is missing? Propably becaus Gnuradio i another
> Version then it would be when installed from the standard repo?
>
> greetings
>
> (I am still looking in finding an adequat emulator but i couldnt figure
> anything out on Windows, so i am trying Ubuntu now)
>
> --
> You received this message because you are subscribed to the Google
> Groups "gr-gsm" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gr-gsm+un...@googlegroups.com
> <mailto:gr-gsm+un...@googlegroups.com>.
> To post to this group, send email to gr-...@googlegroups.com
> <mailto:gr-...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gr-gsm/10ae479f-1871-4a03-a4a1-9dae09012759%40googlegroups.com
> <https://groups.google.com/d/msgid/gr-gsm/10ae479f-1871-4a03-a4a1-9dae09012759%40googlegroups.com?utm_medium=email&utm_source=footer>.

iron...@gmail.com

unread,
Jun 21, 2017, 4:28:04 AM6/21/17
to gr-gsm
Hi everyone,
 
Does somebody successfully run grgsm_livemon on RPI3b or another Single Board PCs (without O's in the output)?

Many thanks.

середа, 24 травня 2017 р. 05:46:18 UTC+3 користувач deanic написав:

Cinaed Simson

unread,
Jun 22, 2017, 11:22:47 PM6/22/17
to gr-...@googlegroups.com
On 06/21/2017 01:28 AM, iron...@gmail.com wrote:
> Hi everyone,
>
> Does somebody successfully run grgsm_livemon on RPI3b or another Single
> Board PCs (without O's in the output)?

There are a lot of reasons why you would get overflows.

-- Cinaed
> <https://groups.google.com/d/msgid/gr-gsm/10ae479f-1871-4a03-a4a1-9dae09012759%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "gr-gsm" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gr-gsm+un...@googlegroups.com
> <mailto:gr-gsm+un...@googlegroups.com>.
> To post to this group, send email to gr-...@googlegroups.com
> <mailto:gr-...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gr-gsm/b91df221-90f6-4c03-8ce1-1a173689f5ee%40googlegroups.com
> <https://groups.google.com/d/msgid/gr-gsm/b91df221-90f6-4c03-8ce1-1a173689f5ee%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages