Add support for BladeRF in srslte (#279)
Compile BladeRF and Soapy BladeRF from source
This commit is contained in:
@@ -34,7 +34,7 @@ RUN apt-get update && \
|
||||
libzmq3-dev libboost-system-dev libboost-test-dev libboost-thread-dev libqwt-qt5-dev qtbase5-dev \
|
||||
software-properties-common g++ make pkg-config libpython2-dev python-numpy swig libi2c-dev \
|
||||
libboost-program-options-dev libconfig++-dev net-tools iputils-ping libusb-1.0-0-dev libpython3-dev python3-numpy swig \
|
||||
python3-distutils iproute2
|
||||
python3-distutils iproute2 wget
|
||||
|
||||
# Get SoapySDR, compile and install
|
||||
RUN git clone https://github.com/pothosware/SoapySDR.git && \
|
||||
@@ -52,6 +52,22 @@ RUN git clone https://github.com/myriadrf/LimeSuite.git && \
|
||||
cmake ../ && make && make install && \
|
||||
ldconfig
|
||||
|
||||
# Get BladeRF, compile and install
|
||||
RUN git clone https://github.com/Nuand/bladeRF.git && \
|
||||
cd bladeRF/host/ && \
|
||||
mkdir build && cd build && \
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DINSTALL_UDEV_RULES=ON -DBLADERF_GROUP=plugdev ../ && make && make install && \
|
||||
ldconfig && \
|
||||
mkdir -p /etc/Nuand/bladeRF/ && \
|
||||
wget https://www.nuand.com/fpga/hostedxA4-latest.rbf --output-document /etc/Nuand/bladeRF/hostedxA4-latest.rbf
|
||||
|
||||
# Get SoapySDR for BladeRF, compile and install
|
||||
RUN git clone https://github.com/pothosware/SoapyBladeRF.git && \
|
||||
cd SoapyBladeRF && \
|
||||
mkdir build && cd build && \
|
||||
cmake ../ && make && make install && \
|
||||
ldconfig
|
||||
|
||||
# UHD drivers for USRP
|
||||
RUN add-apt-repository ppa:ettusresearch/uhd && \
|
||||
apt update && apt -y install libuhd-dev uhd-host && \
|
||||
|
Reference in New Issue
Block a user