Gnuradio on Odroid-X

Odroid-X board

The GNU Radio SDR toolkit has been cross-compiled to the ARM architecture and executed on an Odroid-X board running Linaro, a Linux distribution based on Ubuntu 12.10.
A USRP device has been connected to the Odroid and interfaced through its UHD device driver. First experiments show that GNU Radio on Odroid is capable of supporting sample rates of over 5MHz while executing fairly complex signal processing algorithms.

 

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

6 comments to Gnuradio on Odroid-X

  • Nathan west

    Would you mind sharing how you built Gnuradio for the odroid x? I’m assuming you used the linaro tool chain. I’ve spent some time trying to do this without success. I would like to chat with anyone with experience doing this.

    • Marco Boeris Frusca

      Hi Nathan,
      what are the errors that you have compiling gnuradio?
      I used the linaro toolchain and compiled gnuradio 3.6.2. I followed the standard procedure as descrited in the official site:
      http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall#Install-the-Pre-Requisites
      But, I added the following parameters with “cmake” command to enable neon instructions and hw float:

      -DCMAKE_CXX_FLAGS:STRING=”-mfpu=neon -mfloat-abi=hard ”
      -DCMAKE_C_FLAGS:STRING=”-mfpu=neon -mfloat-abi=hard ”

      I hope that informations help you.

      • Nathan West

        Hi Marco, thanks for the reply. The problem is missing/incomptible boost libraries.

        Here’s the relevant error output: http://pastebin.com/VndEA5r1

        I’m using a cmake toolchain file, shown here: http://pastebin.com/ZeKKjgkj

        I also have an attempt at using the linaro chroot tools, but I can’t seem to get all of the dependencies in place for that. Any idea if it’s possible to tell cmake to use the boost in the chroot?

        • Marco Carlo Dino Boeris Frusca

          Hi Nathan,
          this seems to be a linker problem. You could add the correct path of the boost libraries in the the LD_LIBRARY_PATH, or relunch ldconfig on chroot environment:
          chroot sh /sbin/ldconfig /lib /usr/lib /usr/local/lib
          e.g.
          chroot sh /chroot/sbin/ldconfig /lib /usr/lib /usr/local/lib

          Anyway if you compile directly on the Odroid board, following the standard procedure you should have no problems.

  • Marco Boeris Frusca

    Hi Nathan,
    this seems to be a linker problem. You could add the correct path of the boost libraries in the the LD_LIBRARY_PATH, or relunch ldconfig on chroot environment:
    chroot sh /sbin/ldconfig /lib /usr/lib /usr/local/lib
    e.g.
    chroot sh /chroot/sbin/ldconfig /lib /usr/lib /usr/local/lib

    Anyway if you compile directly on the Odroid board, following the standard procedure you should have no problems.

    • Nathan West

      Did you have to cross compile boost before GNU Radio? The problem is not that the linker can’t find libboost, but that it needs to link to the armhf libboost, not my native amd64 libboost. It also looks like you can’t use multiarch aptitude to get liboost1.48-all-dev:armhf because of a broken dependency chain that refuses to install.

      Native compiline on the odroid board isn’t so simple either, since the linaro image doesn’t have a kernel that supports swap and the 1GB on board RAM isn’t enough for the swig files.

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>