Actions
Support #3492
closedluca/gsmmtap/ branch cannot receive gsm packet
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/21/2018
Due date:
% Done:
0%
Resolution:
Spec Reference:
Description
OS:
ubuntu 16.04 Linux bogon 4.4.0-21-generic #37-Ubuntu SMP
------------------------------------------------------------------------
after git clone osmocombb ,use luca/gsmmtap/ branch with modify c118 phone to sniffer gsm uplink information , run make ,compile successful.
then run:
# ./osmocon -m c123xor -p /dev/ttyUSB0 ../../target/firmware/board/compal_e88/layer1.compalram.bin
when upload success,it appears blew content,hangs.
PM MEAS: ARFCN=1023, 45 dBm at baseband, -92 dBm at RF
L1CTL_RESET_REQ: FULL!L1CTL_FBSB_REQ (arfcn=94, flags=0x7)
_# ./ccch_scan -i 127.0.0.1 -a 87
Copyright (C) 2010 Harald Welte <laforge@gnumonks.org>
Contributions by Holger Hans Peter Freyther
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Failed to connect to '/tmp/osmocom_sap'.
Failed during sap_open(), no SIM reader_
wireshark cannot receive any gsm packet.
======================how to find the reason ?
may be
- 1.oscomcon -m parameter
- use wrong branch to use modify c118 to sniffer uplink gsm packet?
thanks for any advice.
Updated by ericwang over 5 years ago
search the web,find below method to capture uplink gsm packet.
the reason maybe note: as of 2013-10-20, if you use a toolchain
with gcc >=4.8, the firmware can be compiled,
but will hang as soon as you want to sync to an ARFCN.
This issue has been fixed in master.
after make success image,change below files:
src/target/firmware/board/compal/highram.lds
src/target/firmware/board/compal/ram.lds
src/target/firmware/board/compal_e88/flash.lds
src/target/firmware/board/compal_e88/loader.lds
src/target/firmware/board/mediatek/ram.lds
find " KEEP())" ,the add "KEEP((SORT)) "new line ,for example LONG(SIZEOF(.ctors) / 4 - 2)
/* ctor pointers */
KEEP(*(SORT(.ctors)))
KEEP(*(SORT(.init_array)))
/* end of list */
LONG(0)
next do
cd ~/osmocom-BB/src
make -e CROSS_TOOL_PREFIX=arm-none-eabi-
at last run:
# ./osmocon -m c123xor -p /dev/ttyUSB0 ../../target/firmware/board/compal_e88/layer1.compalram.bin
_# ./ccch_scan -i 127.0.0.1 -a 87
wireshark appears uplink packet.
===============
is possible to add above change code to merge with the luca/gsmmap branch?
Updated by fixeria over 5 years ago
Yes, feel free to send a patch: https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit
Actions