OsmocomBB Quick Start

来自Jack's Lab
2013年10月31日 (四) 16:58Comcat (讨论 | 贡献)的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到: 导航, 搜索

1 编译



2 运行

comcat@Pek-JJJ-d1:/work/gsm/baseband/osmocombb/osmocom-bb/src/host/osmoconsudo ./osmocon  -p /dev/ttyUSB0 -m c123xor ../../target/firmware/board/compal_e88/layer1.compalram.bin
[sudo] password for comcat: 
got 2 bytes from modem, data looks like: 04 81  ..
got 5 bytes from modem, data looks like: 1b f6 02 00 41  ....A
got 1 bytes from modem, data looks like: 01  .
got 1 bytes from modem, data looks like: 40  @
Received PROMPT1 from phone, responding with CMD
read_file(../../target/firmware/board/compal_e88/layer1.compalram.bin): file_size=63140, hdr_len=4, dnload_len=63147
got 1 bytes from modem, data looks like: 1b  .
got 1 bytes from modem, data looks like: f6  .
got 1 bytes from modem, data looks like: 02  .
got 1 bytes from modem, data looks like: 00  .
got 1 bytes from modem, data looks like: 41  A
got 1 bytes from modem, data looks like: 02  .
got 1 bytes from modem, data looks like: 43  C
Received PROMPT2 from phone, starting download
handle_write(): 4096 bytes (4096/63147)
handle_write(): 4096 bytes (8192/63147)
handle_write(): 4096 bytes (12288/63147)
handle_write(): 4096 bytes (16384/63147)
handle_write(): 4096 bytes (20480/63147)
handle_write(): 4096 bytes (24576/63147)
handle_write(): 4096 bytes (28672/63147)
handle_write(): 4096 bytes (32768/63147)
handle_write(): 4096 bytes (36864/63147)
handle_write(): 4096 bytes (40960/63147)
handle_write(): 4096 bytes (45056/63147)
handle_write(): 4096 bytes (49152/63147)
handle_write(): 4096 bytes (53248/63147)
handle_write(): 4096 bytes (57344/63147)
handle_write(): 4096 bytes (61440/63147)
handle_write(): 1707 bytes (63147/63147)
handle_write(): finished
got 1 bytes from modem, data looks like: 1b  .
got 1 bytes from modem, data looks like: f6  .
got 1 bytes from modem, data looks like: 02  .
got 1 bytes from modem, data looks like: 00  .
got 1 bytes from modem, data looks like: 41  A
got 1 bytes from modem, data looks like: 03  .
got 1 bytes from modem, data looks like: 42  B
Received DOWNLOAD ACK from phone, your code is running now!
battery_compal_e88_init: starting up


OsmocomBB Layer 1 (revision osmocon_v0.0.0-1749-g1b8f488-modified)
======================================================================
Device ID code: 0xb4fb
Device Version code: 0x0000
ARM ID code: 0xfff3
cDSP ID code: 0x0128
Die ID code: ebc90e05ef00d7a1
======================================================================
REG_DPLL=0x2413
CNTL_ARM_CLK=0xf0a1
CNTL_CLK=0xff91
CNTL_RST=0xfff3
CNTL_ARM_DIV=0xfff9
======================================================================
Power up simcard:
Assert DSP into Reset
Releasing DSP from Reset
Installing DSP extensions patch
Setting some dsp_api.ndb values
Setting API NDB parameters
Finishing download phase
DSP Download Status: 0x0002
DSP API Version: 0x3606 0x0000
LOST 630!
BAT-ADC: 586   6   0   0 1023 366 339 223  
	Charger at 51 mV.
	Battery at 4006 mV.
	Charging at 0 mA.
	Battery capacity is 100%.
	Battery range is 3199..3999 mV.
	Battery full at 468 LSB .. full at 585 LSB
	Charging at 239 LSB (204 mA).
	BCICTL2=0x3ff
	battery-info.flags=0x00000000
	bat_compal_e88_chg_state=0
......
......




















个人工具
名字空间

变换
操作
导航
工具箱