Is there any way to get an install the gnuradio binaries on raspberry-pi?
I attempted to build the GNURadio on Raspberry Pi. After several hours and many attempts, the build script failed as it could not find libraries with prefix libfftw. Nevertheless I did install them. If I cannot get binaries, how do I successfully compile it?
Alternatively, can I use the GNURadio & companion GUI on an x86 to build an executable that would run on Pi? Is GNURadio not a bunch of Python Scripts?
GNURadio on Raspberry Pi
11 posts
- Posts: 12
- Joined: Thu Sep 13, 2012 11:27 pm
A long shot but have you looked at http://www.fftw.org/
- Posts: 6
- Joined: Wed Oct 24, 2012 9:15 pm
- Location: Cheltenham, UK
Not much is discussed in the FAQ or docs about library not found. And I had installed all libraries that had libfftw prefix. Nothing had worked.
After installing fftw*, the buildscript managed to proceed. A flaw in the script I suppose.
After installing fftw*, the buildscript managed to proceed. A flaw in the script I suppose.
- Posts: 12
- Joined: Thu Sep 13, 2012 11:27 pm
Okay. I finally managed to get the error rounded up. I could not get a proper screen shot
https://www.dropbox.com/s/2e4dqkximyz2o ... 0814.jpg?m
https://www.dropbox.com/s/2e4dqkximyz2o ... 0814.jpg?m
- Posts: 12
- Joined: Thu Sep 13, 2012 11:27 pm
A little bit of search got me a patch - http://lists.gnu.org/archive/html/patch ... 65EP52.txt
However, while applying this patch, I discover that it has already been applied to the git repository. So that is another dead end
However, while applying this patch, I discover that it has already been applied to the git repository. So that is another dead end
- Posts: 12
- Joined: Thu Sep 13, 2012 11:27 pm
I tried to compile it with the the neon disabled
And ended up getting consistent errors at 37% - "Internal Compiler error - file bug report"
- Code: Select all
cmake -Dhave_mfpu_neon=0 -DCMAKE_CXX_FLAGS:STRING="-march=armv6 -mfpu=vfp -mfloat-abi=hard" -DCMAKE_C_FLAGS:STRING="-march=armv6 -mfpu=vfp -mfloat-abi=hard" -CMAKE_CXX_FLAGS "-fexceptions" -CMAKE_CXX_COMPILER "/usr/bin/arm-linux-gnueabi-gcc" ../
And ended up getting consistent errors at 37% - "Internal Compiler error - file bug report"
- Posts: 12
- Joined: Thu Sep 13, 2012 11:27 pm
I finally got it to compile. It might be that the lack of memory was causing problems along with other things. Increasing the swap space helped.
https://www.dropbox.com/s/nll0qhm4z09vv ... RPi.tar.gz is the built binary. Should anyone want to try these, let me know if it works.
https://www.dropbox.com/s/nll0qhm4z09vv ... RPi.tar.gz is the built binary. Should anyone want to try these, let me know if it works.
- Posts: 12
- Joined: Thu Sep 13, 2012 11:27 pm
I managed to get gnuradio to compile after looking at a few guides. I used distcc to try and speed up the process, which as a bit of a pig to setup.
I'm going to see how modes_rx runs and hopefully I'll be able to do some ADS-B capture.
- Code: Select all
apt-get install python-cheetah libboost-all-dev python-lxml python-wxgtk2.8 python-numpy python-lxml libfftw3-dev libsdl1.2-dev python-scipy python-matplotlib python-tk octave liboctave-dev libgsl0-dev python-sphinx libcppunit-dev libuhd-dev swig python-qt4-dev libqwt-dev git
- Code: Select all
cmake -DCMAKE_C_COMPILER:FILEPATH=/usr/lib/distcc/gcc -DCMAKE_CXX_COMPILER:FILEPATH=/usr/lib/distcc/g++ -Dhave_mfpu_neon=0 -DCMAKE_CXX_FLAGS:STRING="-march=armv6 -mfpu=vfp -mfloat-abi=hard" -DCMAKE_C_FLAGS:STRING="-march=armv6 -mfpu=vfp -mfloat-abi=hard" ../
I'm going to see how modes_rx runs and hopefully I'll be able to do some ADS-B capture.
- Posts: 10
- Joined: Tue Oct 23, 2012 4:15 pm
Mini-update:
It looks like modes_rx consumes too much CPU for it to work, which is a shame, although it is possible to run rtl_tcp on the Pi and send the data via network cable to another PC running modes_rx. I've tried using a wireless connection but it doesn't really have enough bandwidth.
I'm recompiling gnuradio with some more aggressive CFLAGS but I'm not holding out much hope.
It looks like modes_rx consumes too much CPU for it to work, which is a shame, although it is possible to run rtl_tcp on the Pi and send the data via network cable to another PC running modes_rx. I've tried using a wireless connection but it doesn't really have enough bandwidth.
I'm recompiling gnuradio with some more aggressive CFLAGS but I'm not holding out much hope.
- Posts: 10
- Joined: Tue Oct 23, 2012 4:15 pm
Hello!
First of all sorry for my bad english!
Translated the GNU Radio and everything is fine.
The start of the GRC, a simple structure (signal -> sound sink) are working properly.
If the assembly is Complex-float conversion, the program freezes at the part and just kill you can kill it. (Do not gui version I'm using, but console versions), we tested a ny statement after you enter "Print" in, complex-float conversion in the first crash.
What could be the problem? The program compiled without errors ....
It would be nice if someone would help, because this is a very important project, and it stuck!
Regards gekko1972
First of all sorry for my bad english!
Translated the GNU Radio and everything is fine.
The start of the GRC, a simple structure (signal -> sound sink) are working properly.
If the assembly is Complex-float conversion, the program freezes at the part and just kill you can kill it. (Do not gui version I'm using, but console versions), we tested a ny statement after you enter "Print" in, complex-float conversion in the first crash.
What could be the problem? The program compiled without errors ....
It would be nice if someone would help, because this is a very important project, and it stuck!
Regards gekko1972
- Posts: 1
- Joined: Wed Dec 12, 2012 10:25 am
Hi,
I read some texts where ppl could compile GRC on RPi direct. BUT: what happened then? Did someone could compile AND run software like gr-air-modes or gr-ais, for example?
I read nothing about this after ppl did compile grc...
Does it not work on RPi because of "low" perfmormance?
I read some texts where ppl could compile GRC on RPi direct. BUT: what happened then? Did someone could compile AND run software like gr-air-modes or gr-ais, for example?
I read nothing about this after ppl did compile grc...
Does it not work on RPi because of "low" perfmormance?
- Posts: 14
- Joined: Sat Dec 22, 2012 5:33 pm