How to install OsmocomBB
2013-05-24 17:06
369 查看
How to install
OsmocomBB
Atract :
OsmocomBB is an Free Software / Open Source GSM Baseband
software implementation.
By using OsmocomBB on a compatible phone, you are able to make
and receive phone calls, send and receive SMS, etc. based on Free
Software only.
Introduce :
This is the project page about their experiments (so far) only
with phones based on the Ti Calypso/Iota/Rita GSM baseband chipset.
The main target is the MotorolaC123. For more supported phones,
check below.They originally intended to build an inexpensive GSM
experimentation board built with/around that chipset, but right now
are pursuing a slightly alternative course by using cheap
off-the-shelf feature phones and write custom software for
it.
OsmocomBB Getting Started :
1. Dependencies 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 shtool autoconf git-core
pkg-config make gcc
2. Getting and updating the source :
git clone git://git.osmocom.org/osmocom-bb.git
3. Dependencies for the target
To compile osmocomBB or SIMtrace for the target we need a GNU
toolchain for ARM.
GNUArm
The toolchains that are known working are the
GNUArm.com ones. They provide a ARM GCC 3.4.3 for
x86 here and a ARM GCC 4.0.2 for x86_64
here. The toolchain is relocatable and can be
extracted in your home directory.
For x86
wget http://gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2 tar xf
bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2
mv gnuarm-* ~/gnuarm
For amd64
wget http://www.gnuarm.com/bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2 tar xf bu-*_gcc-*-c-c++_nl-*_gi-*_x86-64.tar.bz2
mv gnuarm-* ~/gnuarm
To be able to use the toolchain, add the crosscompilers to
your PATH
export PATH=~/gnuarm/bin:$PATH
My PC is X86_64 and I choose arm-gcc4.0.2. If you do not
install wget, you should install it using apt-get:
sudo apt-get install wget
4. 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
Now, I install it successfully.
to install OsmocomBB" TITLE="How to install OsmocomBB" />
References: http://bb.osmocom.org/trac/wiki http://bb.osmocom.org/trac/wiki/GettingStarted http://bb.osmocom.org/trac/wiki/toolchain
Nick
Chan
Insight
Ltd.
OsmocomBB
Atract :
OsmocomBB is an Free Software / Open Source GSM Baseband
software implementation.
By using OsmocomBB on a compatible phone, you are able to make
and receive phone calls, send and receive SMS, etc. based on Free
Software only.
Introduce :
This is the project page about their experiments (so far) only
with phones based on the Ti Calypso/Iota/Rita GSM baseband chipset.
The main target is the MotorolaC123. For more supported phones,
check below.They originally intended to build an inexpensive GSM
experimentation board built with/around that chipset, but right now
are pursuing a slightly alternative course by using cheap
off-the-shelf feature phones and write custom software for
it.
OsmocomBB Getting Started :
1. Dependencies 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 shtool autoconf git-core
pkg-config make gcc
2. Getting and updating the source :
git clone git://git.osmocom.org/osmocom-bb.git
3. Dependencies for the target
To compile osmocomBB or SIMtrace for the target we need a GNU
toolchain for ARM.
GNUArm
The toolchains that are known working are the
GNUArm.com ones. They provide a ARM GCC 3.4.3 for
x86 here and a ARM GCC 4.0.2 for x86_64
here. The toolchain is relocatable and can be
extracted in your home directory.
For x86
wget http://gnuarm.com/bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2 tar xf
bu-2.15_gcc-3.4.3-c-c++-java_nl-1.12.0_gi-6.1.tar.bz2
mv gnuarm-* ~/gnuarm
For amd64
wget http://www.gnuarm.com/bu-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2 tar xf bu-*_gcc-*-c-c++_nl-*_gi-*_x86-64.tar.bz2
mv gnuarm-* ~/gnuarm
To be able to use the toolchain, add the crosscompilers to
your PATH
export PATH=~/gnuarm/bin:$PATH
My PC is X86_64 and I choose arm-gcc4.0.2. If you do not
install wget, you should install it using apt-get:
sudo apt-get install wget
4. 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
Now, I install it successfully.
to install OsmocomBB" TITLE="How to install OsmocomBB" />
References: http://bb.osmocom.org/trac/wiki http://bb.osmocom.org/trac/wiki/GettingStarted http://bb.osmocom.org/trac/wiki/toolchain
Nick
Chan
Insight
Ltd.
相关文章推荐
- How to Install and Run Network S…
- How to install packages with apt…
- How to recreate the index fnd_lo…
- How to install OsmocomBB
- how to install NOkia SDK of Chinese Version when you meet a Error:"Could not load jvm.dll"
- How To Remove Or&…
- How to run an&nbs…
- (OK) How To Install Wine 1.9.9 (Development Release) on CentOS, RHEL & Fedora
- How to sign an android app
- How to Install OpenJDK 8 in Ubuntu 14.04 & 12.04 LTS
- EBS: How to clone?
- How to Install PHP 7 on CentOS/RHEL 7.1 & 6.7
- Images; How to create an HTTP handler to dynamically resize images and change quality.
- How to Install Ruby 2.1.1 on CentOS & RHEL 6 using RVM
- HDU 2577 How to Type (DP)
- How to get Time Separator in Jav…
- How To Install Mate Desktop In Ubuntu 14.04 & 14.10
- How to got the Mac address from …
- how to setup dns in android
- How to install & uninstall software in ubuntu