OsmocomBB 編譯安裝
工具:
sudo apt-get install libtool shtool autoconf git-core pkg-config make gcc
gnuarm:
## 32 bit
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-2.16.1_gcc-4.0.2-c-c++_nl-1.14.0_gi-6.4_x86-64.tar.bz2
mv gnuarm-* ~/gnuarm
export PATH=~/gnuarm/bin:$PATH
libosmocore:
git clone git://git.osmocom.org/libosmocore.git
cd libosmocore/
autoreconf -i
./configure
make
sudo make install
cd ..
ldconfig
OsmocomBB:
git clone git://git.osmocom.org/osmocom-bb.git $ cd osmocom-bb
cd osmocom-bb
## 這個測試分支支持reading sim可以send sms等
git checkout -b testing remotes/origin/sylvain/testing
nano src/target/firmware/Makefile #將 #CFLAGS += -DCONFIG_TX_ENABLE 的注釋去掉
cd src
make
沒有報錯的話就是編譯成功了。(廢話)
OsmocomBB && Motorora C118: http://www.rzrgm.cn/hangxin1940/p/3375302.html
浙公網安備 33010602011771號