Ah ok, so there is something wrong because it is not in my /host/layer23.
Suggestions? (I haven't had errors while compiling)
>----Messaggio originale----
>Da: dario.lombardo(a)libero.it
>Data: 12-apr-2011 14.07
>A: "screaming-pain(a)libero.it"<screaming-pain(a)libero.it>
>Ogg: Re: R: Re: R: Re: Problem with osmocon (beginner) + layer23 question
>
>It is in host/layer23
>
>http://bb.osmocom.org/trac/browser/src/host/layer23
>
>On 04/12/2011 01:42 PM, screaming-pain(a)libero.it wrote:
>> Thanks again,
>>
>> I am still getting the NACK most of the times or it get stuck after it
>> finishes the downloading, but with "-i 10" option I had the layer1.
compalram.
>> bin loaded.
>> It's fantastic! For the first time I got something showing on the phone
>> screen!
>>
>> Now I have another problem that is very silly but it is making me crazy.
>> I cannot find the layer23 app! Does it still exists or has it been
replaced?
>>
>> Regards,
>> Loretta
>>
>>> ----Messaggio originale----
>>> Da: dario.lombardo(a)libero.it
>>> Data: 11-apr-2011 14.49
>>> A: "screaming-pain(a)libero.it"<screaming-pain(a)libero.it>
>>> Cc:<baseband-devel(a)lists.osmocom.org>
>>> Ogg: Re: R: Re: Problem with osmocon (beginner)
>>>
>>>
>>>
>>> On 04/11/2011 02:07 PM, screaming-pain(a)libero.it wrote:
>>>> Received PROMPT2 from phone, starting download
>>>> handle_write(): 1023 bytes (1023/19567)
>>>> handle_write(): 768 bytes (1791/19567)
>>>> handle_write(): 112 bytes (19567/19567)
>>>> handle_write(): finished
>>> This is what I see when things go right. Sometimes my phone stucks even
>>> if nothing has (apparently) gone wrong. My hint is to start from scratch
>>> (I mean: take the battery out, wait a couple of seconds, stop osmocom,
>>> start it again, try again).
>>> That's not a "precise" way to proceed, but I observed that my cable is
>>> extremely noisy and that makes the download phase very critical. I think
>>> that things should work for you.
>>> Dario.
>>>
>>>
>>
>>
>
Hello there,
Could anyone help me with the following, please:
Is there any way to monitor baseband via OS? I.e. when the GSM modem
receives some communication from the network and such communication is
"addressed" to SIM (e.g. RAND), can we use OS to either (a) "see" that
communication from the network, or (b) at least know that some communication
of certain type was received by the modem and passed on to SIM?
Many thanks in advance for your time and consideration!
Alexander
Thanks again,
I am still getting the NACK most of the times or it get stuck after it
finishes the downloading, but with "-i 10" option I had the layer1.compalram.
bin loaded.
It's fantastic! For the first time I got something showing on the phone
screen!
Now I have another problem that is very silly but it is making me crazy.
I cannot find the layer23 app! Does it still exists or has it been replaced?
Regards,
Loretta
>----Messaggio originale----
>Da: dario.lombardo(a)libero.it
>Data: 11-apr-2011 14.49
>A: "screaming-pain(a)libero.it"<screaming-pain(a)libero.it>
>Cc: <baseband-devel(a)lists.osmocom.org>
>Ogg: Re: R: Re: Problem with osmocon (beginner)
>
>
>
>On 04/11/2011 02:07 PM, screaming-pain(a)libero.it wrote:
>> Received PROMPT2 from phone, starting download
>> handle_write(): 1023 bytes (1023/19567)
>> handle_write(): 768 bytes (1791/19567)
>> handle_write(): 112 bytes (19567/19567)
>> handle_write(): finished
>This is what I see when things go right. Sometimes my phone stucks even
>if nothing has (apparently) gone wrong. My hint is to start from scratch
>(I mean: take the battery out, wait a couple of seconds, stop osmocom,
>start it again, try again).
>That's not a "precise" way to proceed, but I observed that my cable is
>extremely noisy and that makes the download phase very critical. I think
>that things should work for you.
>Dario.
>
>
Thank you Sylvain and Dario!
It was a cable problem, I bought a usb one and It works, the only problem is
that now I get a NACK,
I read it could be a timing problem and I tried to comment the printf as
suggested in a recent post, but it did not work.
This is what happens:
loretta@loretta-laptop:~/osmocom-bb/src/host/osmocon$ ./osmocon -p
/dev/ttyUSB0 -m c123xor ../../target/firmware/board/compal_e88/hello_world.
e88loader.bin
got 2 bytes from modem, data looks like: 2f c8 /.
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/hello_world.e88loader.bin):
file_size=19560, hdr_len=4, dnload_len=19567
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(): 1023 bytes (1023/19567)
handle_write(): 768 bytes (1791/19567)
handle_write(): 768 bytes (2559/19567)
handle_write(): 768 bytes (3327/19567)
handle_write(): 768 bytes (4095/19567)
handle_write(): 768 bytes (4863/19567)
handle_write(): 768 bytes (5631/19567)
handle_write(): 768 bytes (6399/19567)
handle_write(): 768 bytes (7167/19567)
handle_write(): 768 bytes (7935/19567)
handle_write(): 768 bytes (8703/19567)
handle_write(): 768 bytes (9471/19567)
handle_write(): 768 bytes (10239/19567)
handle_write(): 768 bytes (11007/19567)
handle_write(): 768 bytes (11775/19567)
handle_write(): 768 bytes (12543/19567)
handle_write(): 768 bytes (13311/19567)
handle_write(): 768 bytes (14079/19567)
handle_write(): 768 bytes (14847/19567)
handle_write(): 768 bytes (15615/19567)
handle_write(): 768 bytes (16383/19567)
handle_write(): 768 bytes (17151/19567)
handle_write(): 768 bytes (17919/19567)
handle_write(): 768 bytes (18687/19567)
handle_write(): 768 bytes (19455/19567)
handle_write(): 112 bytes (19567/19567)
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: 45 E
got 1 bytes from modem, data looks like: 53 S
got 1 bytes from modem, data looks like: 16 .
Received DOWNLOAD NACK from phone, something went wrong :(
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 .
Most of the times though it just arrives to the handle_write():finished prints
out few "got 1 bytes from modem, data looks like: " lines
and it stops there
Do you have any suggestion? What should I check?
Thanks for your help,
Loretta
>----Messaggio originale----
>Da: dario.lombardo(a)libero.it
>Data: 4-apr-2011 18.01
>A: "screaming-pain(a)libero.it"<screaming-pain(a)libero.it>
>Ogg: Re: Problem with osmocon (beginner)
>
>On 04/04/2011 05:33 PM, screaming-pain(a)libero.it wrote:
>> what is going on? can anyone help me to understand how to proceed?
>>
>Sometimes it happens that moving slightly the jack is enough to break
>the serial line. Sometimes I have to try many times, without touching
>the phone before the fw loads. Try to insist without moving the phone,
>and If you are not lucky try to change cable.
>
Hi all,
this email don't want to be a provocative email but just an opinion
related to the creation of value for GSM TLC stack into the opensource
environment.
As we know currently there are several different projects growing into
the GSM (then tetra and in future 3G?) opensource ecosystem.
The first "pratical" base has been OpenBTS as a simplified GSM um
interface for VoIP.
The second major implementations was around the osmocom project that
build-up a complete and well designed GSM stack with all the modular
interfaces and protocols for communications between BTS and BSC, with
MSC, HLR, GGSN, SGSN and major GSM network components.
Additionally, if i understood correctly osmocom is much more advanced
with broad scope and better design than OpenBTS.
It seems to me that OpenBTS it's almost stalled due to the "commercial
fork" of the OpenSource project and only fairwaves is contributing to
the opensource branch.
I personally really dislike the "Commercial fork" approach where the
community is used only in the early phase of the project to improve it
and from a certain point the community doesn't get almost any added value.
I like much more the dual-licensed approach like AGPL/Commercial (like
http://pjsip.org) where all the value of the code is publicly released.
However, my post was related to a question:
- How complex would be, leveraging existing public OpenBTS code, to
integrate into the Osmocom project?
I mean, having a sort of lightweight BTS component speaking A-Bis over
IP to OpenBSC like the cheap nano ip.access BTS does.
For what i read now Osmocom have 2 software BTS (Osmo-BTS and Soft-BTS),
communicating with the A-BIS over IP interface to OpenBSC:
http://lists.gnumonks.org/pipermail/openbsc/2011-March/002529.htmlhttp://lists.gnumonks.org/pipermail/openbsc/2010-April/001508.html
I've read that only a lot of time ago (2009) there was a discussion
about OpenBTS to OpenBSC integration:
http://lists.gnumonks.org/pipermail/openbsc/2009-October/000955.html
At the current stage of development (2011), with Osmocom finally getting
a Software-BTS part communicating to the Software-BSC side, how really
complex it would be to integrate the GSM-um related part of OpenBTS into
the project?
With that approach the 'GSM-um' interface would be a very simplified
module of the overall system and osmocom would completely replace
OpenBTS all-in-one project.
Am i right?
-naif
p.s. Sorry for the cross-posting, i just wanted to explain the idea and
get the communities feedbacks to understand 'at which point' we are in
order to think 'what would be required to be done' to achieve that goal.
Hi all,
Finally I was able to compile osmocombb with much debugging.
Next,how exactly can we build the cable"T191".I was unable to find it on the
web.Can anyone help with a schematics and a procedure of how to do it.
I would be grateful for it.
cheers
Hi all,
I have been trying to load "hello world" for hours with no joy so far :(
I am using Ubuntu Karmic and a motorola c115 my with a usb to serial and mot
T191 cable.
I tried different -m options, most of the times nothing happens, though if I
play a bit with the earphone jack and the c115 start button
it seems some sort of communication starts and the each time I press the start
button I can read the following
got 1 bytes from modem, data looks like: 00 .
got 1 bytes from modem, data looks like: f1 .
got 1 bytes from modem, data looks like: 06 .
got 1 bytes from modem, data looks like: 72 r
got 1 bytes from modem, data looks like: 82 .
got 1 bytes from modem, data looks like: bf .
got 1 bytes from modem, data looks like: 7d }
got 1 bytes from modem, data looks like: fd .
got 1 bytes from modem, data looks like: 7f .
got 1 bytes from modem, data looks like: 00 .
got 1 bytes from modem, data looks like: a6 .
got 1 bytes from modem, data looks like: 51 Q
got 1 bytes from modem, data looks like: d2 .
got 1 bytes from modem, data looks like: 51 Q
got 1 bytes from modem, data looks like: 0a .
got 1 bytes from modem, data looks like: 3a :
got 1 bytes from modem, data looks like: 02 .
got 1 bytes from modem, data looks like: 4d M
got 1 bytes from modem, data looks like: a3 .
got 1 bytes from modem, data looks like: 14 .
got 1 bytes from modem, data looks like: 1b .
got 1 bytes from modem, data looks like: 00 .
got 1 bytes from modem, data looks like: 00 .
what is going on? can anyone help me to understand how to proceed?
I got once during my trials the message:
Received PROMPT1 from phone, responding with CMD
but I had a wrong file name so it just wrote it could not find the file :(
I know I am a disaster but I would appreciate if someone could give a hint
Thanks you very much,
Loretta
Hi all,
I found out the -nodefaultlibs option is due to a recent patch, so it seems it
is solving someone's problem, but it may not be good for everyone.
I could compile osmocon-bb without -nodefaultlibs and I found out it compiles
without -nostartfiles as well.
May be this two options should not be hardcoded, because someone else could
have my same problem with the -nodefaultlibs
(the -nodefaultfiles did not cause problems to me but seems not to be
essential)
Regards,
Loretta
>----Messaggio originale----
>Da: screaming-pain(a)libero.it
>Data: 1-apr-2011 13.14
>A: <baseband-devel(a)lists.osmocom.org>
>Ogg: another compiling problem (beginner)
>
>Hi all,
>
>Sorry for bothering with another compiling problem.
>I had the following error while compiling osmocom-bb:
>
>configure:3246: arm-elf-gcc -Os -ffunction-sections -I/home/loretta/osmocom-
>bb/src/target/firmware/include -nostartfiles -nodefaultlibs conftest.c >&5
>conftest.c: In function `main':
>conftest.c:15: warning: initialization makes pointer from integer without a
>cast
>/home/loretta/install/gnuarm-3.4.3/bin/../lib/gcc/arm-elf/3.4.3/../../../..
>/arm-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to
>00008000
>/tmp/ccgIuxoW.o(.text.main+0x14): In function `main':
>: undefined reference to `fopen'
>/tmp/ccgIuxoW.o(.text.main+0x1c): In function `main':
>: undefined reference to `ferror'
>/tmp/ccgIuxoW.o(.text.main+0x30): In function `main':
>: undefined reference to `fclose'
>collect2: ld returned 1 exit status
>configure:3250: $? = 1
>configure:3287: result:
>configure: failed program was:
>| /* confdefs.h */
>| #define PACKAGE_NAME "libosmocore"
>| #define PACKAGE_TARNAME "libosmocore"
>| #define PACKAGE_VERSION "UNKNOWN"
>| #define PACKAGE_STRING "libosmocore UNKNOWN"
>| #define PACKAGE_BUGREPORT "openbsc-devel(a)lists.openbsc.org"
>| #define PACKAGE_URL ""
>| #define PACKAGE "libosmocore"
>| #define VERSION "UNKNOWN"
>| /* end confdefs.h. */
>| #include <stdio.h>
>| int
>| main ()
>| {
>| FILE *f = fopen ("conftest.out", "w");
>| return ferror (f) || fclose (f) != 0;
>|
>| ;
>| return 0;
>| }
>
>
>after hours of trying to understand how to fix this, I figured out that
>without the option -nodefaultlibs everything run smoothly.
>Now, the problem is that I do not understand much of what is going on and I
>wonder, do I need that option and hence should look for a different way of
>fixing the problem?
>
>Thanks for your help,
>Loretta
>
>
Hello Harald,
While running ./go.sh i come across below error there no one on
airprob lis now a days plz help why i'm getting that error
========
root@ubuntu:/home/xx/6jan/airprobe/gsm-tvoid/src/python# ./go.sh
GSMSP_940.8Mhz_118.cfile
go.sh <file.cfile> [decim==112]
% offset = 0.0 clock = 64000000.0
Reading data from: GSMSP_940.8Mhz_118.cfile
>>> gr_fir_ccc: using SSE
>>> gr_fir_ccf: using SSE
(python:7893): Gtk-CRITICAL **: gtk_window_resize: assertion `width >
0' failed <<<<<<<<<<<<<<<<
=======
Kind Regards,
I'm having this question about NCC allocation. Is this unique for an operator inside a country? And how it goes if you travel abroad ? (Will the phone look for a network with the same NCC at the begining?)
After that it will look at sysinfo and the other stuff but I was wondering how it goes at power up?
Thanks.
Hi.
In its current stage osmocom makes full use of CCCH-CONF and BS-AG-BLK_RES fields of CCCH description? If a block is reserved for access grant it won't be used on paging?
Is there anyway of calling "gsm48_sysinfo_dump" to print on the console?
Cheers,
Mihai.
> But it is also possible to have two layer 3 messages in the same
LAPDm frame (one ending and one starting for example)?
no, you can't! it could be possible, since there is a length field in
every layer 2 frame, but there is nothing in the specs about it.
Hi all,
Sorry for bothering with another compiling problem.
I had the following error while compiling osmocom-bb:
configure:3246: arm-elf-gcc -Os -ffunction-sections -I/home/loretta/osmocom-
bb/src/target/firmware/include -nostartfiles -nodefaultlibs conftest.c >&5
conftest.c: In function `main':
conftest.c:15: warning: initialization makes pointer from integer without a
cast
/home/loretta/install/gnuarm-3.4.3/bin/../lib/gcc/arm-elf/3.4.3/../../../..
/arm-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to
00008000
/tmp/ccgIuxoW.o(.text.main+0x14): In function `main':
: undefined reference to `fopen'
/tmp/ccgIuxoW.o(.text.main+0x1c): In function `main':
: undefined reference to `ferror'
/tmp/ccgIuxoW.o(.text.main+0x30): In function `main':
: undefined reference to `fclose'
collect2: ld returned 1 exit status
configure:3250: $? = 1
configure:3287: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libosmocore"
| #define PACKAGE_TARNAME "libosmocore"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "libosmocore UNKNOWN"
| #define PACKAGE_BUGREPORT "openbsc-devel(a)lists.openbsc.org"
| #define PACKAGE_URL ""
| #define PACKAGE "libosmocore"
| #define VERSION "UNKNOWN"
| /* end confdefs.h. */
| #include <stdio.h>
| int
| main ()
| {
| FILE *f = fopen ("conftest.out", "w");
| return ferror (f) || fclose (f) != 0;
|
| ;
| return 0;
| }
after hours of trying to understand how to fix this, I figured out that
without the option -nodefaultlibs everything run smoothly.
Now, the problem is that I do not understand much of what is going on and I
wonder, do I need that option and hence should look for a different way of
fixing the problem?
Thanks for your help,
Loretta
Thanks.
But it is also possible to have two layer 3 messages in the same LAPDm frame (one ending and one starting for example)?
Cheers.
--- On Fri, 4/1/11, Andreas.Eversberg <Andreas.Eversberg(a)versatel.de> wrote:
From: Andreas.Eversberg <Andreas.Eversberg(a)versatel.de>
Subject: AW: layer3 messages questions
To: "eisencah eisenach" <wbg_1000(a)yahoo.com>, baseband-devel(a)lists.osmocom.org
Date: Friday, April 1, 2011, 12:13 PM
hi,
> One question : are there any layer 3 messages that would span across
multiple LAPDm frames? Or are they chosen such that this
> never happens?
example: in case you dial a long number, the complete L2 message may
exceed 23 bytes. in this case the
message is split into multiple
messages. this is supported by osmocom/lapdm.
Hi everyone.
One question : are there any layer 3 messages that would span across multiple LAPDm frames? Or are they chosen such that this never happens?
Thanks,
Mihai.
hi,
> One question : are there any layer 3 messages that would span across
multiple LAPDm frames? Or are they chosen such that this
> never happens?
example: in case you dial a long number, the complete L2 message may
exceed 23 bytes. in this case the message is split into multiple
messages. this is supported by osmocom/lapdm.