Compiling the E310 SDK for E110

From Hamspirit wiki
Jump to: navigation, search

DOES NOT WORK YET.

install server

 * Ubuntu server 14.04.02 (small virtual machine install option)
$ sudo apt-get install git
$ sudo apt-get install make
$ sudo apt-get install gcc diffstat chrpath texinfo g++

build

login as user and type the following:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > repo
chmod a+x repo
sudo mv repo /usr/local/bin

mkdir e100-oe-build
cd e100-oe-build
### repo init -u git://github.com/EttusResearch/e300-manifest.git -b release1
repo init -u git://github.com/EttusResearch/e300-manifest.git -b e300-dizzy

repo sync
TEMPLATECONF=`pwd`/meta-ettus/conf source ./oe-core/oe-init-build-env ./build ./bitbake
export MACHINE="ettus-e1xx"
bitbake gnuradio-dev-image

Make sure you have at least 10G free disk space.

$ wget http://files.ettus.com/e3xx_images/beta/dizzy-test/oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh 
$ chmod +x oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh
$ ./oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh
[/usr/local/oecore-x86_64/]

$ . /usr/local/oecore-x86_64/environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi

$ git clone https://github.com/EttusResearch/uhd.git
# different from docs.
$ cd uhd/host
$ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/Toolchains/oe-sdk_cross.cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_E100=ON
$ make

skipped building gnuradio.

logout, and login to clear the environment