Andreas.Eversberg [Tue, 10 Aug 2010 19:56:59 +0000 (19:56 +0000)]
Added support for NMEA GPS receiver
This early support does not use the received postion, it just dumps it.
Later it can be used to set clock of the phone. Also it can be used
to calculate the location of a BTS.
Andreas.Eversberg [Tue, 10 Aug 2010 19:31:07 +0000 (19:31 +0000)]
Added sequence number to L3 messages (see GSM 04.08 Clause 3.1.4.3)
This is required to detect duplicated messages during assignment or
handover. Each PDISC uses its own sequence number, but MM+CC+SS share the
same. The sequence number is only required in uplink direction.
Dieter: Please check, if your tester eats it now. Also try to trace if the
sequence number is set correctly.
Harald Welte [Wed, 4 Aug 2010 10:53:52 +0000 (12:53 +0200)]
[layer23] use gsm48_decode_freq_list() which has been moved into libosmocore
Harald Welte [Wed, 4 Aug 2010 09:48:20 +0000 (11:48 +0200)]
Harald Welte [Wed, 4 Aug 2010 09:46:44 +0000 (11:46 +0200)]
Import gsm48_decode_freq_list() from osmocom-bb/layer23
This will enable us to use this function from OpenBSC / ipaccess-config
Holger Hans Peter Freyther [Tue, 3 Aug 2010 22:27:08 +0000 (06:27 +0800)]
vty: Forward delcare the logging command.
Andreas.Eversberg [Sun, 1 Aug 2010 10:42:11 +0000 (10:42 +0000)]
[layer23] Correctly release a call, if not yet acknowledged by the network
Harald Welte [Fri, 30 Jul 2010 19:01:54 +0000 (21:01 +0200)]
logging: Make sure we don't use "end of color" code if colors are turned off
Harald Welte [Fri, 30 Jul 2010 09:43:30 +0000 (11:43 +0200)]
add new hexdump_nospc() function
Harald Welte [Fri, 30 Jul 2010 09:40:32 +0000 (11:40 +0200)]
move hexdump() from logging.c to utils.c
Harald Welte [Fri, 30 Jul 2010 08:37:29 +0000 (10:37 +0200)]
Import 'hexparse' function from OpenBSC
Sylvain Munaut [Thu, 29 Jul 2010 23:40:03 +0000 (01:40 +0200)]
layer23: Fix Makefile.am noinst_HEADERS for vty.h
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Steve Markgraf [Wed, 28 Jul 2010 13:06:02 +0000 (15:06 +0200)]
[layer23] request a layer1 reset on startup of layer2 applications
This omits the need for starting layer23 applications before
loading layer1 (which still works).
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Harald Welte [Thu, 29 Jul 2010 09:10:09 +0000 (11:10 +0200)]
Merge remote branch 'origin/sylvain/pending'
Sylvain Munaut [Sun, 25 Jul 2010 22:26:11 +0000 (00:26 +0200)]
layer23: Unify the prefix of l1ctl TX functions
Some had tx_ph_XX, others l1ctl_tx_XXX and some l1ctl_tx_ph_XXX
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 22:34:28 +0000 (00:34 +0200)]
l1ctl_proto: Use an enum for the message type rather than #defines
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 22:32:04 +0000 (00:32 +0200)]
l1ctl_proto.h: Fixup name of the guard ifdef
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 22:12:48 +0000 (00:12 +0200)]
include: Rename l1a_l23_interface.h to l1ctl_proto.h
The interface between l1 and upper layer is called by several
name. IMHO l1ctl is shorted and sounds good so try to unify
using that.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 11:34:53 +0000 (13:34 +0200)]
layer23: Use libosmocore rsl_chan_nr_str instead of local func
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 17:18:26 +0000 (19:18 +0200)]
layer1/l23_api: Fix the L3_MSG_SIZE to include l1ctl header size
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 17:19:12 +0000 (19:19 +0200)]
shared/libosmocore: Make sure to use the 'infinite loop' abort handler
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Tue, 27 Jul 2010 18:50:57 +0000 (20:50 +0200)]
Sylvain Munaut [Tue, 27 Jul 2010 18:44:46 +0000 (20:44 +0200)]
layer23: Split [2/2] -> The header files
This split the headers and adapt the source.
We use osmocom/bb as a prefix because libosomore also
uses osmocom and generic names such as misc & common could
conflict in the future.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sat, 24 Jul 2010 22:25:50 +0000 (00:25 +0200)]
layer23: Split [1/2] -> The source code
We split into :
- common: Everything that can be shared
- mobile: The real spec compliant mobile phones
- misc: Different test stuff
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 16:09:28 +0000 (18:09 +0200)]
core/msgb: Use the new osmo_panic call to handle errors
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 16:08:54 +0000 (18:08 +0200)]
core: Add some generic panic handling
This also includes an option for a minimal 'infinite loop' type
panic that could be required for embedded target that don't have
abort() or fprintf()
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 14:16:42 +0000 (16:16 +0200)]
build: Use AS_HELP_STRING macro to format the ./configure --help better
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 10:25:17 +0000 (12:25 +0200)]
osmocore: Add utility function rsl_chan_nr_str to RSL
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sat, 24 Jul 2010 20:27:40 +0000 (22:27 +0200)]
layer23: Pre-rework of the Makefile.am
liblayer23 contained a bunch of stuff that are not shared at all ...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sat, 24 Jul 2010 20:01:09 +0000 (22:01 +0200)]
layer23/include: Remove eXecutable permission bit from gsm322.h
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sat, 24 Jul 2010 19:25:38 +0000 (21:25 +0200)]
layer23: Switch to using gsmtap_util from libosmocom
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sat, 24 Jul 2010 19:11:08 +0000 (21:11 +0200)]
layer23: Remove useless file telnet_interface.c
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sun, 25 Jul 2010 08:16:46 +0000 (10:16 +0200)]
layer23: Alloc some headroom in incoming l1ctl packets
The upper layer will modify the headers and add somestuff in front,
so it's needed to avoid corrupting memory.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut [Sat, 24 Jul 2010 22:26:22 +0000 (00:26 +0200)]
fw/rf: Use printd for the trf6151_set_gain debug message
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Steve Markgraf [Fri, 23 Jul 2010 16:11:25 +0000 (18:11 +0200)]
[firmware] bring back gta0x images
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Holger Hans Peter Freyther [Fri, 23 Jul 2010 11:22:23 +0000 (19:22 +0800)]
msgb: Avoid warnings that the string might contain %s or such..
Holger Hans Peter Freyther [Fri, 23 Jul 2010 10:35:59 +0000 (18:35 +0800)]
gsm0808: Why should there be a lchan in the parameter...
Holger Hans Peter Freyther [Fri, 23 Jul 2010 10:20:02 +0000 (18:20 +0800)]
gsm0808: Import unaligned mem access fix from on-waves/bsc-master
Holger Hans Peter Freyther [Fri, 23 Jul 2010 08:35:00 +0000 (16:35 +0800)]
gsm_utils: Move the gsm_7bit_alphabet into the impl and make it static
Harald Welte [Thu, 22 Jul 2010 19:55:24 +0000 (21:55 +0200)]
msgb: Check for available headroom/tailroom and abort() if we violate it
Andreas.Eversberg [Thu, 22 Jul 2010 16:14:40 +0000 (16:14 +0000)]
[layer23] Fixed interpretation of the power measurement result.
Andreas.Eversberg [Thu, 22 Jul 2010 16:11:28 +0000 (16:11 +0000)]
[layer23] Re-structured the VTY commands for SIM insert/remove
Now the commands are "sim testcard <ms> [<mcc> <mnc>] " or "sim remove <ms>"
Ingo Albrecht [Thu, 22 Jul 2010 02:42:47 +0000 (04:42 +0200)]
flash: corrected coding style
Holger Hans Peter Freyther [Tue, 20 Jul 2010 21:02:33 +0000 (05:02 +0800)]
gsm_04_12.h: Add beginning of structs for SMS CB
I am trying to understand the RSL and GSM 04.12
spec to implement CBS for OpenBSC...
Holger Hans Peter Freyther [Tue, 20 Jul 2010 19:14:01 +0000 (03:14 +0800)]
gsm_7bit_decode: rtext does not hold a null byte, reduce the size
I have added the + 1 as I thought rtext will hold a terminating
null byte but it will not.
Nico Golde [Tue, 20 Jul 2010 13:43:58 +0000 (15:43 +0200)]
tests: don't hardcode length values of expected encoding gsm_7bit_encode:
make sure to return the number of actually written bytes gsm_7bit_decode:
calculate length of resulting septets from input length before decoding
The input length to gsm_7bit_decode reflects the number of encoded bytes
to be decoded. As the decoding is done on the input in septetes we need
to take this into account and recalculate the length.
Steve Markgraf [Mon, 19 Jul 2010 21:44:55 +0000 (23:44 +0200)]
[display] add driver for the Toppoly TD014, as used in the C139/C140
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Steve Markgraf [Mon, 19 Jul 2010 21:28:57 +0000 (23:28 +0200)]
[apps] add chainloading application
It does nothing more than jumping to the Calypso romloader.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Steve Markgraf [Mon, 19 Jul 2010 21:16:58 +0000 (23:16 +0200)]
[osmocon] add a chainloading mode for the compal ramloader
The idea is to load a small application to the phone, which
activates and executes the Calypso romloader. The payload
itself then is loaded with the romloader, bypassing the magic
and the resulting size limit on the C139/C140 and J100i.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Ingo Albrecht [Mon, 19 Jul 2010 10:00:58 +0000 (12:00 +0200)]
firmware: moved cfi_flash header to flash subdirectory
Ingo Albrecht [Mon, 19 Jul 2010 08:02:43 +0000 (10:02 +0200)]
firmware: small makefile reorg
Ingo Albrecht [Mon, 19 Jul 2010 08:01:57 +0000 (10:01 +0200)]
firmware: fixed irq-less keypad support
Ingo Albrecht [Mon, 19 Jul 2010 07:09:24 +0000 (09:09 +0200)]
firmware: moved dead-brain-flags to primary makefile
Ingo Albrecht [Mon, 19 Jul 2010 06:57:54 +0000 (08:57 +0200)]
loader: meaner. now supports address ranges for all relevant flash operations. reports better.
Ingo Albrecht [Mon, 19 Jul 2010 06:57:04 +0000 (08:57 +0200)]
firmware: e88 flash linkage
Ingo Albrecht [Mon, 19 Jul 2010 06:56:25 +0000 (08:56 +0200)]
firmware: better flash protection
Ingo Albrecht [Mon, 19 Jul 2010 00:51:28 +0000 (02:51 +0200)]
firmware: some documentation about memory maps and linkage
Ingo Albrecht [Fri, 16 Jul 2010 00:12:30 +0000 (02:12 +0200)]
firmware: gave all apps a proper hello message and let them print their git revision
Ingo Albrecht [Fri, 16 Jul 2010 00:11:40 +0000 (02:11 +0200)]
firmware: fixed linker script title
Ingo Albrecht [Thu, 15 Jul 2010 23:43:48 +0000 (01:43 +0200)]
osmoload: better message
Ingo Albrecht [Thu, 15 Jul 2010 23:43:06 +0000 (01:43 +0200)]
osmocon: new debug option, allows selective dumping of rx and/or tx.
Ingo Albrecht [Thu, 15 Jul 2010 23:04:20 +0000 (01:04 +0200)]
firmware: new highram linkage
Ingo Albrecht [Thu, 15 Jul 2010 23:03:53 +0000 (01:03 +0200)]
firmware: fixed linkage of ctors and dtors for ram images
Ingo Albrecht [Thu, 15 Jul 2010 22:34:07 +0000 (00:34 +0200)]
firmware: fixed linkage of ctors and dtors for flash images
Ingo Albrecht [Thu, 15 Jul 2010 22:30:13 +0000 (00:30 +0200)]
firmware: untabify linker scripts.
Ingo Albrecht [Thu, 15 Jul 2010 21:56:41 +0000 (23:56 +0200)]
firmware: added missing init calls
Ingo Albrecht [Thu, 15 Jul 2010 18:33:37 +0000 (20:33 +0200)]
firmware: fixed ctor linkage
Ingo Albrecht [Wed, 14 Jul 2010 06:04:59 +0000 (08:04 +0200)]
firmware: board init with a ctor does not seem a good idea to me because i need binaries without board init
Ingo Albrecht [Wed, 14 Jul 2010 03:03:27 +0000 (05:03 +0200)]
firmware: Fixed binary dependencies.
Ingo Albrecht [Wed, 14 Jul 2010 00:01:38 +0000 (02:01 +0200)]
firmware: fixed map file builds
Ingo Albrecht [Fri, 23 Apr 2010 19:51:52 +0000 (21:51 +0200)]
firmware: removed obsolete comment
Ingo Albrecht [Fri, 23 Apr 2010 19:47:25 +0000 (21:47 +0200)]
firmware: warning fixes
Ingo Albrecht [Sun, 18 Apr 2010 07:55:36 +0000 (09:55 +0200)]
loader: commented startup behaviour
Ingo Albrecht [Sun, 18 Apr 2010 07:52:37 +0000 (09:52 +0200)]
firmware: removed flash safety hack
Ingo Albrecht [Sun, 18 Apr 2010 07:51:39 +0000 (09:51 +0200)]
firmware: compile-time define for flash write support
Ingo Albrecht [Sun, 18 Apr 2010 07:45:44 +0000 (09:45 +0200)]
firmware: non-asm backlight init
Ingo Albrecht [Sun, 18 Apr 2010 07:43:25 +0000 (09:43 +0200)]
firmware: proper exception redirect
Ingo Albrecht [Sun, 18 Apr 2010 07:43:06 +0000 (09:43 +0200)]
firmware: fixed and commented backlight driver
Ingo Albrecht [Sun, 18 Apr 2010 06:37:04 +0000 (08:37 +0200)]
flash: disable all printing. needed because strings can end up in flash.
Ingo Albrecht [Sun, 18 Apr 2010 06:36:00 +0000 (08:36 +0200)]
osmoload: fixed programming abort
Ingo Albrecht [Sun, 18 Apr 2010 06:29:13 +0000 (08:29 +0200)]
firmware: establish a ramtext section for code that must be in ram
Ingo Albrecht [Sun, 18 Apr 2010 06:10:56 +0000 (08:10 +0200)]
firmware: flash programming
Ingo Albrecht [Sun, 18 Apr 2010 06:10:22 +0000 (08:10 +0200)]
flash: verify source buffer alignment when programming. allow flashing first sector.
Ingo Albrecht [Sun, 18 Apr 2010 06:09:34 +0000 (08:09 +0200)]
osmoload: flash programming
Ingo Albrecht [Sun, 18 Apr 2010 06:09:09 +0000 (08:09 +0200)]
firmware: consider reserved ram in loader linkage
Ingo Albrecht [Sun, 18 Apr 2010 06:08:43 +0000 (08:08 +0200)]
firmware: modularized startup code
Ingo Albrecht [Sun, 18 Apr 2010 06:08:03 +0000 (08:08 +0200)]
osmoload: allow running without firmware image
Ingo Albrecht [Sun, 11 Apr 2010 07:52:25 +0000 (09:52 +0200)]
firmware: separated various pieces of interrupt handling apart
Ingo Albrecht [Sun, 11 Apr 2010 06:04:20 +0000 (08:04 +0200)]
firmware: linker script and startup code reorg.
Ingo Albrecht [Sun, 11 Apr 2010 05:26:42 +0000 (07:26 +0200)]
loader: flash locking commands, various flash rework
Ingo Albrecht [Sun, 11 Apr 2010 05:24:13 +0000 (07:24 +0200)]
firmware: removed compal header strings temporarily.
Ingo Albrecht [Sun, 11 Apr 2010 05:23:09 +0000 (07:23 +0200)]
firmware: removed old compal_dump.
Ingo Albrecht [Sun, 11 Apr 2010 05:22:22 +0000 (07:22 +0200)]
firmware: cleaned up init files.
Ingo Albrecht [Sat, 10 Apr 2010 23:38:24 +0000 (01:38 +0200)]
firmware: linker script for flashed app on e88.
Ingo Albrecht [Sat, 10 Apr 2010 19:14:35 +0000 (21:14 +0200)]
flash: fixed up header
Ingo Albrecht [Sat, 3 Apr 2010 21:17:54 +0000 (23:17 +0200)]
loader: new state handling for memdump, added missing crc handling to memput
Ingo Albrecht [Tue, 30 Mar 2010 17:47:56 +0000 (19:47 +0200)]
loader: incomplete crc support and query timeouts
Ingo Albrecht [Sat, 3 Apr 2010 20:47:29 +0000 (22:47 +0200)]
loader: removed cruft
Ingo Albrecht [Tue, 30 Mar 2010 16:31:58 +0000 (18:31 +0200)]
firmware: fix build with new manifest
Ingo Albrecht [Sat, 13 Mar 2010 22:41:09 +0000 (23:41 +0100)]
osmoload: fix some printfs.