Hello,
at the compiling/installiation of osmocombb I get follow error:
e checking dependency style of gcc... gcc3 ../configure: line 3786: syntax
error near unexpected token pic-only' ../configure: line 3786:
LT_INIT(pic-only)' make: *** [shared/libosmocore/build-target/Makefile]
error 2
I made follow:
$ git clone git://git.osmocom.org/osmocom-bb.git
$ cd osmocom-bb
$ git pull -rebase
$ cd src
$ make
after make there are this error!
I have the Ubuntu-version 12.04 LTS in a VBox von oracel (64bit)
anyone an Idea?
best regards
--
View this message in context: http://baseband-devel.722152.n3.nabble.com/osmocom-error-at-compiing-tp4026…
Sent from the baseband-devel mailing list archive at Nabble.com.
Hi everyone,
I am facing a new problem. When i am trying to load layer1 on to mobile phone, getting the following error:
saxena@cosec-ug-vm1-04:/opt/osmocom-bb/src/host/osmocon$ sudo -E ./osmocon -p /dev/ttyUSB0 -m c123xor ../..target/firmware/board/compal_e88/layer1.compalram.bin
got 1 bytes from modem, data looks like: 2e .
got 1 bytes from modem, data looks like: c8 .
got 1 bytes from modem, data looks like: 1b .
got 4 bytes from modem, data looks like: 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
Next time when I am trying, it does not show anything and just hang like as:
saxena@cosec-ug-vm1-04:/opt/osmocom-bb/src/host/osmocon$ sudo -E ./osmocon -p /dev/ttyUSB0 -m c123xor ../..target/firmware/board/compal_e88/layer1.compalram.bin
(no display)
Now, the phone is not able to switch on. I pressed red button many times but it doesn't work.
can anyone tell me what is wrong in it?
With regards
Neetesh Saxena...
Get your own FREE website, FREE domain & FREE mobile app with Company email. Know More >
neetesh saxena wrote:
> MS '1' is down, radio is not started
hi neetesh,
did you start your phone? what does "osmocon" (debugging ouput) show?
does it load the layer1 binary when pressing the red button?
best regards,
andreas
Hi,
I am a new user to osmocom. I am getting the following error:
OsmocomBB# show ms 1
MS '1' is down, radio is not started
IMEI: 000000000000000
IMEISV: 0000000000000000
IMEI generation: fixed
automatic network selection state: A0 null
cell selection state: C0 null
radio ressource layer state: idle
mobility management layer state: MM idle, PLMN search
OsmocomBB# show subscriber 1
Mobile Subscriber of MS '1':
IMSI:
Status: U2_NOT_UPDATED IMSI detached LAI: invalid
Access barred cells: no
Access classes:
can anyone tell me the solution what is the exact problem.
I have also tried this one:
"enable" -> "conf t" -> "ms 1" -> "no shutdown"
and make "write" the config.
Please help me. I am also using C118 phone in Germany.
regards,
Neetesh
Get your own FREE website, FREE domain & FREE mobile app with Company email. Know More >
---
include/osmocom/core/msgb.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/osmocom/core/msgb.h b/include/osmocom/core/msgb.h
index fe2733b..9221fda 100644
--- a/include/osmocom/core/msgb.h
+++ b/include/osmocom/core/msgb.h
@@ -99,7 +99,7 @@ uint16_t msgb_length(const struct msgb *msg);
* This function computes the number of bytes between the tail of the
* message and the layer 1 header.
*/
-static inline unsigned int msgb_l1len(const struct msgb *msgb)
+static inline uint16_t msgb_l1len(const struct msgb *msgb)
{
return msgb->tail - (uint8_t *)msgb_l1(msgb);
}
@@ -111,7 +111,7 @@ static inline unsigned int msgb_l1len(const struct msgb *msgb)
* This function computes the number of bytes between the tail of the
* message and the layer 2 header.
*/
-static inline unsigned int msgb_l2len(const struct msgb *msgb)
+static inline uint16_t msgb_l2len(const struct msgb *msgb)
{
return msgb->tail - (uint8_t *)msgb_l2(msgb);
}
@@ -123,7 +123,7 @@ static inline unsigned int msgb_l2len(const struct msgb *msgb)
* This function computes the number of bytes between the tail of the
* message and the layer 3 header.
*/
-static inline unsigned int msgb_l3len(const struct msgb *msgb)
+static inline uint16_t msgb_l3len(const struct msgb *msgb)
{
return msgb->tail - (uint8_t *)msgb_l3(msgb);
}
@@ -135,7 +135,7 @@ static inline unsigned int msgb_l3len(const struct msgb *msgb)
* This function computes the length difference between the underlying
* data buffer and the used section of the \a msgb.
*/
-static inline unsigned int msgb_headlen(const struct msgb *msgb)
+static inline uint16_t msgb_headlen(const struct msgb *msgb)
{
return msgb->len - msgb->data_len;
}
@@ -147,7 +147,7 @@ static inline unsigned int msgb_headlen(const struct msgb *msgb)
* This function computes the amount of octets left in the underlying
* data buffer after the end of the message.
*/
-static inline int msgb_tailroom(const struct msgb *msgb)
+static inline uint16_t msgb_tailroom(const struct msgb *msgb)
{
return (msgb->head + msgb->data_len) - msgb->tail;
}
@@ -159,7 +159,7 @@ static inline int msgb_tailroom(const struct msgb *msgb)
* This function computes the amount of bytes left in the underlying
* data buffer before the start of the actual message.
*/
-static inline int msgb_headroom(const struct msgb *msgb)
+static inline uint16_t msgb_headroom(const struct msgb *msgb)
{
return (msgb->data - msgb->head);
}
--
1.8.3.2
--------------060007020105010906090408--
Hello guys,
attached is a patch that fixes a few issues regarding SIM reader in Motorola phones (tested on C123), description:
if there’s a lot of reading from SIM it happens a FIFO gets full, IMHO the right way is to read until the FIFO is empty (while-loop added)
FETCH APDU has to be handled in the same way as GET RESPONSE (added)
once REG_SIM_IT_SIM_NATR is triggered it should set the rxDoneFlag to 1 because otherwise there’s trouble recognising NO SIM state on L1 if SIM isn’t present
in calypso_sim_powerup() and calypso_sim_reset() should set state to IDLE and put sim_len to 0 because if you do powerdown/powerup the state machine gets messed up
unsetting CONFBYPASS should make the CONFSVCCLEV and CONFSRSTLEV irrelevant but it doesn’t, calypso_sim_powerdown() fixed based on calypso spec
both calypso_sim_powerup() and calypso_sim_powerup() now return ATR as it should be when you poweron/reset the card
some minor debug messages fixed to keep all the messages consistent
Patch is apply-able on the current master.
Cheers!
Lukas