Packed Full BeagleBone Black img file RTL-SDR + GNURadio + GQRX + Lots More on Ubuntu 14.04

Update: June 2, 2015. I've removed the USRP version from the page. If I ever get a USRP to play/test with I will create a new image for it. If you are looking for the RTL-SDR version then read on!

Howdy,

This has been a bit of an undertaking fixing all the dependencies and compile errors, and hours upon hours (several days worth) of compiling. I put this together so I would have a nice SDR image to slap on when needed. I thought I might save you from the torture of downloading and compiling all the sdr apps and decoders needed to run your RTLSDR (and several other SDRs too!) on the BeagleBone Black. Save a few days of your life for something a little more productive. Anyway, I'm publishing it here.

I'm sure there will be some issues here and there, and I'll work through them when they come up. However this is a good first step at a turnkey distro for SDR on the BBB. The desktop is LXDE and you may need MobaXterm to connect to the BBB desktop either over the network or via the USB cable. There is a text file on the desktop listing all the apps, the known issues on the BBB, and progress on apps not quite working yet.

USRP is now supported. I'm still working on UHD (USRP) support and will update the image as soon as I get it working, or compiled anyway. Can't test an sdr I don't own… 🙁   It works great with RTLSDR though!

You will need an 8Gb MicroSD card at a minimum. The download is 1.96GB and the img is just under 6 GB uncompressed.

Some of the apps and decoders I've added are:
(All titles are the property of their authors. Click name to visit authors site)

If you have problems let me know. I will try to help you work them out. However, I encourage you to visit the authors site for the app in question.

If you download and use this image for the BeagleBone Black please leave me some feedback in the comments below and do what you can to support the authors of the software you use. Without them none of this would be possible.

Unbuntu 14.04 w/ LXDE desktop
Login info: user: ubuntu  passwd: Temppwd (capital T)
Downloads 1.96GB :  BBB_Ubuntu14.04_SDR-KD0CQ_v1.tgz

USRP / UHD UPDATE: USRP is now supported. If you don't need support for the ETTUS Research USRP SDRs you can download the image above.

USRP/UHD Download + Everything above 2.24GB: BBB_Ubuntu14.04_SDR-KD0CQ_v1.UHD.tar.gz 

I'm looking for somewhere to mirror these files. If you know of one or would like to mirror these BeagleBone Black images please let me know. Thanks.

Follow this link to expand the file system to include the entire SD card.

73s and Thanks for reading!

About the Author

kd0cq
Chris has held an amateur (ham) radio license since 1994 and is stubbornly grasping onto his Advanced class operator status. His professional experience includes Network and Systems Administrator, Network Security, and Electronics Engineer. Sometimes even a little bit of web development. mail: chris at kd0cq dot com

