Project

General

Profile

Actions

Software Getting Started » History » Revision 2

« Previous | Revision 2/31 (diff) | Next »
Anonymous, 02/19/2016 10:49 PM


OsmocomBB Getting Started Guide

This page will describe how to compile the firmware, the host utilities and how to use them.

=== Compiling osmocomBB ===
osmocomBB consists out of software that is intended to be run on the phone (target) and the host system.

==== Depenendencies for the host ====
osmocomBB requires GNU autoconf, automake, libtool, pkg-config, make and GCC to compile. You will
also need to use git to access and update the sources. There should be no other depedencies. The name
of these packages depend on the distribution used. To

For Debian the package names are: {{{
sudo aptitude install libtool autoconf git-core pkg-config make gcc
}}}

==== Depenendencies for the target ====
To compile software for the target we need a GNU Toolchain for ARM. There are various pre-compiled toolchains
available but not all of them will produce working firmware. We will try to support all these configurations but it
might take a while to identify the source of a problem.

==== Getting and updating the source ==== {{{
git clone git://git.osmocom.org/osmocom-bb.git
}}}

{{{
$ cd osmocom-bb.git
$ git pull --rebase
}}}

==== Building the source ====
Compiling both the target and the host code will happen with the following command. It assumes that the '''arm-elf-gcc'''
is inside the current path.

{{{
$ cd src
$ make
}}}

If your GCC binary that produces ARM code is not called ''''arm-elf-gcc''' you will need to invoke

{{{
$ cd src
$ make e CROSS_TOOL_PREFIX=arm-OTHER_NAME
}}}

Files (0)

Updated by about 8 years ago · 2 revisions

Add picture from clipboard (Maximum size: 48.8 MB)