How to install OsmocomBB
2012-11-09 20:24
1111 查看
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.
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.
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.
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 OsmocomBB
- 如何在ubuntu 上安装eclipse: how to install eclipse on ubuntu
- 【转】How to build and install PHP 5.6.9 from source on Ubuntu 14.04 VPS
- Ubuntu 14.04 – How to install xrdp in Ubuntu 14.04
- How to cabal install
- How to install OpenGrok in ubuntu 14?
- How to install missing pthread manpages in Ubuntu?
- How to Install Laravel with an Nginx Web Server on Ubuntu 14.04(Composer,laravel,nginx)
- How to install webcamd--安装webcamd
- How To Install Git on CentOS 7
- How to install Django on Windows
- How To Install MySQL on Ubuntu 16.04
- How To Install Drupal on a Virtual Server Running CentOS 6
- How to Install CURL library for PHP in Ubuntu box
- How to Install the Latest Nvidia Driver on Ubuntu 12.04
- How to install MySQL on Ubuntu/Debian
- How to Install Open vSwitch on Linux
- How to Install Apache Tomcat 8 (on Windows, Mac OS X, Ubuntu) and Get Started with Java Servlet Prog
- How to install sun-java5-jdk on Ubuntu 10.04
- How to Install Python on Linux