45 Comments on "Packed Full BeagleBone Black img file RTL-SDR + GNURadio + GQRX + Lots More on Ubuntu 14.04"

  1. You are the Man!  After spending coutless hours just trying to get GNUradio running on a linux Disto you have managed to get it to run on the BBB.  Very nice.  Now I have to purchase a BBB.  Take Care.

    Joe

    KC5HRT

     

  2. Really looking forward to trying this out. Thanks for working on this!

  3. Hi,

     

    Thanks for making this available. It's going to save people a lot of headaches.

     

    I had a couple of problems with it.

     

    The first is that the dvb_usb_rtl128xxu driver isn't blacklisted so if you try to run software that uses rtl-sdr the driver can't get ahold of the hardware. Adding the following to /etc/modprobe.d/blacklist.conf fixes this:

     

    blacklist dvb_usb_rtl28xxu

     

    Also, some of the entries in /etc/apt/sources.list or included files have URLs that are bad (at least they were today) and one of the GPG keys is uninstalled:

     

    Err http://ppa.launchpad.net utopic/main armel Packages
      404  Not Found

    W: GPG error: http://ppa.launchpad.net utopic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76E7B9F886F6E1DD
    W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty/Release  Unable to find expected entry 'main/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)

    W: Failed to fetch http://ppa.launchpad.net/gqrx/releases/ubuntu/dists/utopic/main/binary-armel/Packages  404  Not Found

    W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/trusty-updates/Release  Unable to find expected entry 'main/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)

    • I didn’t have any issues accessing the the rtlsdr hardware at all, but I’ll add that change. I’ll check on the entries in sources.list, not sure why a key would be missing all of a sudden. In reply to the other comment on the sudoers file, I’ll go ahead and clear that up too. I have a feeling that was something that slipped through on whoever made the original OS image.

      On another note, as I saw over on reddit there is a modified version of rtlsdr that extends the tuning range a bit. I’m going to include it in a seperate dir in case someone wants to play with it. Looks promising. I think the text file on the desktop needs updating too. I’ve added dump1090 and some other apps.

      Thanks for downloading and finding these issues. I’ll clear them up and reupload this evening/tonight.

  4. It also looks like there are 2 entries for %admin in /etc/sudoers.

  5. Thanks for al the time and efforts you spent in this.  I want to setup something that will allow to stream the activity of the local Fusion repeater on our local ham radio club's website, so DSD would probably help make that happen, since it cn copy C4FM if I,m not mistaking.  I do not have a BBB currently, but a Cubieboard (AllWinner A10 A8 CPU, Mali400).  Would be nice if I could make your image work on it, if not then I guess Digi-Key will receive an order in the next days.  73's

  6. Thanks for doing this Chris!  Good timing as I was wondering how to setup sdr on a dormant beaglebone black last night and found your article and sd image.

    Took a while to get Beaglebone to boot to the new sd but got it going on the third reboot.  Playing around with rtl_tcp to gqrx on a mac and it works with some packet loss (good audio alternating with Mickey Mouse) but that may be from connecitng through the USB port.  I've got a powered USB hub on order and will try over wifi.  Also looking forward to hooking up HDMI and using the GUI.

    Great work!  I look forward to following this project.

    73 Gene

  7. many thanks for your awesome work!  i buyed a bb-board and wait now for a smal diplay to build a smal mobile-rtl-tool 🙂

    there are some nice other tools:

    http://sourceforge.net/projects/acarsdec/

    http://tetra.osmocom.org/trac/

    would it possible to include in your image ?

     

    many thanks & 73

  8. Hello,

    do you think that is complicated enable in your image the use of Chipsee display?

    (This one: http://www.chipsee.com/product/evm/beagle/beaglebone-black-expansion-capacitive.html?___store=english&___from_store=default )

    maybe can you help me to do that?

    thanks in advance

    Giorgio

  9. Fantastic!! I use Debian and Ubuntu on my other machines, and was looking for a Debian or Ubuntu distribution that I could use on my BBB and do something useful at the same time. The BBB is now my RTL-SDR "server"… Thank YOU very much!!!

    Dave K7DGF

     

     

  10. Got it up and running thanks to your image.  What are my options for audio?  It appears that the HDMI cable output audio but I have no way of testing that.  I'm looking to pick a frequency such as 123.000 and broadcast it to broadcastify.  Any suggestions?

    • I use a $2 USB soundcard I got off ebay (3 of them, while I was getting) when I need to. Had to wait a few extra days since it shipped from China, but they work great.

  11. Hi, kd0cq

    I love your work. But could you explained a little more how to use your image?

    I uncompessed the .tgz and get BBB_Ubuntu14.04_SDR-KD0CQ_v1.

    Then I used Win32 Disk Imager to write the file to SD card.

    Finally i insert the SD card to BBB and reboot it. It looks unable to boot from SD card.

    So I tried to check the SD card. With fdisk I found there is no partition on the SD card.

    Where did I make mistakes.

    • Are you sure that BBB is mounting the SDcard? I’ll shoot you an email at the hotmail address you left. Be easier to troubleshoot that way.

  12. Is the image compatible with beaglebone white as well ? I guess I will just give it a try and see.

    Cheers,

    whatnick.

  13. This image is a real lifesaver. Got it working on my beaglebone white. So far the only problem is I can't get apt-get update / upgrade to work. Possibly due to the sources.list issue as written above. 

  14. Hi,

    I downloaded your image yesterday and there still seems to be a problem with the key and repsoitories not being found as imipolex mentions above. Is there a fix for this? Many thanks for putting this together!

     

    Rich.

  15. Image is great. Great to have something so turn-key.

    One issue: It looks like HackRF is downloaded, but not built/installed  (/usr/local/bin didn't contain hackrf_info for example) Also not sure if gr-osmosdr current, and includes hackrf.

     

     

  16. Hi! When I try to ssh root@192.168.7.2 it prompts me for a password, which isn't Temppwd. What do?

  17. Hey there Chris, nice job with this project. May I suggest adding gr-dsd and gqrx-digital to the mix? You can find them in the pybombs repo. Would make things a ton easier for those who want to dabble into digital modes esp. VHF and up.

  18. I'm having an issue with power management…the power button event isn't recognized by this image, and when I execute a shutdown -h, it reboots rather than powering down.

  19. Thak you very much Chris, a great image, I have it running on my BBB in no time. However, as noted by imipolex above, there are problems with apt-get-repository, and the hackrf tools are not built/installed. I've followed instructions under host/hackrf-tools to build the tools and was able to confirm with hackrf_info that my HackRF One is indeed connected and recognised. But GQRX still does not show HackRF device available, and GRC is giving following error:

       gr-osmosdr v0.1.1-13-g58d95b51 (0.1.2git) gnuradio 3.7.4

       built-in source types: file fcd rtl rtl_tcp rfspace

      FATAL: N supported devices found to pick from 

    Please advise if anyone was able to use HackRF with this image? This same device is right now running OK under SDR# on my Windows7 laptop, but being able to use it with BBB and freeing up the laptop would help a lot!.. Please help, what might be wrong?

    Thank you all a lot in advance.

  20. Whats the SU password please?

     

  21. Hello Sir,

    I would like to configure a remotely accessable receiver so when I am travelling I can connect and listen to hf, copy cw etc.

    I was given a BBB that has the usb local access port broken off, so…since I don't have an hdmi monitor here in the ham shack I must access the BBB via ssh. I have downloaded the image that you were kind enough to provide and I have burned it to the BBB. When I execute the lsusb command via ssh I can see that the BBB recognizes the RTL-SDR so that's good.

    I would like to operate the BBB with GUI, I have installed vnc server. When I try to vnc into the BBB after I enter the IP when prompted I see a message in my local terminal "vncviewer" ConnectToTcpAddr: connect: Connection refused Unable to connect to VNC server

    Any idea what I'm doing wrong?

     

    Thanks and ' 73

    Rick – WA4RG

  22. Been playing with this image and a Funcube Pro+ dongle.

    Currently – I cannot get the build to recognise the funcube (even after install the udev rules).

     

    lsusb yields:

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    So we can see it's not seeing the FCD+ (as it doesnt show its address)

    Causing the USB to sleep and wake up as per:

    pre.cjk { font-family: “Droid Sans Fallback”,monospace; }p { margin-bottom: 0.25cm; line-height: 120%; }a:link { }
    http://stackoverflow.com/questions/24039420/turn-usb-power-off-on-with-beaglebone-black-kernel-3-8

    Looking at kern.log:

    Dec 29 16:47:43 arm kernel: [  617.910534] usb usb1: usb wakeup-resume
    Dec 29 16:48:07 arm kernel: [  642.243331] usb usb1: usb_probe_device
    Dec 29 16:48:07 arm kernel: [  642.243393] usb usb1: configuration #1 chosen from 1 choice
    Dec 29 16:48:07 arm kernel: [  642.243447] usb usb1: can't set config #1, error -22

     

    Any pointers / ideas would be greatly appreciated.

     

  23. Hi

    This is fantastic and has saved me so much time. Thank you.

    We would be happy to host your image for you in return. Please let me know if I can help.

    Best regards

    Steve

  24. I'm very new to Linux. I have successfully burnt the image onto the BBB and when it boots I am able to log in with ubuntu/temppwd. Do I have to compile something to make the apps work or are they somewhere on the image and all I have to do is find them and execute by typing the file name?

  25. Nice job! Note that UHD_USRP source and sink blocks are missing in GNU Radio Companion.

  26. Hi ! I cannot boot this image . I can boot other images , like android and angstrom cloud9 but this cannot do . I am using rev.C with 4G Flash . I there any incompatibility ?

    Thanks !

  27. Thank you for putting this package together.

    When I try to boot, I see all the boot messages go by, but then my monitor goes into power saving mode (no signal?). The last message I see is something about "Timeout waiting for Framedone".

    My BBB boots fine using a stock image.

     

  28. Can you tell us more about how USRP/UHD is supported in this image? As Art mentioned, I don't see the gnuradio blocks available with the python import command "from gnuradio import uhd". Also, usr/local/share doesn't have the uhd folder that is typically installed there with usrp bin files. 

  29. Is the rtl module current?  Trying with an RTL8232 dongle, system isn't recognizing the device and not loading the module.  apt-get update and apt-get upgrade didn't change this behavior.  The dongle is recognized by other hardware, and by my RPi and BB Black running Debian or Ubuntu 14.04 (BBB) with rtl-sdr installed.  Thanks!

    • Type the following into a terminal then try again: 

      sudo rmmod dvb_usb_rtl28xxu

      If that works then create a text file in /etc/modprobe.d named rtlsdr.conf. Open the file and enter the following:

      blacklist dvb_usb_rtl28xxu

      After that you should be good. As a side note, I’m working on a Kali image that will be ready in a couple days.

  30. Thanks so much for the image.  Can you (or anyone else) offer some tips basic getting started tips on how to  execute run the apps you've included? ie just enter their names at the command line or do I need to spin up the GUI? 

    Eg from the GNU Radio site  I've tried:

    uhd_fft –help

    But I get:

    -bash: uhd_fft: command not found

    Any suggestions?

    Thanks very much

    Tim

  31. Do you have an MD5 or a SHA hash for the image download? Having issues getting my BBB to boot and wanted to verify that I had a good image download.

  32. What is the username/password pair?

    And what is root password, if different?

    Jerry

  33. oh, nevermind (forgot the capital T).

    sudo worked fine.

    Jerry

  34. Hi Chris,

    I’d like to add my thanks to the chorus for your work in producing this image. I tried it on a BBB but Gqrx was too sluggish on that board’s A9 processor.

    I’ve recently come across some TV set top boxes that claim to come with linux and have a speedier RK3288 A17 cpu: 1) Ugoos UT3s and 2) MK902II LE. Have you looked into these? There is a YouTube video demonstrating Gqrx with an rtl-sdr dongle on the MK902II LE – youtube.com/watch?v=JdhszJhJBtQ. Performance doesn’t look too bad on that video. I’m wondering how much pain the install would be. I’d appreciate any feedback & opinions. Thanks.

    Tim    KK6VQQ

    • Hey Tim,

      I’m sure it would be easy enough to load/compile assuming there is an interface. I don’t have one so I can’t really comment on performance.

  35. Hi, 

    first, thank you for all the work done on this image.

    i have problem to boot it. it start but not finish booting.

    but i noticed the final .img file has only 1.5Gb

     

    is there any advice?

    thank you

    chuck

  36. ok. solve it.

    i changed my "enviroment" and worked.

    with (Win7+IZarc+uSD class U1) generated a .img file with 1.5GB and didn't boot.

    it works fine with (win8+7zip+uSD class4) .img near 6GB and boots ok.

    maybe the IZarc can't handle fine this tar/gz..

    anyway, thank you for the image. very good job.

  37. I am a bit confused, how is it possible to get audio signal from beaglebone?

  38. Hello

    One question, how did you get to install RTLAMR on the beard? Because I can’t do it, I follow the procedure, but no binary is produced in $GOPATH/bin/rtlamr

    Any suggestions?

    Thanks!!

    • It’s been a while, I’ll need to revisit that to give an honest answer. Need to update the entire image with new decoders and more SDRs anyway. I’ll add that to my project list.

Leave a comment

Your email address will not be published.


*