zoukankan      html  css  js  c++  java
  • How to install OsmocomBB

    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 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.
                                                                                                                               
     
     
     
  • 相关阅读:
    [转]VC++ ^和gcnew
    OPPM 一页纸项目管理 OnePage Project Management
    [转]基础总结篇之五:BroadcastReceiver应用详解 .
    [转]深入浅出Java设计模式之备忘录模式
    [转]面向对象的5条基本设计原则
    [转]UED大全
    [转]VC++动态链接库(DLL)编程深入浅出(zz)
    只有壮年时的不遗余力 才能支撑一生的坎坷与幸福
    [书目20121024]当责 AccountaBility
    node.js入门
  • 原文地址:https://www.cnblogs.com/nickchan/p/3104381.html
Copyright © 2011-2022 走看看