HACKRF First Contact

Source: Internet
Author: User

Overview

at the beginning is from the website to see the relevant information, feel this board really NB, can have really many advanced play, and then look at the price of this board can buy half the highest grade Apple Plus, is catching up with the company project needs, at public expense to buy a first go to toss under, so ordered a set of such motherboards.

List of purchased equipment:1, HACKRF motherboard;
2, acrylic shell;
3, GSM antenna;
4, up the frequency converter;
5, Accessories (screws, copper column and USB cable)

Get the board, the first reaction is to find the Board debug interface, may be the development Board of the customary Action bar.

In fact, this HACKRF motherboard and machine connectivity, there is only one USB port, it is not only a single power supply, but also used to do data connectivity, feel is the development of the Board debug port ah.

compilingNext, from the official website to clone data, build a compilation server, my operating system selected is Ubuntu 14.04 32bit bit.

The premise is that the official web site is the wall, so I use the Hong Kong host download the packet.
After downloading, import the local computer, the whole process in addition to the speed of downloading data pit Daddy, everything else OK.
The following is the entire process of building data:

Login As:leekwen[email protected] ' s password:welcome to Ubuntu 12.04.4 LTS (gnu/linux 3.11.0-15-generic i686) * Documenta tion:  https://help.ubuntu.com/New release ' 14.04.1 LTS ' available. Run ' Do-release-upgrade ' to upgrade to it. Last Login:fri Dec  5 15:13:38 from 192.168.10.132

[Email protected]:~$ cat/etc/issueubuntu 12.04.4 LTS \ \l[email protected]:~$ uname-alinux dell 3.11.0-15-generic #25 ~p Recise1-ubuntu SMP Thu Jan 17:42:40 UTC i686 i686 i386 gnu/linux

[Email protected]:~$ mkdir-p hackrf/tar-gz[email protected]:~$ cd Hackrf/tar-gz

########### #这些包我已经传到360的云盘上去了 ###################
########### #需要下载的请点击此处, download ####################
360 Cloud Disk Address: Http://yunpan.cn/cfdCJmZJeYPu3 Extract code 4a69 the downloaded packages are placed in this directory;


[Email protected]:~/hackrf$ ls-ltotal 66160-rwxr-xr-x 1 leekwen leekwen 44647462 Dec  4 16:49 GNURADIO.TAR.GZ-RWXR-XR -X 1 Leekwen leekwen  5571445 Dec  5 15:53 gqrx.tar.gz-rwxr-xr-x 1 Leekwen leekwen  1208375 Dec  4 17:03 Gr-os Mosdr.tar.gz-rwxr-xr-x 1 Leekwen Leekwen 15793136 Dec  5 13:38 hackrf-2014.08.1.zip-rwxr-xr-x 1 Leekwen leekwen   515902 Dec  4 17:03 rtl-sdr.tar.gz

Environment depends on the package, run the following code to resolve:

[Email protected]:~/hackrf$ sudo apt-get-y install build-essential cmake git-core autoconf automake \ Libtool g++ python- Dev Swig pkg-config libfftw3-dev libcppunit-dev libgsl0-dev \ Libusb-dev sdcc libsdl1.2-dev python-wxgtk2.8 python-numpy p Ython-cheetah python-lxml \ Doxygen python-qt4 python-qwt5-qt4 libxi-dev libqt4-opengl-dev libqwt5-qt4-dev \ Libfontconfig1-dev Libxrender-dev libusb-1.0 Libboost1.48-all-dev Libboost1.48-dev

Then extract the downloaded package to the corresponding package directory in the HACKRF directory:


1, gnuradio the compilation process

[email protected]:~/hackrf$ CD gnuradio/[email protected]:~/hackrf/gnuradio$ mkdir build; CD build[email protected]:~/hackrf/gnuradio/build$ vi Build.sh#!/bin/shecho "\ r" echo ">>>>>> >>>>>>>> Cmake Start <<<<<<<<<<<<<<<<< < "echo" \ r "CMake. /echo "\ r" echo ">>>>>>>>>>>>>> make Start <<<<<<< <<<<<<<<<<< "echo" \ r "make-j 4echo" \ r "echo" >>>>>>>>> >>>>> make Install <<<<<<<<<<<<<<<<<< "echo" \ R "sudo make Installecho" \ r "echo" >>>>>>>>>>>>>> ldconfig Start << <<<<<<<<<<<<<<<< "echo" \ r "sudo ldconfig[email protected]:~/ hackrf/gnuradio/build$ SH Build.sh[sudo] password for Leekwen: <<<<< Enter password 

2, HACKRF the compilation process

[email protected]:~/hackrf$ CD hackrf-2014.08.1/[email protected]:~/hackrf/hackrf-2014.08.1$ LsCOPYING Doc firmware Firmware-bin hardware host readme.md releasenotes trademark[email protected]:~/hackrf/hackrf-2014 .08.1$ CD host/[email protected]:~/hackrf/hackrf-2014.08.1/host$ lsbuild cmake CMakeLists.txt hackrf-tools Libha Ckrf python readme.md[email protected]:~/hackrf/hackrf-2014.08.1/host$ mkdir build; CD build[email protected]:~/hackrf/hackrf-2014.08.1/host/build$ vi Build.sh#!/bin/shecho "\ r" echo ">> >>>>>>>>>>>> Cmake Start <<<<<<<<<<<<< <<<<< "echo" \ r "CMake. /-dinstall_udev_rules=onecho "\ r" echo ">>>>>>>>>>>>>> make Start << <<<<<<<<<<<<<<<< "echo" \ r "Makeecho" \ R "echo" >>>>> >>>>>>>>> make Install &LT;&LT;&Lt;<<<<<<<<<<<<<<< "echo" \ r "sudo make Installecho" \ r "echo" >> >>>>>>>>>>>> ldconfig Start <<<<<<<<<<<< <<<<<< "echo" \ r "sudo ldconfig[email protected]:~/hackrf/hackrf-2014.08.1/host/build$ sh Build.sh[sudo] Password for leekwen: <<<<< Enter password

3, Gqrx the compilation process

[email protected]:~/hackrf$ CD gqrx/[email protected]:~/hackrf/gqrx$ mkdir build; CD build[email protected]:~/hackrf/gqrx/build$ vi Build.sh#!/bin/shecho "\ r" echo ">>>>>>> >>>>>>> Qmake Start <<<<<<<<<<<<<<<<<< "echo" \ r "Qmake. /gqrx.proecho "\ r" echo ">>>>>>>>>>>>>> make Start <<<<< <<<<<<<<<<<<< "echo" \ r "make-j 4echo" \ r "echo" >>>>>>> >>>>>>> make install Start <<<<<<<<<<<<<<<< << "echo" \ r "sudo make Installecho" \ r "echo" >>>>>>>>>>>>>> Ldconfi G Start <<<<<<<<<<<<<<<<<< "echo" \ r "sudo ldconfig[email&nbsp ;p rotected]:~/hackrf/gqrx/build$ SH build.sh[sudo] password forLeekwen: <<<<< Enter password 

4, the compilation of GR-OSMOSDR

[email protected]:~/hackrf$ CD gr-osmosdr/[email protected]:~/hackrf/gr-osmosdr$ mkdir build; CD build[email protected]:~/hackrf/gr-osmosdr/build$ vi Build.sh#!/bin/shecho "\ r" echo ">>>>> >>>>>>>>> Cmake Start <<<<<<<<<<<<<<<< << "echo" \ r "CMake. /echo "\ r" echo ">>>>>>>>>>>>>> make Start <<<<<<< <<<<<<<<<<< "echo" \ r "make-j 4echo" \ r "echo" >>>>>>>>> >>>>> make install Start <<<<<<<<<<<<<<<<<< " echo "\ r" sudo make Installecho "\ r" echo ">>>>>>>>>>>>>> ldconfig Start & lt;<<<<<<<<<<<<<<<<< "echo" \ r "sudo ldconfig[email  protected]:~/hackrf/gr-osmosdr/build$ SH Build.sh[sudO] Password for leekwen: <<<<< Enter password 

5, the compilation of rtl-sdr/

[email  protected]:~/hackrf$ CD rtl-sdr/[email protected]:~/hackrf/rtl-sdr$ mkdir build; CD build[email protected]:~/hackrf/rtl-sdr/build$ vi Build.sh#!/bin/shecho "\ r" echo ">>>>>> >>>>>>>> CMake Start <<<<<<<<<<<<<<<<< < "echo" \ r "CMake. /-dinstall_udev_rules=on-ddetach_kernel_driver=onecho "\ r" echo ">>>>>>>>>>>> >> make install Start <<<<<<<<<<<<<<<<<< "echo" \ r "sudo Make Installecho "\ r" echo ">>>>>>>>>>>>>> ldconfig Start <<<< <<<<<<<<<<<<<< "echo" \ r "sudo ldconfigecho" \ r "[email protected]:~/ hackrf/rtl-sdr/build$ SH Build.sh[sudo] password for leekwen: <<<<< Enter password 

Summary: This compilation process is a reference to the HACKRF official online process, the difference may be in the environment variable installation process, several dependent packages made version of the adjustment, the other has not been modified.


Of course you can also compile each package by passing a variable to a script, so you don't have to switch every time.

HACKRF First Contact

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.