How to install OsmocomBB

本文介绍如何在兼容手机上安装OsmocomBB,一款免费软件/GSM基带软件实现方案。文中详细说明了安装所需的依赖项、获取源代码的方法、设置目标依赖项的过程以及编译源代码的步骤。
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.

How <wbr>to <wbr>install <wbr>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.
                                                                                                                           



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值