UPDATE: I broke something when updating this from the last version, this should work for command line usage but the GUI tools don’t work so please lower expectations to remain happy. Also, if you don’t need GNU Radio but just want RTL-SDR, please use this image instead it’s much smaller and more streamlined.
I’ve finally had time to build version 2 of my Raspberry Pi SDR image after feedback from people using the first version.
In summary, this gives you everything you need to start playing with the HackRF or DVB-T Dongles such as the R820T on the Raspberry Pi. I have compiled everything specifically for the Pi (512mb version) because a lot of people have problems with this step (especially for GNU Radio).
Included in this version:
- GNU Radio V3.7.5 built from source
- Osmocom GNU Radio Source (and Sink) Blocks
- Support for DVB-T USB dongles
- Support for HackRF One (and Jawbreaker)
- RTL-SDR Suite
- Fixed problems writing to some SD cards. Should now work on practically all cards (you will want an 8Gb card though).
How to use:
1. Download the file”gareth_gr-pi.img” (below).
2. Write the image to an SD card using dd on Mac or Linux, or Win32 Disk Imager. There are many tutorials on how to do this.
3. On first boot, login and run “sudo raspi-config”. Select the first option (expand main partition). This will expand the partition to the size of your SD card.
This will work on 8GB cards. Mileage of 4GB cards may vary and there will be no room for swap space, which GNU Radio really needs. I strongly suggest an 8GB card for this. Class 4 works fine for me and I don’t see much difference in speed when using a class 10 card.
Credentials:
User: pi
Pass: raspberry
User has sudo privileges. If you get errors using anything, try running with sudo.
Download:
Please do not link directly to the download because it will break when I release updates etc, just link to this page instead, thanks.
My server ran out of bandwidth overnight, so here’s a magnet/torrent instead.
MD5 (gareth_gr-pi.img) = 593ba0204a1638b489fc78386b4118f9
If you are in China and having issues due to the GFW, let me know and I’ll find another way to get the file to you.
Cheers! This will come in handy. Thank you for sharing and letting us benefit from all your hard work. “If I have seen further it is by standing on ye shoulders of giants.” Issac Newton
Hi. I have a 256 MB pi. Am I able to use this image? Thanks, Juan
I don’t have one so I can’t try, but GNU Radio definitely won’t like it. The RTL-SDR suite should be fine though. The image itself should also be ok. If you try it, please post your comments about it.
Pingback: New Raspberry Pi Image with RTL-SDR Drivers and GNU Radio Built In - rtl-sdr.com
Hi Gareth, great job!
I’m just about to experiment with the Pi and my Funcube dongle – not sure if you have included support for that, if not it would be appreciated in the next release.
hi
I cant seem to get the download link to work, the link page doesn’t load.
cheers
Thanks, looks like the bandwidth ran out, oops. I added a magnet/torrent, have a go with that.
Pingback: RTL-SDR on the Raspberry Pi | Hamgammon's Bacon Strips
Great work Gareth. Would you mind posting a sha1sum or md5 for the download image please? It helps those of us out here in Internet land to know we got all the bits.
Thanks,
MC
Thanks for reminding me!
Hi Gareth,
I’ve compiled WSJT 10 (ver 4336, Python 3) on Bananian, for the 4M LUNAR project
and would like to “connect” the audio from RTL_SDR to WSJT.
So, please and double please, quote your base Linux version.
This is needed, as I may need to compile kernel modules such as “snd-aloop” to
“patcch” the audio via “loopback”.
Any other ideas?
Also, eMMC and SD cards wear out, so, go Banana Pi and laptop SATA disk.
And, you can have REAL SWAP DISK and SPACE, plenty SPACE.
73
Alan VK2ZIW
Hi Alan,
I used Raspian Wheezy as the base.
uname -a gives:
Linux raspberrypi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l
I also have a Banana Pi, but you can’t boot from SATA so you’ll still need an SD card.
Do you mean you will be using a RPi to send data to the BPi? You can’t use my image on Banana Pi, but getting RTL-SDR to compile on the Banana Pi is straight forward. Bananian is definitely the best choice.
I installed the image and given as user: Pi and password: raspberry. Then I increased the partition. It is ok. When I reboot, after a username and password which command I have to write in order to start the SDR? The R820T key must be inserted before the Raspberry? Thank you, I do not know a lot about linux
Plug the R820T in before you power on the Raspberry otherwise it can reset the device.
Start with something like:
rtl_fm -f 96.3e6 -M wbfm -s 200000 -r 48000 – | aplay -r 48k -f S16_LE
Google for rtl suite to find out how to use it, and check out http://superkuh.com/rtlsdr.html
Last night I downloaded your torrent (3.9GB – If you could compressed it 1.1GB)
Suprise; no rtl no gnu…
Was this a joke????
What commands did you type for rtl and gnu radio? What error did you receive? Some people are having problems with some of the GUI tools, but everything is definitely there.
Downloaded fine and seems to boot okay. Tools appear to be there but I’m finding that the Pi can’t power the HackRF and still accept keyboard input. I’m guessing that a powered USB hub is needed to do HackRF stuff.
Oh, and for anyone playing along at home, *don’t* startx and try to run gnuradio-companion as a GUI app. Bye bye CPU.
Downloaded fine and seems to boot okay. Tools appear to be there but I’m finding that the Pi can’t power the HackRF and still accept keyboard input. I’m guessing that a powered USB hub is needed to do HackRF stuff.
Oh, and for anyone playing along at home, *don’t* startx and try to run gnuradio-companion as a GUI app. Bye bye CPU.
—
MC
Hi,
gqrx, hackrf_info, vs vs not working
GNURadio is working (sry about previous comment)
Thanks for the good work
OK, one thing, hackrf_info may not be working because the Pi has trouble supplying enough power to the HackRF if you have other USB devices plugged in at the same time, if you have a powered USB hub try that. Or unplug everything else (keyboard etc) and try over ssh. Also make sure you are using a decent power supply on the Pi, a regular 500mA power supply won’t provide enough power to the Pi and the HackRF and you’ll end up corrupting the SD card, I used a 2.1A Apple charger and it works quite well.
I cannot get the download link to work
Which torrent client are you using?
I did not have anything setup to do the download. I got it downloaded and in my Pi. Now I am just trying to figure how to make it work
How can I download the file using “ctorrent”?
Nice image. THX. But how could I find/start gqrx or gnu radio?
Pingback: Raspberry Pi SDR and Class Updates | Signal Corps – Sparks31
Pingback: Week ending Friday, November 21st | echavisspqr
Can you upload your code to https://github.com/lowercase-b ? Thank you for all the hard work. I found out about you on HaK5. Can you tell me more about your NEW home automation PC setup? It sounds like a great idea. I would love to set one up.
Pingback: GRU Radio - GNU Radio в Raspberry Py
hello all,
i have download the image and copy it to a 8GB micro-sd ( dd /dev/sdc1 ) – but the installed image do nothing, not boot on power off … any idear? I will keep on trying… to check a test another image, maybe I have made a mistake :-((
dd /dev/sdc1
correkt code doesn’t display
i will try to display it so:
dd ( gareth_gr-pi.img ) /dev/sdc1
Try dd if=gareth_gr-pi.img of=/dev/sdc1
Hello,
Unfortunately nobody is seeding the torrent
Could you please re activate the original source?
I have a dedicated server and I can then keep it ‘alive’.
Thank you.
Hi Fred, I’m away from my usual home at the moment and don’t actually have access to the image myself. I’ll update the image and re-seed in January though. In the mean time, if you could keep this one alive that would be really helpful. Thanks!
Already did
From a compilation point of view, the real pain is gnu radio …
Will wait January.
Thank you.
Yay for updated image in January! I was also trying to download the image. Will watch this space.
Thank for compiling this, I got the magnet links and will seed when done. But I’m witing patiently for this to be fixed and released later.
I all!
I am having quite a lot of troubles to get the torrent file… Can please some one point me to a direct download link…
I need Raspberry-Pi OS with GNURadio and RTL-SDR support already preinstalled.
Thanks!
Raydel, CM2ESP
Hi again,
Quick request, I can’t download the torrent due to corporate proxy issues… If this is not too much trouble can someone who has already download upload to some site like for me to download as normal HTTP, at least only for a couple of days until I download it….
Thanks!
Raydel, CM2ESP
It’s 2015…
Where’s my flying car and working GNU Radio Pi image?
Bwahahahahaa. Sorry, I’ve been very busy with other projects, I *will* get to it at some point though!
To fix this image simply boot up and login
once logged in type in:
sudo apt-get autoclean
sudo apt-get clean
then
sudo passwd -d pi
then sudo passwd pi
(then enter a new password)
after that simply run:
sudo raspi-config and set everything up.
then reboot
after that you should be able to boot into the GUI
Thank you all,
Is this a full built version right?
I can’t find uhd_find_devices, uhd_usrp_probe function for the USRP.
If I connect the USRP1 to the raspberry pi, they say, “the firmware images is needed”.
Do I have to install the firmware image to the raspberry pi for above command?
Thank you.
This one only has HackRF and RTL-SDR built in. I’ll build USRP and others into the next version I make, but I’m not sure when that will be.
Pingback: Using ec3k with Raspberry Pi | Batilan Blog
Having trouble with the torrent, it looks OK, but the MD5 reports C792F9D5A8B93EC63459CF6AD461CF9E and if I try to write using win32diskimager I get a “read only file” dialog.
Help?
Steve,
Just take the file in Windows put your cursor over it, right click and then go to the ‘properties’ menu selection. From there, uncheck the Read-Only box and then apply the change. Try it again from there…
Gareth this is great. Will it work with the pi’s audio in and out (or a USB audio dongle) for low frequency applications as standard GnuRadio (i.e. alsa or OSS sink/source)?
Hi Gareth, nice work to compile raspian with gnu radio. One question, are you included desktop like lxde to this firmware ? thanks for advance
can this image be tweaked for BladeRF support ?
Yes, that’s on my list for when I get a chance to build a new image
thats great !!!
looking forward to it …
good luck
No E4000 tuner found” error.
I’m using a R820T
Thanks,
Noobie
What command are you using?
How about a Pi2 image
Hi Gareth,
The image is working fine ,
my pi is up and running online.
Thanks a lot for this great work.
Good stuff, thanks, Tim
Hi Gareth,I’m in China and I wang to have the file .Please use another way to give me .Thanks.
Pingback: Raspberry Pi Image with GNU Radio (HackRF + DVB-T) – Gareth Hayes | Podex' Tagebuch
Hello, Gareth. It seems the link of the torrent is invalid now. I click it and nothing pops out. Thanks.
What torrent client are you using?
Hi,
Is it capable at Raspberry pi 2?
Thank you.
i will spend a space and traffic for ISO Image
send me a mail for FTP service
I was able to get the download, I chose open in new tab, then past the url into my torrent client. The issue is it appears to be a bad image. I just get a red light, Pi2, 8 gig sd. Looking forward to trying it though.
Does this image work with rasp.pi2?
No, only V1B. I’ll make one for the 2 but won’t have time for a while.
Thanks Gareth for the reply… I am patient
very much look forward to pI2
It would be very nice to have a Pi2 image …
is there a tutorial somewhere to setup gqrx with a funcube on rpi 2?
Will pay for pi2 image when it is released
Thanks for this. Now my homemade antenna can sit in the garden and report back via WiFi.
Thought I might have to waste a day building a cross-compiler tool chain to get that to happen.
<3
Have you had a chance to create PI2B image? out of curiosity, why aren’t the images able to be run on either PI1 or 2?
Any chance you could make this work with SDRPlay? I’m having a difficult time getting GNURadio and OsmoSDR to work
Dear Gareth:
You have one version for the Raspberry 3? The actual version not run on Pi 3.
73,s de Jabi, ea2aru.
Dear sir:
Is compatible with Raspberry 3 your *.img?
73,s de Jabi, ea2aru.
Working on pi a+ with 256mb on 8gig card. Hiram’s CD is useful for image writing etc good work Gareth
thanks
Hi Gareth,I’m in China,too. and I want to have the file .Please use another way to give me .Thanks.
It is not compatible with pi 3