Dear all, I vae the C115 with a T1 USB to Serial cable with the Prolific
chipset.
When i run osmocon i get :- an its just sits there with no further
processing.
./osmocon -p /dev/ttyUSB0 -m c123xor
../../target/firmware/board/compal_e88/loader.compalram.bin
read_file(../../target/firmware/board/compal_e88/loader.compalram.bin):
file_size=17120, hdr_len=4, dnload_len=17127
read_file(../../target/firmware/board/compal_e88/loader.compalram.bin):
file_size=17120, hdr_len=4, dnload_len=17127
got 1 bytes from modem, data looks like: 00 .
got 2 bytes from modem, data looks like: 2f 00 /.
got 1 bytes from modem, data looks like: 1b .
got 3 bytes from modem, data looks like: f6 02 00 ...
got 1 bytes from modem, data looks like: 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
got 1 bytes from modem, data looks like: 66 f
got 1 bytes from modem, data looks like: 74 t
got 1 bytes from modem, data looks like: 6d m
got 1 bytes from modem, data looks like: 74 t
got 1 bytes from modem, data looks like: 6f o
got 1 bytes from modem, data looks like: 6f o
got 1 bytes from modem, data looks like: 6c l
Received FTMTOOL from phone, ramloader has aborted
got 1 bytes from modem, data looks like: 65 e
got 1 bytes from modem, data looks like: 72 r
got 1 bytes from modem, data looks like: 72 r
got 1 bytes from modem, data looks like: 6f o
got 1 bytes from modem, data looks like: 72 r
got 1 bytes from modem, data looks like: 00 .
got 1 bytes from modem, data looks like: 00 .
I think the cable is ok as when i run my fingers on the tip i get random
Zeros so it appears to be talking to the cable.
Also when i tried to run Mobile i get the :- even though i created the
Mobile.cfg file in /etc/osmoco
Failed to parse the config file: '/home/raz/.osmocom/bb/mobile.cfg'
Please check or create config file using: 'touch
/home/raz/.osmocom/bb/mobile.cfg'
I have spent some hours researching the lists and trying various things to
no avail but I want to continue until I resolve this issues and use this
great stack to learn about the GSM network.
Please advise.
Great full for any help or pointers but this maybe a timing issue that is
difficult to debug.
Thanks
Raz
hi,
i did a lot of resarch and testing on cell selection and re-selection
process the last two week.
the cell selection process, network selection process (manual and
automatic) and mobility management process were already implemented in
OsmocomBB a long time, but turned out to be buggy and incomplete. i made
test drives to check the process and debugged it.
the re-selection process is new. it is used to track surrounding cells
while listening to the BCCH of the current cell (camping on a cell).
special extension to the layer1 firmare is used to measure neighbour
cells. if an neighbour cell becomes 'better', the mobile switches to
that cell, depening on different criteria. now it is possible to move
with OsmocomBB.
the re-selection process is not handover! handover is a process where a
phone switches between cells while doing a call. handover is one next
step to implement. the process is a little more complex, because it
requires not only neighbour cell measurements, but also syncing to them
without interrupting the traffic channel. most layer 3 stuff of handover
is already implemented.
if you like to play and test your moving OsmocomBB, you can check out
the "jolly/roaming" branch. it contains the extension to layer1, as well
as sim reader and fixes from "sylvain/testing" branch. use both "mobile"
and "layer1" firmware from this branch.
in order to see some process at VTY, you can do:
enable
monitor network 1 (continously display the strongest cell and neighbour
cells)
show ms 1 (to see current states)
show neighbour-cells 1 (to see a more detailed current list of
neighbours)
andreas
Hi,
in the osmocom bb mobile.cfg I don't see any posibility to set a fixed
Kc encryption key and the tmsi.
How could I achieve that osmocom uses my defined Kc and tmsi?
cheers,
Simian
Hi,
I'm trying to run the latest osmocom-bb git on a Motorola C118 phone.
After a minor problem with the build (as you may've noticed in the
patch I've sent). I got to the point of successfuly running layer1 on
the phone and the mobile app on the PC (I have also enabled TX). The
process seems to be stuck on trying to perform a location update. The
status of the ms is always either:
show ms
MS '1' is up, MM connection active
IMEI: 000000000000000
IMEISV: 0000000000000000
IMEI generation: fixed
automatic network selection state: A1 trying RPLMN
MCC=104 MNC=002 (104, 002)
cell selection state: connected mode 1
ARFCN=19 MCC=104 MNC=002 LAC=0xb00f CELLID=0x4fd9
(104, 002)
radio ressource layer state: connection pending
mobility management layer state: wait for RR connection (location updating)
OsmocomBB>
or
show ms
MS '1' is up, service is limited (pending)
IMEI: 000000000000000
IMEISV: 0000000000000000
IMEI generation: fixed
automatic network selection state: A1 trying RPLMN
MCC=104 MNC=002 (104, 002)
cell selection state: C3 camped normally
ARFCN=19 MCC=104 MNC=002 LAC=0xb00f CELLID=0x4fd9
(104, 002)
radio ressource layer state: idle
mobility management layer state: MM idle, attempting to update
OsmocomBB>
I think, that because of this I can't make any calls or send sms (all
the requests are being rejected):
OsmocomBB# call 1 <X>
call 1 <X>
OsmocomBB#
% (MS 1)
% Call has been rejected
The log information from mobile when it's trying to do a location
update is show below:
<000b> gsm48_rr.c:2174 PAGING REQUEST 1
<000b> gsm48_rr.c:2141 IMSI 260021964220249 (not for us)
<000b> gsm48_rr.c:2132 TMSI fd82a501 (not for us)
<000e> gsm48_mm.c:344 Location update retry
<0005> gsm48_mm.c:345 timer T3211 (loc. upd. retry delay) has fired
<0005> gsm48_mm.c:4311 (ms 1) Received 'MM_EVENT_TIMEOUT_T3211' event
in state MM IDLE, attempting to update
<000e> gsm48_mm.c:2199 Perform location update (MCC 104, MNC 002 LAC 0xb00f)
<0005> gsm48_mm.c:2333 LOCATION UPDATING REQUEST
<0005> gsm48_mm.c:2355 using LAI (mcc 104 mnc 002 lac 0xb00f)
<0005> gsm48_mm.c:2363 using TMSI 0x28a3d62e
<0005> gsm48_mm.c:914 new state MM IDLE, attempting to update -> wait
for RR connection (location updating)
<0001> gsm48_rr.c:5428 (ms 1) Message 'RR_EST_REQ' received in state
idle (sapi 0)
<000e> gsm48_rr.c:1318 Establish radio link due to mobility management request
<0003> gsm322.c:4037 (ms 1) Event 'EVENT_LEAVE_IDLE' for Cell
selection in state 'C3 camped normally'
<0003> gsm322.c:823 new state 'C3 camped normally' -> 'connected mode 1'
<0003> gsm322.c:3653 Going to camping (normal) ARFCN 19.
<0003> gsm322.c:463 Sync to ARFCN=19 rxlev=-74 (Sysinfo, ccch mode NON-COMB)
<0001> gsm48_rr.c:366 new state idle -> connection pending
<0001> gsm48_rr.c:1465 CHANNEL REQUEST: 00 (Location Update with NECI)
<0003> gsm322.c:2938 Channel synched. (ARFCN=19, snr=16, BSIC=17)
<0001> gsm322.c:2959 using DSC of 90
<0003> gsm48_rr.c:4816 Channel provides data.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 5)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 0 ra 0x0e)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 4)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 55 ra 0x07)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x75 chan_nr 0x0a MAIO 0 HSN 38
TS 2 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x75 chan_nr 0x0a MAIO 0 HSN 38
TS 2 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 0 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 3)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 55 ra 0x0f)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 2)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 55 ra 0x01)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 1/553m ra 0x18 chan_nr 0x59 ARFCN 19 TS 1
SS 3 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 1/553m ra 0x18 chan_nr 0x59 ARFCN 19 TS 1
SS 3 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 1)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 55 ra 0x0a)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 1 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 0)
<0001> gsm48_rr.c:1605 Done with sending RANDOM ACCESS bursts
<0001> gsm48_rr.c:836 starting T3126 with 5.000 seconds
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 0 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x0a chan_nr 0x41 ARFCN 19 TS 1
SS 0 TSC 1)
<0001> gsm48_rr.c:2393 request 0a matches but not frame number
(IMM.ASS fn=22,6,30 != RACH fn=22,5,25)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x05 chan_nr 0x49 ARFCN 19 TS 1
SS 1 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x05 chan_nr 0x49 ARFCN 19 TS 1
SS 1 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-77 snr= 0 ber= 6 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x00 chan_nr 0x61 ARFCN 19 TS 1
SS 4 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x00 chan_nr 0x61 ARFCN 19 TS 1
SS 4 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x7d chan_nr 0x0b MAIO 0 HSN 38
TS 3 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x7d chan_nr 0x0b MAIO 0 HSN 38
TS 3 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 0 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 3 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x77 chan_nr 0x09 MAIO 0 HSN 38
TS 1 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x77 chan_nr 0x09 MAIO 0 HSN 38
TS 1 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 6 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:765 timer T3126 has fired
<000e> gsm48_rr.c:770 Requesting channel failed
<0001> gsm48_rr.c:366 new state connection pending -> idle
<0003> gsm322.c:4037 (ms 1) Event 'EVENT_RET_IDLE' for Cell selection
in state 'connected mode 1'
<0003> gsm322.c:3565 Selecting ARFCN 19. after LOC.UPD.
<0003> gsm322.c:463 Sync to ARFCN=19 rxlev=-74 (Sysinfo, ccch mode NON-COMB)
<0003> gsm322.c:823 new state 'connected mode 1' -> 'C3 camped normally'
<0005> gsm48_mm.c:3902 (ms 1) Received 'RR_REL_IND' from RR in state
wait for RR connection (location updating) (sapi 0)
<0005> gsm48_mm.c:2732 RR link released after loc. upd.
<000e> gsm48_mm.c:2676 Location update failed
<000e> gsm48_mm.c:2686 Try location update later
<0005> gsm48_mm.c:2688 Loc. upd. failed, retry #0
<0005> gsm48_mm.c:413 starting T3211 (loc. upd. retry delay) with 15.0 seconds
<0005> gsm48_mm.c:1143 We are camping normally as returning to MM IDLE
<0005> gsm48_mm.c:1159 Loc. upd. allowed.
<0005> gsm48_mm.c:919 new state wait for RR connection (location
updating) -> MM IDLE, location updating needed
<0005> gsm48_mm.c:909 new MM IDLE state location updating needed ->
attempting to update
<0005> gsm48_mm.c:2215 Loc. upd. already pending.
<0005> gsm48_mm.c:4311 (ms 1) Received 'MM_EVENT_CELL_SELECTED' event
in state MM IDLE, attempting to update
<0005> gsm48_mm.c:2215 Loc. upd. already pending.
<0003> gsm322.c:2938 Channel synched. (ARFCN=19, snr=16, BSIC=17)
<0001> gsm322.c:2959 using DSC of 90
Can you provide me any hints on how to debug this ? Why is the
location update failing constantly ?
Thanks in advance for your help.
Best regards,
Maciej Grela
Hi All
Just wanted to confirm that I got Osmocom-BB up and running on a Raspberry Pi.
I did not use the GPIO UART pins but USB <-> serial converters.
I tried Motorola C118 and C155 with success.
Everything you need is already described:
http://bb.osmocom.org/trac/wiki/GnuArmToolchainhttp://bb.osmocom.org/trac/wiki/libosmocorehttp://bb.osmocom.org/trac/wiki/Software/GettingStarted?redirectedfrom=Gett…
My previous problem seems to have been a not fully compatible crosscompiled toolchain. (it worked mostly, but I could not log-in to a cell and the spectrum view crashed on the RSSI Firmware.
Also if you want transmit capability (or flashing) then you need to activate those features in the makefile.
Thanks Sylvain (confirming c118 will work) and all others who are involved!!
PS: Any news on the "emulated BTS" that has been presented at last years chaos communication congress?
I have 2 C118s + 1 normal USB serial dongle + 1 capable of burst ind.
I hope this will suffice to also run also a possible future 1 trasmit phone + 1 receive phone configuration.
I assume that even without the filter change it should be enough to send a few meters of distance.
So far three persons have indicated their interest to join
a meeting at my place.
Considering the time it takes to drive to my place, it
probably makes sense to have the meeting at the weekend
(either Saturday or Sunday) so that there is more time
for the meeting itself. I can suggest one of the following
dates for the first meeting, somewhere between 10:00 to
18:00 on each day:
25.8. (Sa) or 26.8. (Su)
1.9. (Sa) or 2.9. (Su)
8.9. (Sa) or 9.9. (Su)
So please let me know when you have time and also make
suggestions in which Osmocom topic you are interested
in so that we can have some sort of agenda for the
meeting to make best use of the time.
Best regards,
Dieter
--
Dieter Spaar, Germany spaar(a)mirider.augusta.de
Hello.
I'm having troubles compiling asn.1 files from
http://www.3gpp.org/ftp/Specs/archive/24_series/24.080/ASN.1/
I'm getting syntax error (syntax error at line 264 in module SS-Operations.asn: got
'SEQUENCE' expected ':') while running
erlc SS-Operations.asn
using Erlang version 15.b.1
As far as I recall Harald has done this for MAP asn.1
Are there any hints on what might be wrong?
Tried online compiler but it gives different errors in different places.
Should I use different version? Compile smth else before attempting to compile this
file? Fix syntax using some clever trick? Do some rtfm?
Any advices would be greatly appreciated.
--
best regards,
Max, http://fairwaves.ru
Hi every one
im having some problems installing osmocom from the wiki tutorial and this
is the first time that im installing osmocom..
i buy the motorola C118 from the sysmocom Shop.. i dont know where i have
the mistake installing the software , and maybe some of u can help me....
thanks
im using:
*
*root@ubuntu:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
So i follow the next Steps>*
*
*root@ubuntu:/opt: aptitude install libtool shtool autoconf git-core
pkg-config make gcc*
*root@ubuntu:/opt:git clone git://git.osmocom.org/osmocom-bb.git
root@ubuntu:/opt/osmocom-bb/src/shared/libosmocore# autoreconf -i
root@ubuntu:/opt/osmocom-bb/src/shared/libosmocore#./configure
root@ubuntu:/opt/osmocom-bb/src/shared/libosmocore# make
root@ubuntu:/opt/osmocom-bb/src/shared/libosmocore#sudo make install*
*after this i download
*gnu-arm-build.2.sh<http://bb.osmocom.org/trac/raw-attachment/wiki/GnuArmToolchain/gnu-arm-buil…>in
/opt i give the property permission for the .sh file and
root@ubuntu:/opt: sudo apt-get install build-essential libgmp3-dev
libmpfr-dev libx11-6 libx11-dev texinfo flex bison libncurses5 \
libncurses5-dbg libncurses5-dev libncursesw5 libncursesw5-dbg
libncursesw5-dev zlibc zlib1g-dev libmpfr4 libmpc-dev
*root@ubuntu:/opt: mkdir build install src*
*root@ubuntu:/opt:cd src/
root@ubuntu:/opt:wget http://ftp.gnu.org/gnu/gcc/gcc-4.5.2/gcc-4.5.2.tar.bz2
root@ubuntu:/opt:wget http://ftp.gnu.org/gnu/binutils/binutils-2.21.1a.tar.bz2
root@ubuntu:/opt:wget ftp://sources.redhat.com/pub/newlib/newlib-1.19.0.tar.gz*
*root@ubuntu:/opt:./gnu-arm-build.2.sh *
I will build an arm-elf cross-compiler:
Prefix: opt/install
Sources: opt/src
Build files: opt/build
Press ^C now if you do NOT want to do this.
after that i get a ok install, i add in the last line of the .bashrc file i add
*export PATH=$PATH:/opt/install/bin*
and in the root@ubuntu:/opt/osmocom-bb/src#
i run:
*
root@ubuntu:/opt/osmocom-bb/src# make
*cd shared/libosmocore/build-target && ../configure \
--host=arm-elf --enable-embedded --disable-shared \
--disable-tests ac_cv_header_sys_select_h=no \
--disable-tests ac_cv_header_sys_socket_h=no \
CFLAGS="-Os -ffunction-sections
-I/opt/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs"
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-elf-strip... arm-elf-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-gcc... arm-elf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-elf-gcc accepts -g... yes
checking for arm-elf-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-elf-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-elf
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-elf-gcc... /opt/install/arm-elf/bin/ld
checking if the linker (/opt/install/arm-elf/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/opt/install/bin/arm-elf-nm -B
checking the name lister (/opt/install/bin/arm-elf-nm -B) interface... BSD
nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to arm-unknown-elf
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format...
func_convert_file_noop
checking for /opt/install/arm-elf/bin/ld option to reload object files... -r
checking for arm-elf-objdump... arm-elf-objdump
checking how to recognize dependent libraries... unknown
checking for arm-elf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-elf-ar... arm-elf-ar
checking for archiver @FILE support... @
checking for arm-elf-strip... (cached) arm-elf-strip
checking for arm-elf-ranlib... arm-elf-ranlib
checking command to parse /opt/install/bin/arm-elf-nm -B output from
arm-elf-gcc object... ok
checking for sysroot... no
checking for arm-elf-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-elf-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if arm-elf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-elf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-elf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-elf-gcc static flag -static works... yes
checking if arm-elf-gcc supports -c -o file.o... yes
checking if arm-elf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-elf-gcc linker (/opt/install/arm-elf/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for sys/select.h... (cached) no
checking for sys/socket.h... (cached) no
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing dlopen... no
checking for doxygen... false
checking if arm-elf-gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... no
configure: creating ./config.status
config.status: creating libosmocore.pc
config.status: creating libosmocodec.pc
config.status: creating libosmovty.pc
config.status: creating libosmogsm.pc
config.status: creating libosmogb.pc
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/vty/Makefile
config.status: creating src/codec/Makefile
config.status: creating src/gsm/Makefile
config.status: creating src/gb/Makefile
config.status: creating tests/Makefile
config.status: creating utils/Makefile
config.status: creating Doxyfile.core
config.status: creating Doxyfile.gsm
config.status: creating Doxyfile.vty
config.status: creating Doxyfile.codec
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
cd shared/libosmocore/build-target && make
make[1]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make all-recursive
make[2]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
Making all in include
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/include'
Making all in src
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
make all-am
make[4]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
CC timer.lo
CC select.lo
CC signal.lo
CC msgb.lo
CC bits.lo
CC bitvec.lo
CC statistics.lo
../../src/statistics.c: In function 'osmo_counter_get_by_name':
../../src/statistics.c:72:3: warning: implicit declaration of function
'strcmp'
CC write_queue.lo
CC utils.lo
../../src/utils.c: In function 'get_value_string':
../../src/utils.c:33:2: warning: format '%x' expects type 'unsigned int',
but argument 4 has type 'uint32_t'
../../src/utils.c: In function 'get_string_value':
../../src/utils.c:49:3: warning: implicit declaration of function
'strcasecmp'
CC socket.lo
CC logging.lo
../../src/logging.c: In function 'log_parse_category_mask':
../../src/logging.c:168:2: warning: implicit declaration of function
'strdup'
../../src/logging.c:168:15: warning: incompatible implicit declaration of
built-in function 'strdup'
../../src/logging.c:175:2: warning: implicit declaration of function
'strtok'
../../src/logging.c:175:17: warning: assignment makes pointer from integer
without a cast
../../src/logging.c:179:4: warning: implicit declaration of function
'strstr'
../../src/logging.c:179:18: warning: incompatible implicit declaration of
built-in function 'strstr'
../../src/logging.c:205:27: warning: assignment makes pointer from integer
without a cast
../../src/logging.c: In function '_file_output':
../../src/logging.c:446:2: warning: implicit declaration of function
'fprintf'
../../src/logging.c:446:2: warning: incompatible implicit declaration of
built-in function 'fprintf'
../../src/logging.c:447:2: warning: implicit declaration of function
'fflush'
../../src/logging.c: In function 'log_target_create_file':
../../src/logging.c:520:2: warning: implicit declaration of function 'fopen'
../../src/logging.c:520:23: warning: assignment makes pointer from integer
without a cast
../../src/logging.c: In function 'log_target_find':
../../src/logging.c:544:4: warning: implicit declaration of function
'strcmp'
../../src/logging.c: In function 'log_target_destroy':
../../src/logging.c:566:4: warning: implicit declaration of function
'fclose'
../../src/logging.c: In function 'log_target_file_reopen':
../../src/logging.c:579:23: warning: assignment makes pointer from integer
without a cast
CC logging_syslog.lo
CC rate_ctr.lo
../../src/rate_ctr.c: In function 'rate_ctr_get_group_by_name_idx':
../../src/rate_ctr.c:153:3: warning: implicit declaration of function
'strcmp'
CC gsmtap_util.lo
CC crc16.lo
CC panic.lo
CC backtrace.lo
CC conv.lo
CC application.lo
CC rbtree.lo
CC crc8gen.lo
CC crc16gen.lo
CC crc32gen.lo
CC crc64gen.lo
CCLD libosmocore.la
make[4]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
Making all in src/vty
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/vty'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/vty'
Making all in src/codec
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/codec'
CC gsm610.lo
CC gsm620.lo
CC gsm660.lo
CC gsm690.lo
CCLD libosmocodec.la
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/codec'
Making all in src/gsm
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gsm'
CC a5.lo
CC rxlev_stat.lo
CC tlv_parser.lo
CC comp128.lo
CC gsm_utils.lo
CC rsl.lo
CC gsm48.lo
../../../src/gsm/gsm48.c: In function 'gsm48_mi_to_string':
../../../src/gsm/gsm48.c:369:4: warning: format '%u' expects type 'unsigned
int', but argument 4 has type 'uint32_t'
CC gsm48_ie.lo
CC gsm0808.lo
CC sysinfo.lo
CC gprs_cipher_core.lo
CC gsm0480.lo
CC abis_nm.lo
CC gsm0502.lo
CC gsm0411_utils.lo
../../../src/gsm/gsm0411_utils.c: In function 'gsm340_gen_scts':
../../../src/gsm/gsm0411_utils.c:87:2: warning: #warning find a portable
way to obtain timezone offset
CC gsm0411_smc.lo
CC gsm0411_smr.lo
CC lapd_core.lo
../../../src/gsm/lapd_core.c: In function 'lapd_rx_u':
../../../src/gsm/lapd_core.c:834:5: warning: implicit declaration of
function 'memcmp'
CC lapdm.lo
CC auth_core.lo
CC auth_comp128v1.lo
CC auth_milenage.lo
CC aes-encblock.lo
CC aes-internal.lo
CC aes-internal-enc.lo
CC milenage.lo
../../../src/gsm/milenage/milenage.c: In function 'milenage_auts':
../../../src/gsm/milenage/milenage.c:226:6: warning: implicit declaration
of function 'memcmp'
CC gan.lo
CCLD libosmogsm.la
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gsm'
Making all in src/gb
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gb'
Making all in tests
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/tests'
Making all in utils
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/utils'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/utils'
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[2]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[1]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make -C host/layer23
make[1]: Entering directory `/opt/osmocom-bb/src/host/layer23'
Making all in include
make[2]: Entering directory `/opt/osmocom-bb/src/host/layer23/include'
Making all in osmocom
make[3]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
Making all in bb
make[4]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
Making all in common
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/common'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/common'
Making all in misc
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/misc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/misc'
Making all in mobile
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile'
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[4]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[4]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[3]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/include'
make[2]: Leaving directory `/opt/osmocom-bb/src/host/layer23/include'
Making all in src
make[2]: Entering directory `/opt/osmocom-bb/src/host/layer23/src'
Making all in common
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/common'
CC l1ctl.o
CC l1l2_interface.o
CC sap_interface.o
CC logging.o
CC networks.o
CC sim.o
sim.c: In function ‘gsm_sim_reply’:
sim.c:146:11: warning: variable ‘payload’ set but not used
[-Wunused-but-set-variable]
CC sysinfo.o
CC gps.o
CC l1ctl_lapdm_glue.o
AR liblayer23.a
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/common'
Making all in misc
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/misc'
CC main.o
CC app_bcch_scan.o
app_bcch_scan.c: In function ‘signal_cb’:
app_bcch_scan.c:48:3: warning: implicit declaration of function ‘fps_start’
[-Wimplicit-function-declaration]
app_bcch_scan.c: In function ‘l23_app_init’:
app_bcch_scan.c:56:2: warning: implicit declaration of function ‘fps_init’
[-Wimplicit-function-declaration]
CC bcch_scan.o
bcch_scan.c: In function ‘cinfo_timer_cb’:
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_NONE’ not handled in
switch [-Wswitch]
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_DONE’ not handled in
switch [-Wswitch]
bcch_scan.c: In function ‘rx_sch_info’:
bcch_scan.c:236:1: warning: no return statement in function returning
non-void [-Wreturn-type]
bcch_scan.c: In function ‘bscan_sig_cb’:
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_NONE’ not handled in
switch [-Wswitch]
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_BINFO’ not handled in
switch [-Wswitch]
bcch_scan.c:241:20: warning: unused variable ‘ci’ [-Wunused-variable]
bcch_scan.c: At top level:
bcch_scan.c:206:12: warning: ‘rx_bcch_info’ defined but not used
[-Wunused-function]
bcch_scan.c:233:12: warning: ‘rx_sch_info’ defined but not used
[-Wunused-function]
CCLD bcch_scan
CC app_ccch_scan.o
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:203:12: warning: variable ‘ma’ set but not used
[-Wunused-but-set-variable]
CC rslms.o
CCLD ccch_scan
CC app_echo_test.o
CCLD echo_test
CC app_cell_log.o
CC cell_log.o
CC geo.o
CCLD cell_log
CC app_cbch_sniff.o
CCLD cbch_sniff
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/misc'
Making all in mobile
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/mobile'
CC gsm322.o
gsm322.c: In function ‘gsm322_search_end’:
gsm322.c:2055:30: warning: variable ‘mnc’ set but not used
[-Wunused-but-set-variable]
gsm322.c: In function ‘gsm322_exit’:
gsm322.c:5142:7: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
CC gsm480_ss.o
gsm480_ss.c: In function ‘gsm480_mmss_ind’:
gsm480_ss.c:1221:6: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
CC gsm411_sms.o
gsm411_sms.c: In function ‘gsm340_rx_tpdu’:
gsm411_sms.c:228:19: warning: variable ‘sms_mms’ set but not used
[-Wunused-but-set-variable]
gsm411_sms.c: In function ‘gsm411_rx_rp_ud’:
gsm411_sms.c:375:2: warning: format ‘%li’ expects argument of type ‘long
int’, but argument 7 has type ‘int’ [-Wformat]
gsm411_sms.c: In function ‘gsm411_tx_sms_submit’:
gsm411_sms.c:657:3: warning: passing argument 4 of ‘gsm411_smc_init’ from
incompatible pointer type [enabled by default]
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: expected ‘int
(*)(struct gsm411_smc_inst *, int, struct msgb *, int)’ but argument is of
type ‘int (*)(struct gsm411_smc_inst *, int, struct msgb *)’
gsm411_sms.c:657:3: error: too many arguments to function ‘gsm411_smc_init’
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: declared here
gsm411_sms.c:659:3: error: too many arguments to function ‘gsm411_smr_init’
/usr/local/include/osmocom/gsm/gsm0411_smr.h:27:6: note: declared here
gsm411_sms.c: In function ‘gsm411_rcv_sms’:
gsm411_sms.c:911:4: warning: passing argument 4 of ‘gsm411_smc_init’ from
incompatible pointer type [enabled by default]
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: expected ‘int
(*)(struct gsm411_smc_inst *, int, struct msgb *, int)’ but argument is of
type ‘int (*)(struct gsm411_smc_inst *, int, struct msgb *)’
gsm411_sms.c:911:4: error: too many arguments to function ‘gsm411_smc_init’
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: declared here
gsm411_sms.c:913:4: error: too many arguments to function ‘gsm411_smr_init’
/usr/local/include/osmocom/gsm/gsm0411_smr.h:27:6: note: declared here
make[3]: *** [gsm411_sms.o] Error 1
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/mobile'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/osmocom-bb/src/host/layer23'
make: *** [host/layer23/layer23] Error 2*
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
or when i clean the installation again i run also the other command
root@ubuntu:/opt/osmocom-bb/src# make -e
CROSS_TOOL_PREFIX=/opt/install/bin/arm-elf-gcc-
*cd shared/libosmocore/build-target && ../configure \
--host=arm-elf --enable-embedded --disable-shared \
--disable-tests ac_cv_header_sys_select_h=no \
--disable-tests ac_cv_header_sys_socket_h=no \
CFLAGS="-Os -ffunction-sections
-I/opt/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs"
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-elf-strip... arm-elf-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-elf-gcc... arm-elf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-elf-gcc accepts -g... yes
checking for arm-elf-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-elf-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-elf
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by arm-elf-gcc... /opt/install/arm-elf/bin/ld
checking if the linker (/opt/install/arm-elf/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)...
/opt/install/bin/arm-elf-nm -B
checking the name lister (/opt/install/bin/arm-elf-nm -B) interface... BSD
nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to arm-unknown-elf
format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format...
func_convert_file_noop
checking for /opt/install/arm-elf/bin/ld option to reload object files... -r
checking for arm-elf-objdump... arm-elf-objdump
checking how to recognize dependent libraries... unknown
checking for arm-elf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-elf-ar... arm-elf-ar
checking for archiver @FILE support... @
checking for arm-elf-strip... (cached) arm-elf-strip
checking for arm-elf-ranlib... arm-elf-ranlib
checking command to parse /opt/install/bin/arm-elf-nm -B output from
arm-elf-gcc object... ok
checking for sysroot... no
checking for arm-elf-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... arm-elf-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if arm-elf-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-elf-gcc option to produce PIC... -fPIC -DPIC
checking if arm-elf-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-elf-gcc static flag -static works... yes
checking if arm-elf-gcc supports -c -o file.o... yes
checking if arm-elf-gcc supports -c -o file.o... (cached) yes
checking whether the arm-elf-gcc linker (/opt/install/arm-elf/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for sys/select.h... (cached) no
checking for sys/socket.h... (cached) no
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing dlopen... no
checking for doxygen... false
checking if arm-elf-gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... no
configure: creating ./config.status
config.status: creating libosmocore.pc
config.status: creating libosmocodec.pc
config.status: creating libosmovty.pc
config.status: creating libosmogsm.pc
config.status: creating libosmogb.pc
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/vty/Makefile
config.status: creating src/codec/Makefile
config.status: creating src/gsm/Makefile
config.status: creating src/gb/Makefile
config.status: creating tests/Makefile
config.status: creating utils/Makefile
config.status: creating Doxyfile.core
config.status: creating Doxyfile.gsm
config.status: creating Doxyfile.vty
config.status: creating Doxyfile.codec
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-tests, --disable-tests
cd shared/libosmocore/build-target && make
make[1]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make all-recursive
make[2]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
Making all in include
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/include'
Making all in src
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
make all-am
make[4]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
CC timer.lo
CC select.lo
CC signal.lo
CC msgb.lo
CC bits.lo
CC bitvec.lo
CC statistics.lo
../../src/statistics.c: In function 'osmo_counter_get_by_name':
../../src/statistics.c:72:3: warning: implicit declaration of function
'strcmp'
CC write_queue.lo
CC utils.lo
../../src/utils.c: In function 'get_value_string':
../../src/utils.c:33:2: warning: format '%x' expects type 'unsigned int',
but argument 4 has type 'uint32_t'
../../src/utils.c: In function 'get_string_value':
../../src/utils.c:49:3: warning: implicit declaration of function
'strcasecmp'
CC socket.lo
CC logging.lo
../../src/logging.c: In function 'log_parse_category_mask':
../../src/logging.c:168:2: warning: implicit declaration of function
'strdup'
../../src/logging.c:168:15: warning: incompatible implicit declaration of
built-in function 'strdup'
../../src/logging.c:175:2: warning: implicit declaration of function
'strtok'
../../src/logging.c:175:17: warning: assignment makes pointer from integer
without a cast
../../src/logging.c:179:4: warning: implicit declaration of function
'strstr'
../../src/logging.c:179:18: warning: incompatible implicit declaration of
built-in function 'strstr'
../../src/logging.c:205:27: warning: assignment makes pointer from integer
without a cast
../../src/logging.c: In function '_file_output':
../../src/logging.c:446:2: warning: implicit declaration of function
'fprintf'
../../src/logging.c:446:2: warning: incompatible implicit declaration of
built-in function 'fprintf'
../../src/logging.c:447:2: warning: implicit declaration of function
'fflush'
../../src/logging.c: In function 'log_target_create_file':
../../src/logging.c:520:2: warning: implicit declaration of function 'fopen'
../../src/logging.c:520:23: warning: assignment makes pointer from integer
without a cast
../../src/logging.c: In function 'log_target_find':
../../src/logging.c:544:4: warning: implicit declaration of function
'strcmp'
../../src/logging.c: In function 'log_target_destroy':
../../src/logging.c:566:4: warning: implicit declaration of function
'fclose'
../../src/logging.c: In function 'log_target_file_reopen':
../../src/logging.c:579:23: warning: assignment makes pointer from integer
without a cast
CC logging_syslog.lo
CC rate_ctr.lo
../../src/rate_ctr.c: In function 'rate_ctr_get_group_by_name_idx':
../../src/rate_ctr.c:153:3: warning: implicit declaration of function
'strcmp'
CC gsmtap_util.lo
CC crc16.lo
CC panic.lo
CC backtrace.lo
CC conv.lo
CC application.lo
CC rbtree.lo
CC crc8gen.lo
CC crc16gen.lo
CC crc32gen.lo
CC crc64gen.lo
CCLD libosmocore.la
make[4]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src'
Making all in src/vty
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/vty'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/vty'
Making all in src/codec
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/codec'
CC gsm610.lo
CC gsm620.lo
CC gsm660.lo
CC gsm690.lo
CCLD libosmocodec.la
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/codec'
Making all in src/gsm
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gsm'
CC a5.lo
CC rxlev_stat.lo
CC tlv_parser.lo
CC comp128.lo
CC gsm_utils.lo
CC rsl.lo
CC gsm48.lo
../../../src/gsm/gsm48.c: In function 'gsm48_mi_to_string':
../../../src/gsm/gsm48.c:369:4: warning: format '%u' expects type 'unsigned
int', but argument 4 has type 'uint32_t'
CC gsm48_ie.lo
CC gsm0808.lo
CC sysinfo.lo
CC gprs_cipher_core.lo
CC gsm0480.lo
CC abis_nm.lo
CC gsm0502.lo
CC gsm0411_utils.lo
../../../src/gsm/gsm0411_utils.c: In function 'gsm340_gen_scts':
../../../src/gsm/gsm0411_utils.c:87:2: warning: #warning find a portable
way to obtain timezone offset
CC gsm0411_smc.lo
CC gsm0411_smr.lo
CC lapd_core.lo
../../../src/gsm/lapd_core.c: In function 'lapd_rx_u':
../../../src/gsm/lapd_core.c:834:5: warning: implicit declaration of
function 'memcmp'
CC lapdm.lo
CC auth_core.lo
CC auth_comp128v1.lo
CC auth_milenage.lo
CC aes-encblock.lo
CC aes-internal.lo
CC aes-internal-enc.lo
CC milenage.lo
../../../src/gsm/milenage/milenage.c: In function 'milenage_auts':
../../../src/gsm/milenage/milenage.c:226:6: warning: implicit declaration
of function 'memcmp'
CC gan.lo
CCLD libosmogsm.la
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gsm'
Making all in src/gb
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/src/gb'
Making all in tests
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/tests'
Making all in utils
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/utils'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target/utils'
make[3]: Entering directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[3]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[2]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make[1]: Leaving directory
`/opt/osmocom-bb/src/shared/libosmocore/build-target'
make -C host/layer23
make[1]: Entering directory `/opt/osmocom-bb/src/host/layer23'
Making all in include
make[2]: Entering directory `/opt/osmocom-bb/src/host/layer23/include'
Making all in osmocom
make[3]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
Making all in bb
make[4]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
Making all in common
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/common'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/common'
Making all in misc
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/misc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/misc'
Making all in mobile
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile'
make[5]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[4]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom/bb'
make[4]: Entering directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[3]: Leaving directory
`/opt/osmocom-bb/src/host/layer23/include/osmocom'
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/include'
make[2]: Leaving directory `/opt/osmocom-bb/src/host/layer23/include'
Making all in src
make[2]: Entering directory `/opt/osmocom-bb/src/host/layer23/src'
Making all in common
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/common'
CC l1ctl.o
CC l1l2_interface.o
CC sap_interface.o
CC logging.o
CC networks.o
CC sim.o
sim.c: In function ‘gsm_sim_reply’:
sim.c:146:11: warning: variable ‘payload’ set but not used
[-Wunused-but-set-variable]
CC sysinfo.o
CC gps.o
CC l1ctl_lapdm_glue.o
AR liblayer23.a
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/common'
Making all in misc
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/misc'
CC main.o
CC app_bcch_scan.o
app_bcch_scan.c: In function ‘signal_cb’:
app_bcch_scan.c:48:3: warning: implicit declaration of function ‘fps_start’
[-Wimplicit-function-declaration]
app_bcch_scan.c: In function ‘l23_app_init’:
app_bcch_scan.c:56:2: warning: implicit declaration of function ‘fps_init’
[-Wimplicit-function-declaration]
CC bcch_scan.o
bcch_scan.c: In function ‘cinfo_timer_cb’:
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_NONE’ not handled in
switch [-Wswitch]
bcch_scan.c:198:2: warning: enumeration value ‘BSCAN_S_DONE’ not handled in
switch [-Wswitch]
bcch_scan.c: In function ‘rx_sch_info’:
bcch_scan.c:236:1: warning: no return statement in function returning
non-void [-Wreturn-type]
bcch_scan.c: In function ‘bscan_sig_cb’:
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_NONE’ not handled in
switch [-Wswitch]
bcch_scan.c:263:3: warning: enumeration value ‘FPS_S_BINFO’ not handled in
switch [-Wswitch]
bcch_scan.c:241:20: warning: unused variable ‘ci’ [-Wunused-variable]
bcch_scan.c: At top level:
bcch_scan.c:206:12: warning: ‘rx_bcch_info’ defined but not used
[-Wunused-function]
bcch_scan.c:233:12: warning: ‘rx_sch_info’ defined but not used
[-Wunused-function]
CCLD bcch_scan
CC app_ccch_scan.o
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:203:12: warning: variable ‘ma’ set but not used
[-Wunused-but-set-variable]
CC rslms.o
CCLD ccch_scan
CC app_echo_test.o
CCLD echo_test
CC app_cell_log.o
CC cell_log.o
CC geo.o
CCLD cell_log
CC app_cbch_sniff.o
CCLD cbch_sniff
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/misc'
Making all in mobile
make[3]: Entering directory `/opt/osmocom-bb/src/host/layer23/src/mobile'
CC gsm322.o
gsm322.c: In function ‘gsm322_search_end’:
gsm322.c:2055:30: warning: variable ‘mnc’ set but not used
[-Wunused-but-set-variable]
gsm322.c: In function ‘gsm322_exit’:
gsm322.c:5142:7: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
CC gsm480_ss.o
gsm480_ss.c: In function ‘gsm480_mmss_ind’:
gsm480_ss.c:1221:6: warning: variable ‘rc’ set but not used
[-Wunused-but-set-variable]
CC gsm411_sms.o
gsm411_sms.c: In function ‘gsm340_rx_tpdu’:
gsm411_sms.c:228:19: warning: variable ‘sms_mms’ set but not used
[-Wunused-but-set-variable]
gsm411_sms.c: In function ‘gsm411_rx_rp_ud’:
gsm411_sms.c:375:2: warning: format ‘%li’ expects argument of type ‘long
int’, but argument 7 has type ‘int’ [-Wformat]
gsm411_sms.c: In function ‘gsm411_tx_sms_submit’:
gsm411_sms.c:657:3: warning: passing argument 4 of ‘gsm411_smc_init’ from
incompatible pointer type [enabled by default]
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: expected ‘int
(*)(struct gsm411_smc_inst *, int, struct msgb *, int)’ but argument is of
type ‘int (*)(struct gsm411_smc_inst *, int, struct msgb *)’
gsm411_sms.c:657:3: error: too many arguments to function ‘gsm411_smc_init’
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: declared here
gsm411_sms.c:659:3: error: too many arguments to function ‘gsm411_smr_init’
/usr/local/include/osmocom/gsm/gsm0411_smr.h:27:6: note: declared here
gsm411_sms.c: In function ‘gsm411_rcv_sms’:
gsm411_sms.c:911:4: warning: passing argument 4 of ‘gsm411_smc_init’ from
incompatible pointer type [enabled by default]
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: expected ‘int
(*)(struct gsm411_smc_inst *, int, struct msgb *, int)’ but argument is of
type ‘int (*)(struct gsm411_smc_inst *, int, struct msgb *)’
gsm411_sms.c:911:4: error: too many arguments to function ‘gsm411_smc_init’
/usr/local/include/osmocom/gsm/gsm0411_smc.h:46:6: note: declared here
gsm411_sms.c:913:4: error: too many arguments to function ‘gsm411_smr_init’
/usr/local/include/osmocom/gsm/gsm0411_smr.h:27:6: note: declared here
make[3]: *** [gsm411_sms.o] Error 1
make[3]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src/mobile'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/osmocom-bb/src/host/layer23/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/osmocom-bb/src/host/layer23'
make: *** [host/layer23/layer23] Error 2*
*
* *
* *
hi josephli,
> Read stored BA list mnc=01
the mobile application stores the last cells and neighbour cells (band
allocation) of each network. this way the scanning is much
faster when restarting. because you use the SIM card with MNC == 02 the
first time, there is no band allocation stored for that. the mobile will
do a full scan in this case.
> while the sim card service I am tesing is actually with mnc 00 and 02.
i know that MNC == 0 will not work until i commited improvements of cell
selection process last sunday. you should retry that, but first try with
an MNC > 0.
can you provide debug output when trying a call?
also can you provide VTY output of "show ms" before you make the call?
regards,
andreas
hi,
i just fixed some locking issues the last days. fix will follow. it took
a bit longer, because there were some race conditions. it took up to
about one hour until it crashed. my way to detect the area where the
crash happened, was to turn on buzzer before that area, and turn it off
after that area. after many hours of approximation, i finally found out
that the major crash happend during _talloc_zero. (first it looks for a
free memory chunk, then it allocates it.) since it can be called from
all contexts (main, irq, fiq), it need to be locked against any
interrupt, otherwise the memory chunk can be assigned multiple times.
(the process of _talloc_free is "atomic" and requires no locking.)
because it seems pretty stable, i think it is time to merge some
branches into the master. (i made a 6 hours call yesterday. and no crash
after bugfix ever since.) i will do that together with sylvain, if we
find the time this weekend.
currently i use the jolly/voice together with the sylvain/traffic
branch. i am able to use an isdn phone togehter with linux-call-router
and make/receive calls. audio is passed both ways. i think this is a
stage where it actually become "usable". (if not moving arround.)
one of my major work for the next weeks/months will be the neighbour
cell measurement, cell re-selection, and handover. this is essential
when moving with the phone.
regards,
andreas
i have a motorola c118 and running osmocon in raspberry. Am using the
uart available in gpio pins. What are the ideal settings in terms of
baud rate to allow communication,as i can't get hello world
working.the cable is ok since when i short tx and rx,and use minicom
whatever i type on the keyboard appears on minicom.
Thanks
Hi All,
as I've just been made aware of by a business contact, there is a
NEWSDR'13 workshop which, among other things, has OsmocomBB and OpenBSC
on the list of topics:
http://ecewp.ece.wpi.edu/wordpress/sdr-boston/newsdr-13/call-for-papers/
Did anyone ever hear of this workshop? Did the organizers ever make
contact with us? I'm a bit surprised that somebody organizes a workshop
with "our" projects on the agenda without even sending the CfP to us.
Or maybe I just missed it?
In case somebody is submitting a paper there: Please make sure to
coordinate here in order to avoid different developers/contributors from
submitting similar/related topics.
Regards,
Harald
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Hi list,
I recently built the testing branch and openbts with respect to the transceiver-app.
I built openbts without compilation flags for uhd and resamp(saw on irc that that should'nt be required)
and without gnuradio.And I use the example sql openbts.db. I then use rssi-app to find the strongest reference cell and modify openbts.db
But when I upload the firmware Lost messages occur after a series of stale burst-messages.
openbts outputs a long chain of <0011> trx.c:512 TRX DATA .....
interupted by single <0011> trx.c:190 TRX CLK Indication-messages.
And phones of cannot register to openbts-network or even see it when doing manual scan.
Can the timing advance parameter and the BSIC parameterbe inserted to the openbts.db to remedy the failure of sync of the osmocom-phone-bts? If not can other measures be taken?
regards
erich
Output from upload of firmware:
----------------
Received DOWNLOAD ACK from phone, your code is running now!
Enabled Compal ramloader -> Calypso romloader chainloading mode
Received ident ack from phone, sending parameter sequence
read_file(../../target/firmware/board/compal_e88/trx.highram.bin): file_size=62964, hdr_len=0, dnload_len=62967
Received parameter ack from phone, starting download
Finished, sent 63 blocks in total
Received branch ack, your code is running now!
battery_compal_e88_init: starting up
OSMOCOM TRX (revision osmocon_v0.0.0-1747-geeafd9f-modified)
======================================================================
Device ID code: 0xb4fb
Device Version code: 0x0000
ARM ID code: 0xfff3
cDSP ID code: 0x0128
Die ID code: 0dd7253ccb039bd6
======================================================================
REG_DPLL=0x2413
CNTL_ARM_CLK=0xf0a1
CNTL_CLK=0xff91
CNTL_RST=0xfff3
CNTL_ARM_DIV=0xfff9
======================================================================
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 819!
BAT-ADC: 558 3 0 0 1023 389 364 227
Charger at 26 mV.
Battery at 3814 mV.
Charging at 0 mA.
Battery capacity is 77%.
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
L1CTL_RESET_REQ: FULL!L1CTL_FBSB_REQ (arfcn=1, flags=0x7)
Starting FCCH RecognitionFB0 (1271:1): TOA= 384, Power= -64dBm, Angle=-9235Hz
FB1 (1275:2): TOA= 1219, Power= -62dBm, Angle= 2081Hz
fn_offset=1273 (fn=1275 + attempt=2 + ntdma = 0)
delay=8 (fn_offset=1273 + 11 - fn=1275 - 1
scheduling next FB/SB detection task with delay 8
FB1 (1295:11): TOA=12467, Power= -62dBm, Angle= 389Hz
fn_offset=1293 (fn=1295 + attempt=11 + ntdma = 9)
delay=8 (fn_offset=1293 + 11 - fn=1295 - 1
scheduling next FB/SB detection task with delay 8
=>FB @ FNR 1293 fn_offset=1293 qbits=4684
Synchronize_TDMA
LOST 3660!
SB1 (2590:1): TOA= 27, Power= -64dBm, Angle= 431Hz
=> SB 0x00a6d3f1: BSIC=60 fn=1240157(935/ 9/41) qbits=16
Synchronize_TDMA
=>FB @ FNR 2589 fn_offset=1240157 qbits=4924
LOST 1909!
BAT-ADC: 558 3 0 0 1023 390 365 230
Charger at 26 mV.
Battery at 3814 mV.
Charging at 0 mA.
Battery capacity is 77%.
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
LOST 1877!
bat_compal_e88_chg_state=0
LOST 1873!
BTS MODE: 2 850
STALE BURST 2246
STALE BURST 2247
STALE BURST 2248
STALE BURST 2249
STALE BURST 2289
LOST 1884!
LOST 1866!
BAT-ADC: 554 4 0 0 1023 416 387 226
Charger at 34 mV.
Battery at 3787 mV.
-----------------
-----------------
Test with another strong reference cell
ARFCN 53:
----------
L1CTL_FBSB_REQ (arfcn=53, flags=0x7)
Starting FCCH RecognitionLOST 2063!
FB0 (1629405:2): TOA= 1776, Power= -87dBm, Angle=-5747Hz
FB1 (1629416:9): TOA=10523, Power= -87dBm, Angle= -514Hz
fn_offset=1629415 (fn=1629416 + attempt=9 + ntdma = 8)
delay=9 (fn_offset=1629415 + 11 - fn=1629416 - 1
scheduling next FB/SB detection task with delay 9
=>FB @ FNR 1629415 fn_offset=1629415 qbits=1908
Synchronize_TDMA
key=19 released
LOST 2618!
SB1 (543187:1): TOA= 30, Power= -88dBm, Angle= -409Hz
=> SB 0x0160516d: BSIC=27 fn=894398(674/24/11) qbits=28
Synchronize_TDMA
=>FB @ FNR 543186 fn_offset=894398 qbits=4936
LOST 1914!
L1CTL_NEIGH_PM_REQ new list with 8 entries
nb_cmd(0) and rxnb.msg != NULLccch_mode=0
TOA AVG is not 16 qbits, correcting (got 20)
TOA AVG is not 16 qbits, correcting (got 15)
...................
*Hi *
*every one, from the 20th of this mounth the web site as some problems , i
will like to help if you guy's if maibe osmocom projects need's servers to
host the website or anythink else, than i can help whit somo IT resources..*
*
*
*please let me know.*
*
*
*Thanks
#__________________
Atte.
**Rafael R.*
*Security Information Architect *
*CEH, CHFI, **ECSA, LPT, VCP5, CEI, VCI*
Dear all,
I have successfully made a call from the master branch of Osmocom-bb .
After integrating it to wireshark, I am able to see system information 5
and 6 but I am unable to see the measurement reports and voice traffic.
Following is what i am able to see when i execute the mobile application .
There are valid measurement reports being generated , but why cant i view
them in wireshark.? Looking forwards to your response as soon as possible.
[0;m[1;32m<0005> gsm48_mm.c:3911 (ms 1) Received 'RR_DATA_IND' from RR in
state MM connection active (sapi 0)
[0;m[1;33m<0006> gsm48_cc.c:2161 (ms 1) Received 'MMCC_DATA_IND' in CC
state MO_CALL_PROC
[0;m[1;33m<0006> gsm48_cc.c:2115 (ms 1) Received 'ALERTING' in CC state
MO_CALL_PROC
[0;m[1;33m<0006> gsm48_cc.c:717 received ALERTING
[0;m[1;33m<0006> gsm48_cc.c:243 new state MO_CALL_PROC -> CALL_DELIVERED
[0;m[1;33m<0006> gsm48_cc.c:196 (ms 1 ti 0) Sending 'MNCC_ALERT_IND' to
MNCC.
[0;m[1;37m<0009> mnccms.c:387 Call is alerting
[0;m[1;34m<0001> gsm48_rr.c:662 MON: f=57 lev=-75 snr=62 ber=151 LAI=410
03 e165 ID=9463 TA=0 pwr=10 TS=1
[0;m[1;34m<0001> gsm48_rr.c:2864 MEAS REP: pwr=10 TA=0 meas-invalid=0
rxlev-full=-75 rxlev-sub=-75 rxqual-full=0 rxqual-sub=0 dtx 0 ba 0
no-ncell-n 0
[0;m[1;34m<0001> gsm48_rr.c:4767 Indicated ta 0 (actual ta 0)
[0;m[1;34m<0001> gsm48_rr.c:4769 Indicated tx_power 10
[0;m[1;34m<0001> gsm48_rr.c:4767 Indicated ta 0 (actual ta 0)
[0;m[1;34m<0001> gsm48_rr.c:4769 Indicated tx_power 10
[0;m[1;34m<0001> gsm48_rr.c:662 MON: f=57 lev=-70 snr=49 ber= 81 LAI=410
03 e165 ID=9463 TA=0 pwr=10 TS=1
[0;m[1;34m<0001> gsm48_rr.c:2864 MEAS REP: pwr=10 TA=0 meas-invalid=0
rxlev-full=-70 rxlev-sub=-70 rxqual-full=0 rxqual-sub=0 dtx 0 ba 0
no-ncell-n 0
[0;m[1;34m<0001> gsm48_rr.c:4767 Indicated ta 0 (actual ta 0)
[0;m[1;34m<0001> gsm48_rr.c:4769 Indicated tx_power 14
Thanks and Regards
WHEN I GIT LIPO-OSMO-DSP
AND TYPE IN TERMENAL MAKE
O HAVE PROBLE THAT SAY
MAKE *** NO TARGET SPESIFIC AND NO MAKEFILE FOUND . STOP
CAN ANY BODY TELL ME WHAT IS THE WRONG
--
View this message in context: http://baseband-devel.722152.n3.nabble.com/PROBLEM-WHEN-INSTALL-LIPO-OSMO-D…
Sent from the baseband-devel mailing list archive at Nabble.com.
This is a Mailman mailing list bounce action notice:
List: baseband-devel
Member: alex.id(a)vmail.me
Action: Subscription disabled.
Reason: Excessive or fatal bounces.
The triggering bounce notice is attached below.
Questions? Contact the Mailman site administrator at
mailman(a)lists.osmocom.org.
you're right, sorry
Le 14/03/2013 13:43, Andrew Back a écrit :
>
>
> On 14 Mar 2013 12:34, "choukoumoun" <choukoumoun(a)gmail.com
> <mailto:choukoumoun@gmail.com>> wrote:
> >
> > Hello,
> >
> > The SysmoBTS and SysmoBSC is Open Hardware ?
>
> Wrong list to ask questions about BTS/BSC, and questions about
> commercial products are best directed to the vendor.
>
> Regards,
>
> Andrew
>
Hello,
Is there a project, project start, see an idea about the protocol HNBAP
example mount a HNB-GW in opensource. if it is already past the list
forgive me thank you.
helow every body here i am from saudia arabia and nice to meet you in this
forum
i have problem when i compile the tool that writen in wiki
i dont konw what is the resone but i fllow all the step that in wiki
and when i run gsmmap it work good and it scan the all network and do
ccch_scan and cell_scan
becouse it is compile correctlly
but gsmmap dose not have wireshark and vty of bsc that mean it is not work
if any body can make gsmma work with wireshark and osmo-bts transcerver of
sylan manout
or ann body can make osmocom with all tool and app work as iso like gsmmap
thank you for your timing
--
View this message in context: http://baseband-devel.722152.n3.nabble.com/gsmmap-work-good-but-tp4025917.h…
Sent from the baseband-devel mailing list archive at Nabble.com.
Dear List
I am trying to decode SDCCH.
but I am not able to do it properly.
Here is part of burst_ind app_ccch.c code.
if (rv == 0)
{
uint8_t chan_type, chan_ts, chan_ss;
uint8_t gsmtap_chan_type;
struct osmo_phsap_prim pp;
/* Send to GSMTAP */
rsl_dec_chan_nr(bi->chan_nr, &chan_type, &chan_ss, &chan_ts);
gsmtap_chan_type = chantype_rsl2gsmtap(
chan_type,
bi->flags & BI_FLG_SACCH ? 0x40 : 0x00
);
gsmtap_send(gsmtap_inst,
arfcn, chan_ts, gsmtap_chan_type, chan_ss,
ntohl(bi->frame_nr), bi->rx_level, bi->snr,
l2, sizeof(l2)
);
here l2 is 23 byte.
I need to remove send it to lapdm to decode it further then will pass it to
RR.
Please help me in using Lapdm for decoding :)
--
Akib Sayyed
Matrix-Shell
akibsayyed(a)gmail.com
akibsayyed(a)matrixshell.com
Mob:- +91-966-514-2243
Sylvain,
Where are the L1ctl.c calls documented?
I want to know more about l1ctl_tx_fbsb_req() options and what they mean.
But could not find any reference in 3GPP TS docs.
Thanks for your help.
Hello All,
I can't compile after the last pull. I know that it is an error with
toolchain detection but I have tried almost everything.
-------------------------------
As you can see the $PATH variable has the address to gnu-arm-elf binary :
arslan@arslan-Lenovo-B575:~/osmocom-bb/src$ echo $PATH
/home/arslan/arm-elf/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
-------------------------------
and when I list the items in that directory I can clearly see that the
binary is there :
arslan@arslan-Lenovo-B575:~/arm-elf/bin$ ls
arm-elf-addr2line arm-elf-cpp arm-elf-ld arm-elf-size
arm-elf-ar arm-elf-g++ arm-elf-nm arm-elf-strings
arm-elf-as arm-elf-gcc arm-elf-objcopy arm-elf-strip
arm-elf-c++ arm-elf-gcc-4.0.4 arm-elf-objdump
arm-elf-cc arm-elf-gccbug arm-elf-ranlib
arm-elf-c++filt arm-elf-gcov arm-elf-readelf
-------------------------------
But I still get the following error:
/home/arslan/osmocom-bb/src/target/firmware/include/asm/swab.h:
Assembler messages:
/home/arslan/osmocom-bb/src/target/firmware/include/asm/swab.h:32:
Error: no such instruction: `eor %edx,%ecx,%ecx,ror'
make[4]: *** [gsmtap_util.lo] Error 1
make[4]: Leaving directory
`/home/arslan/osmocom-bb/src/shared/libosmocore/build-target/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/arslan/osmocom-bb/src/shared/libosmocore/build-target/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/arslan/osmocom-bb/src/shared/libosmocore/build-target'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/arslan/osmocom-bb/src/shared/libosmocore/build-target'
make: *** [shared/libosmocore/build-target/src/.libs/libosmocore.a] Error 2
Regards,
Arslan Anjum
Research Assitant
Lahore University of Management Sciences, Pakistan
Dear Sylvain
While Decoding AMR do need to just decode and pack it into raw amr frames
or we need to think about hysterasis and all parts also
also there are total 8 codec modes
but in band data have details of on 4 codec modes
which one to choose out of 8 codec modes from those 8 modes.
--
Akib Sayyed
Matrix-Shell
akibsayyed(a)gmail.com
akibsayyed(a)matrixshell.com
Mob:- +91-966-514-2243
Hi list,
I am trying, with no success so far ,to chain-load the trx-firmware on my c118 with usb-serial-cable.:
------output-----
./osmocon -p /dev/ttyUSB0 -m
c123xor -c ../ ../target/firmware/board/compal_e88/trx.compalram.bin ../ ../target/firmware/board/compal_e88/chainload.highram.bin
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
opening file: No such file or directory
------------------------------------
I also tried switching highram-compalram:
./osmocon -p /dev/ttyUSB0 -m
c123xor -c ../ ../target/firmware/board/compal_e88/trx.highram.bin ../ ../target/firmware/board/compal_e88/chainload.compalram.bin
And also
./osmocon -p /dev/ttyUSB0 -m
c123xor -c target/firmware/board/compal_e88/trx.compalram.bin target/firmware/board/compal_e88/chainload.highram.bin
but got same errors. I used the script in the wiki for building the toolchain prior to building the code.
----------------------------------
Any ideas what might be wrong?
Regards erich