-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile.enb.lmssdr
36 lines (27 loc) · 1.54 KB
/
Dockerfile.enb.lmssdr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM hassiweb/oai-base:v1.0.3
MAINTAINER hassiweb <nryk.hashimoto@gmail.com>
# Build OAI eNB for LimeSDR
#RUN /openairinterface5g/cmake_targets/build_oai --eNB --hardware LMSSDR
# Install LimeSuite v19.04.0 because some APIs for LimeSDR have changed in the latest packeages
# See in detail: https://open-cells.com/index.php/2017/05/10/limesdr-installation/
RUN git clone https://github.com/myriadrf/LimeSuite.git -b v19.04.0 \
&& cd LimeSuite \
&& mkdir builddir && cd builddir \
&& cmake ../ \
&& make -j4 \
&& make install \
&& ldconfig
# Fetch configurations for LimeSDR
RUN mkdir -p /etc/limemicro && cd /etc/limemicro \
&& git clone https://github.com/myriadrf/trx-lms7002m
# Build OAI eNB for LimeSDR
RUN /openairinterface5g/cmake_targets/build_oai -c --eNB --hardware LMSSDR
# (Option) Build for telnet server (see in detail: https://gitlab.eurecom.fr/oai/openairinterface5g/blob/v1.0.3/common/utils/telnetsrv/DOC/telnetsrv.md)
RUN /openairinterface5g/cmake_targets/build_oai --build-telnetsrv
# (Option) Build for T-tracer (see in detail: https://www.openairinterface.org/docs/workshop/1stOAINorthAmericaWorkshop/Training/KALTENBERGER-OAI_basics_June_2019.pdf)
RUN cd /openairinterface5g/common/utils/T/tracer \
&& make all
# Add the built directory path
ENV PATH $PATH:/openairinterface5g/cmake_targets/lte_build_oai/build/
# Run lte-softmodem with a sample option for LimeSDR
CMD ["lte-softmodem", "-O", "/config/enb.band1.tm1.25PRB.lmssdr.conf", "--rf-config-file", "/etc/limemicro/trx-lms7002m/config-limeSDR/LimeSDR_Mini_above_1p8GHz.ini"]