Hi all!
This is the announcement for the 4th incarnation of our bi-weekly
Osmocom Berlin meeting.
May 23, 7pm @ CCC Berlin, Marienstr. 11, 10113 Berlin
There is no particular schedule for now, but if there is interest we
can do an introduction + demo of the new sysmoBTS.
Also, I'll have my SIMtrace with me, to read out TERMINAL PROFILE from
phones for https://terminal-profile.osmocom.org/ . So if you have any
phones to read out: Please bring them (with charged battery or charger!)
So we'll just meet + talk. There seem to be some SMSC related questions
that we would want to adress, so you have been warned ;)
If you are interested to show up, feel free to do so. There is no
registration required. The meeting is free as in "free beer", despite
no actual free beer being around ;)
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 all!
Kevin has done a wonderful job of creating a tool for collaborative
collection of TERMINAL PROFILE data of mobile phones. See:
https://geekblog.kevredon.org/?p=592https://terminal-profile.osmocom.org/
I'm looking forward to see contributions by all SIMtrace owners. After
all, you no longer need to be a programmer to contribute now. All you
need is a SIMtrace and a couple of phones, which is probably true for
most people on this list.
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!
FYI: the last git commit (6ea973b79ef8f53a250313f34218680a7b5fb1b4) in
the firmware directory has fixed the problem that for certain cards,
the first APDU was transmitted together with the ATR in the first GSMTAP
message.
I am currently trying to fix some other bugs (particularly the known
issue regarding high-speed cards) and will make a v0.6 firmware release
once that is done.
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,
A few questions regarding the 7816 driver, while I wait for my SIMtrace
board to arrive:
1) It is stated in the hardware section that the datasheet for the SAM7S
does not specify working as a slave, and this is indeed the case. How did
this slave implementation come about? Trial and error or is this an
officially supported mode?
2) The SAM3S also has no mention of 7816 slave mode, and I noticed v2.0 of
the hardware will be based on this uC. Has this been verified to work?
3) I'm trying to understand why compute_fidi_ratio() returns a
multiplication of fi, di instead of division if di > 8. Didn't see anything
that states this requirement in the SAM7S datasheet (table 31-5).
Thanks!
Eran
Hi all!
This is the announcement for the 3rd incarnation of our bi-weekly
Osmocom Berlin meeting.
May 09, 7pm @ CCC Berlin, Marienstr. 11, 10113 Berlin
The schedule is as follows:
19:00 Introduction / Workshop on Osmocom SIMtrace (Kevin Redon)
Kevin will introduce SIM/USIM/UICC cards, present what SIMtrace
is and how it works, as well as how to use it to trace
communication between SIM card and phone.
20:00 Informal discussions
If you are interested to show up, feel free to do so. There is no
registration required. If the initial part is not interesting to you,
feel free to join us later at 20:00. The meeting is free as in "free
beer", despite no actual free beer being around ;)
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)
Greetings to you all.
This is my first message to this mailinglist. I received the SIMtrace hardware this week and I seem to get stuck at the point of making the firmware at this point:
make BOARD=SIMTRACE DEBUG=1 TARGET=main_simtrace
I am following the usernamual2.pdf,and I am trying to use my head, so far without too much success.
The step before that is going fine: make -f Makefile.dfu BOARD=SIMTRACE
Can anyone point me in the right direction on what toolchain to use and help me with the make-ussues below?
Thank you,
Marnix
------------------------------------------------------------------------------------------------------------------------------------------------
- I tried:
- Linux-builds: CentOS 6.2 64-bitsVM, a CentOS 6.2 32-bitsVM and finally an Ubuntu 11.10 32-bits VM.
- ARM-toolchain: GNU-arm (from the Wiki) and the CodeSourcery (advised at the openpcd website)
- Result:
With GNUarm:
marnix@ubuntu:~/openpcd/firmware$ make BOARD=SIMTRACE DEBUG=1 TARGET=main_simtrace
-------- begin (mode: RUN_FROM_ROM) --------
arm-elf-gcc (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Assembling (ARM-only): src/start/Cstartup_app.S
arm-elf-gcc -c -mcpu=arm7tdmi -I. -x assembler-with-cpp -DRUN_FROM_ROM -D__AT91SAM7S128__ -Wa,-adhlns=src/start/Cstartup_app.lst,--gdwarf-2 -Iinclude/ -D__ASSEMBLY__ src/start/Cstartup_app.S -o src/start/Cstartup_app.o
/home/marnix/gnuarm/bin/../lib/gcc/arm-elf/3.4.3/../../../../arm-elf/bin/as: unrecognized option '--gdwarf-2'
make: *** [src/start/Cstartup_app.o] Error 1
When I change DEBUG-format from dwarf-2 to stabs I get this error:
DEBUGF = stabs
#DEBUGF = dwarf-2
Linking: main_simtrace.elf
arm-elf-gcc -mcpu=arm7tdmi -I. -gstabs -DRUN_FROM_ROM -D__MS_types__ -D__LIBRFID__ -DDEBUG -DSIMTRACE -D__AT91SAM7S128__ -Isrc/simtrace -Iinclude -Isrc -O2 -Wall -Wextra -Wcast-align -Wimplicit -Wunused -Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow - Wbad-function-cast -Wsign-compare -Waggregate-return -Wa,-adhlns=src/start/Cstartup_app.lst -I../../librfid//include/ -ffunction-sections -fdata-sections -MD -MP -MF .dep/main_simtrace.elf.d src/start/Cstartup_app.o lib/changebit.o lib/clearbit.o lib/setbit.o lib/testchangebit.o lib/testclearbit.o lib/testsetbit.o lib/lib1funcs.o lib/div64.o lib/lib_AT91SAM7.o lib/vsprintf.o lib/ctype.o lib/string.o src/os/pcd_enumerate.o src/os/fifo.o src/os/dbgu.o src/os/led.o src/os/req_ctx.o src/os/trigger.o src/os/main.o src/os/syscalls.o src/os/usb_handler.o src/os/usb_benchmark.o src/os/tc_cdiv.o src/os/pit.o src/os/pwm.o src/os/pio_irq.o src/os/usbcmd_generic.o src/os/wdt.o src/os/blinkcode.o src/os/system_irq.o src/os/flash.o src/simtrace/iso7816_uart.o src/simtrace/tc_etu.o src/simtrace/sim_switch.o src/simtrace/spi_flash.o src/simtrace/main_simtrace.o --output main_simtrace.elf - nostartfiles -Wl,-Map=main_simtrace.map,--cref -lc -lgcc -L../../librfid//src/.libs/ -Wl,--gc-sections -Wl,--entry=_startup -Tlink/AT91SAM7S128-ROM-sam7dfu-app.ld
src/simtrace/sim_switch.o(.bss.stats+0x0): In function `sim_switch_init':
src/simtrace/sim_switch.c:69: multiple definition of `stats'
src/simtrace/iso7816_uart.o(.bss.stats+0x0):src/simtrace/iso7816_uart.c:668: first defined here
src/simtrace/spi_flash.o(.bss.stats+0x0): In function `spiflash_id':
src/simtrace/spi_flash.c:137: multiple definition of `stats'
src/simtrace/iso7816_uart.o(.bss.stats+0x0):src/simtrace/iso7816_uart.c:668: first defined here
src/simtrace/main_simtrace.o(.bss.stats+0x0): In function `_main_func':
src/simtrace/main_simtrace.c:220: multiple definition of `stats'
src/simtrace/iso7816_uart.o(.bss.stats+0x0):src/simtrace/iso7816_uart.c:668: first defined here
collect2: ld returned 1 exit status
make: *** [main_simtrace.elf] Error 1
With CodeSourceryARM-toolchain:
Linking: main_simtrace.elf
arm-none-eabi-gcc -mcpu=arm7tdmi -I. -gdwarf-2 -DRUN_FROM_ROM -D__MS_types__ -D__LIBRFID__ -DDEBUG -DSIMTRACE -D__AT91SAM7S128__ -Isrc/simtrace -Iinclude -Isrc -O2 -Wall -Wextra -Wcast-align -Wimplicit -Wunused -Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type - Wshadow -Wbad-function-cast -Wsign-compare -Waggregate-return -Wa,-adhlns=src/start/Cstartup_app.lst -I../../librfid//include/ -ffunction-sections -fdata-sections -MD -MP -MF .dep/main_simtrace.elf.d src/start/Cstartup_app.o lib/changebit.o lib/clearbit.o lib/setbit.o lib/testchangebit.o lib/testclearbit.o lib/testsetbit.o lib/lib1funcs.o lib/div64.o lib/lib_AT91SAM7.o lib/vsprintf.o lib/ctype.o lib/string.o src/os/pcd_enumerate.o src/os/fifo.o src/os/dbgu.o src/os/led.o src/os/req_ctx.o src/os/trigger.o src/os/main.o src/os/syscalls.o src/os/usb_handler.o src/os/usb_benchmark.o src/os/tc_cdiv.o src/os/pit.o src/os/pwm.o src/os/pio_irq.o src/os/usbcmd_generic.o src/os/wdt.o src/os/blinkcode.o src/os/system_irq.o src/os/flash.o src/simtrace/iso7816_uart.o src/simtrace/tc_etu.o src/simtrace/sim_switch.o src/simtrace/spi_flash.o src/simtrace/main_simtrace.o --output main_simtrace.elf -nostartfiles -Wl,-Map=main_simtrace.map,--cref -lc -lgcc -L../../librfid//src/.libs/ -Wl,--gc-sections -Wl,--entry=_startup -Tlink/AT91SAM7S128-ROM-sam7dfu-app.ld
/root/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(_udivsi3.o): In function `__aeabi_uidiv':
(.text+0x0): multiple definition of `__udivsi3'
lib/lib1funcs.o:/root/openpcd/firmware/lib/lib1funcs.S:183: first defined here
/root/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(_udivsi3.o): In function `__aeabi_uidiv':
(.text+0x0): multiple definition of `__aeabi_uidiv'
lib/lib1funcs.o:/root/openpcd/firmware/lib/lib1funcs.S:183: first defined here
collect2: ld returned 1 exit status
make: *** [main_simtrace.elf] Error 1
Hi all!
Just in time before OsmoDevCon, I managed to releaes a new version of
the SIMtrace firmware.
The list of changes is quite extensive and should address a number of
the reliability problems that people have experienced.
The changes include:
* don't activate pass-through and LDO supply for the sim card at
the same time, leading in power leaking from simtrace into phones
* fix a watchdog timer misconfiguration leading to occasional watchdog
resets
* fix detection of sim insert/removal
* better VCC_PHONE detection
* reduce the amount of debug logging on the serial console and replace
it by statistics (count of bytes, overruns, parity errors, etc)
* statistics can be read from the UART by pressing 't'.
* no longer crash the simtrace firmware if no simtrace host program is
running
Using this v0.5 firmware and a pretty aggressiv program causing lots of
traffic (hunz' simdump) on a cm3121 reader at card Fi(9) Di(4) ratio 64
didn't cause any lost bytes or SIMtrace resets for me anymore.
Any feedback is appreciated.
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)