How To run OAI eNB (No S1) with USRP X310
1.Things need to be done
1.1.1 Install a standard 32 or 64-bit 14.04 system
Nothing to tell. Note that, please install the system with networkin order to get some updates. Or, you may update your system manually.
Some commands may be: apt-get update, apt-get dist-upgrade.
1.1.2 Remove Power management
Remove all power management features inthe BIOS (sleep states, in particular C-states) and CPU frequency scaling(Intel SpeedStep). Insome cases, you can also do this with cpufreqtool.
- check this using this command: watch grep "cpu MHz" /proc/cpuinfo
- have a look at this link for further information
- you may need to add intel_pstate=disable to the Linux boot options, i.e GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_pstate=disable" in /etc/default/grub, then perform update-grub
1.1.3 Lowlatency setup
To install Ubuntu 14.10 kernel 3.17 on topof Ubuntu 14.04, 64-bit architecture and lowlatency.
version=3.17
wget -r -e robots=off --accept-regex"(.*lowlatency.*amd64)|(all).deb"
http://kernel.ubuntu.com/~kernel-ppa/mainline/v${version}-utopic/
dpkg -i kernel.ubuntu.com/*/*/*/*deb
After areboot, uname -a
shouldgive the following output:
Linux [NAME] 3.17-lowlatency #201408132253 SMPPREEMPT Thu Aug 14 03:01:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
1.2 Install Useful software
In order to edit and analyze configuration filesand log files, you need also install some other software. Which are:
cmake, vim, eclipse, wireshark,ittianalyzer, subversion, git, (updating ……..)
As to wireshark & ittianalyzer, you canfollow this post to finish the installation and configure.
(https://twiki.eurecom.fr/twiki/bin/view/OpenAirInterface/IttiAnalyzer)
1.3 UHD installation
You can follow the ETTUS’s installationguide, or you can use the autobuild script provided by OpenLTE project.( http://sourceforge.net/p/openlte/wiki/Installing%20OpenLTE/)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
As a non-root user, give the followingcommand:
mkdir gnuradio
cd gnurdio
wgethttp://www.sbrac.org/files/build-gnuradio
chmod a+x build-gnuradio
./build-gnuradio -v
You will be asked for the root passwordby the install script. The whole procedure can take up to 3 hours! It willdownload GNURadio , UHD and all the necessary dependencies.
Check the communication with your Ettus SDR:
Connect your SDR to one of the USB3 interfaces, and run:
uhd_usrp_probe
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>