project:sdr:gnuradio-pi
Differences
This shows you the differences between two versions of the page.
project:sdr:gnuradio-pi [2012/10/27 22:21] – created jenda | project:sdr:gnuradio-pi [2012/10/27 22:22] (current) – jenda | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== GnuRadio and rtl-sdr on RaspberryPi ===== | ||
+ | ==== Building on RPi ==== | ||
+ | |||
+ | * 3 GB of space in / for build-dependencies | ||
+ | * swap (linking takes up to 1 GB RAM) | ||
+ | * build-space (prefeably over network or on USB HDD to avoid destroying SD card) | ||
+ | * compilation takes ~24 hours | ||
+ | |||
+ | NBD server example:< | ||
+ | / | ||
+ | [generic] | ||
+ | [export] | ||
+ | exportname = / | ||
+ | port = 2001 | ||
+ | authfile = / | ||
+ | |||
+ | / | ||
+ | 192.168.0.203 | ||
+ | |||
+ | mkfs.ext3 / | ||
+ | mount / | ||
+ | dd if=/ | ||
+ | mkswap /mnt/swap | ||
+ | umount /mnt | ||
+ | </ | ||
+ | |||
+ | On RPi: | ||
+ | < | ||
+ | apt-get install nbd-client | ||
+ | modprobe nbd | ||
+ | nbd-client 192.168.0.23 2001 /dev/nbd0 | ||
+ | mount /dev/nbd0 /mnt | ||
+ | swapon /mnt/swap | ||
+ | </ | ||
+ | |||
+ | Use script [[http:// | ||
+ | < | ||
+ | cd gnuradio/ | ||
+ | cmake -Dhave_mfpu_neon=0 -DCMAKE_CXX_FLAGS: | ||
+ | make | ||
+ | sudo make install | ||
+ | </ | ||
+ | |||
+ | Croscompilation: |