Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # fixes perl LC_ error issue on odroid
- # the command: perl -e exit
- # will return errors until these lines are added to bashrc
- echo "export LC_CTYPE=en_US.UTF-8" >> ~/.bashrc
- echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc
- sudo apt-get update && sudo apt-get upgrade
- sudo apt-get install git build-essential cmake libusb-1.0-0-dev
- # rtl-sdr
- git clone git://git.osmocom.org/rtl-sdr.git
- cd rtl-sdr/
- mkdir build
- cd build/
- cmake ../ -DINSTALL_UDEV_RULES=ON
- make
- sudo make install
- sudo ldconfig
- sudo apt-get install git build-essential cmake libusb-1.0-0-dev liblog4cpp5-dev libboost-dev libboost-system-dev libboost-thread-dev libboost-program-options-dev swig
- # create swap file on external drive
- # - don't use emmc or sd card, use external usb hard drive for the swap file
- # - this drive/path can be named anything and the paths below will change depending upon the label of the drive
- cd /media/odroid/Seagate/
- dd if=/dev/zero of=/media/odroid/Seagate/c1swap bs=1M count=1024
- mkswap /media/odroid/Seagate/c1swap
- sudo swapon /media/odroid/Seagate/c1swap
- # gnuradio
- git clone http://git.gnuradio.org/git/gnuradio.git
- cd gnuradio/
- mkdir build
- cd build/
- cmake -DCMAKE_C_FLAGS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9" -DCMAKE_ASM_FLAGS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon" ../
- clear
- make -j1
- sudo make install
- # gr-osmosdr
- git clone git://git.osmocom.org/gr-osmosdr
- cd gr-osmosdr/
- mkdir build
- cd build/
- cmake ../
- make
- sudo make install
- sudo ldconfig
- # gqrx
- git clone https://github.com/csete/gqrx.git
- cd gqrx/
- mkdir build
- cd build/
- qmake ..
- make
- sudo make install
- ./gqrx
- # turn off swap - ** SUPER IMPORTANT **
- sudo swapoff /media/odroid/Seagate/c1swap
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement