Harald Welte [Fri, 26 Mar 2010 16:05:41 +0000 (00:05 +0800)]
Harald Welte [Fri, 26 Mar 2010 16:04:40 +0000 (00:04 +0800)]
logging: only compile stderr target if we actualy have stderr
Harald Welte [Fri, 26 Mar 2010 15:53:12 +0000 (23:53 +0800)]
Harald Welte [Fri, 26 Mar 2010 15:51:31 +0000 (23:51 +0800)]
only include strings.h if it is actually preent
Harald Welte [Fri, 26 Mar 2010 15:41:34 +0000 (23:41 +0800)]
Harald Welte [Fri, 26 Mar 2010 14:04:03 +0000 (22:04 +0800)]
logging: fix default initialization of per-category loglevels
Before this patch, there was a bug in the code caused by a memcpy
from one data structure to another. unfortuantely the data structures
were not the same, so we have to explicitly iterate over the array
and assign the structure members manually.
Harald Welte [Fri, 26 Mar 2010 13:24:24 +0000 (21:24 +0800)]
rename 'debug' interface to 'logging' interface
It's not really about debugging, but about generic logging...
Harald Welte [Fri, 26 Mar 2010 13:05:43 +0000 (21:05 +0800)]
debug: remove unneeded 'number' member of 'struct debug_info_cat'
As the debug subsystem number is used as index into the debug_info_cat
array, there is no need to store the number explicitly inside the
structure again.
Harald Welte [Fri, 26 Mar 2010 01:45:03 +0000 (09:45 +0800)]
debug.c: fix no-color-printing in case .color = NULL
Harald Welte [Fri, 26 Mar 2010 01:33:40 +0000 (09:33 +0800)]
Import 'debug' support from OpenBSC into libosmocore
Holger Hans Peter Freyther [Fri, 26 Mar 2010 08:20:22 +0000 (09:20 +0100)]
write_queue: Add a method to clear the queue.
Harald Welte [Thu, 25 Mar 2010 04:43:07 +0000 (12:43 +0800)]
gsm48-andreas: Use value_string wherever possible
The point of this is to not replicate functionality that already exists
in libosmocore (get_value_string()/get_string_value()).
Harald Welte [Thu, 25 Mar 2010 04:18:14 +0000 (12:18 +0800)]
Merge commit '
52b4abdcb351830f5493a50c4181ef3947f3feab'
Conflicts:
src/shared/libosmocore/src/utils.c
Harald Welte [Thu, 25 Mar 2010 04:11:38 +0000 (12:11 +0800)]
replace rsl_rlm_cause_strs with rsl_rlm_cause_name()
Harald Welte [Thu, 25 Mar 2010 04:00:54 +0000 (12:00 +0800)]
replace gsm48_cc_msg_names[] with gsm48_cc_msg_name()
and implement the backend using value_string
Harald Welte [Thu, 25 Mar 2010 03:44:57 +0000 (11:44 +0800)]
use more value_string in gsm48 and rsl
Harald Welte [Thu, 25 Mar 2010 03:37:04 +0000 (11:37 +0800)]
get_value_string(): return "unknown 0x..." instead of "unknown"
Holger Hans Peter Freyther [Wed, 24 Mar 2010 01:55:33 +0000 (02:55 +0100)]
Create a dummy m4 directory to make autoreconf --install --force work
Even when removing AC_CONFIG_MACRO_DIR aclocal insisted that it
needs to have a m4 directory. Make it happy by providing one. As git
is not tracking directories I needed to add a dummy file.
Harald Welte [Mon, 22 Mar 2010 16:30:19 +0000 (00:30 +0800)]
add git-version-gen magic to automatically generate package version
Harald Welte [Mon, 22 Mar 2010 16:23:23 +0000 (00:23 +0800)]
bump version to 0.1.0
Holger Hans Peter Freyther [Mon, 22 Mar 2010 02:11:10 +0000 (03:11 +0100)]
osmocore: Add a direct l4h to the union of l4h pointers
This is needed for the BSSAP code of the On Waves/BSC master branch
Harald Welte [Mon, 22 Mar 2010 00:30:11 +0000 (08:30 +0800)]
Harald Welte [Mon, 22 Mar 2010 00:28:44 +0000 (08:28 +0800)]
fix compiler warnings (itsme <itsme@xs4all.nl>)
* added several 'const' for strings.
* added 'extern' to declarations of rsl_rlm_cause_strs
Harald Welte [Mon, 22 Mar 2010 00:26:04 +0000 (08:26 +0800)]
misc compiler warning fixes
* added missing param in call to gsm48_rx_bcch
* added 'extern' to declarations of rsl_rlm_cause_strs and target_board
* added several 'const' for strings
* removed useless 'bufptr,' from hexdump
(From: itsme <itsme@xs4all.nl>)
Harald Welte [Sun, 21 Mar 2010 15:46:35 +0000 (23:46 +0800)]
calypsu UART: add additional debug output in UART RX error case
Harald Welte [Sun, 21 Mar 2010 15:45:27 +0000 (23:45 +0800)]
hello_world app: print L1CTL messages as hexdump to console
Harald Welte [Sun, 21 Mar 2010 04:57:28 +0000 (12:57 +0800)]
L1A/L23 interface (L1CTL) cleanup
* introduce a new 'l1ctl_hdr' structure common to all messages
on this interface
* use struct l1ctl_hdr in both the firmware and layer23
* add a new L1CTL_PM_REQ request for performing layer23-initiated
power measurements (firmware does not implement them yet)
Harald Welte [Fri, 19 Mar 2010 10:45:42 +0000 (18:45 +0800)]
Merge remote branch 'origin/master'
Erik Ekman [Thu, 18 Mar 2010 22:21:27 +0000 (23:21 +0100)]
Two more small patches
Hi
Found a spelling error while testing my C139, and also fixed the
warning discussed in my earlier patch.
/Erik
From
9d8a7454367f3d095e6d4c046e84a22126ff887a Mon Sep 17 00:00:00 2001
From: Erik Ekman <yarrick@kryo.se>
Date: Wed, 17 Mar 2010 22:48:57 +0100
Subject: [PATCH 1/2] Remove operand which has no effect
Signed-off-by: Ingo Albrecht <prom@berlin.ccc.de>
Harald Welte [Wed, 17 Mar 2010 11:21:46 +0000 (19:21 +0800)]
remove 'l1s.task' value for local DSP task checking
As the check no longer works with our higher-levle schedulers,
we can remove this field from the l1s structure and all references
to it.
Andreas Eversberg [Tue, 16 Mar 2010 19:18:45 +0000 (20:18 +0100)]
Work on Radio Ressource
Andreas Eversberg [Mon, 15 Mar 2010 19:15:40 +0000 (20:15 +0100)]
Work on Radio Ressource
- SI 5, 5bis, 5ter
Andreas Eversberg [Mon, 15 Mar 2010 17:57:52 +0000 (18:57 +0100)]
Work on Radio Ressource.
- Decode of Mobile Allocation for frequency hopping list
Andreas Eversberg [Sun, 14 Mar 2010 19:51:55 +0000 (20:51 +0100)]
Classmark 3 encoding (Radio Ressource) now uses bit-vector API.
Andreas Eversberg [Sun, 14 Mar 2010 18:23:45 +0000 (19:23 +0100)]
Work on Radio Ressource layer.
Andreas Eversberg [Sun, 14 Mar 2010 17:10:46 +0000 (18:10 +0100)]
Merge branch 'master' of gitosis@git.osmocom.org:osmocom-bb
Andreas Eversberg [Sun, 14 Mar 2010 17:08:16 +0000 (18:08 +0100)]
Work on Radio Ressource layer.
- SI 1-4 parsing
- decoding of all frequency list types
Ingo Albrecht [Tue, 9 Mar 2010 04:35:27 +0000 (05:35 +0100)]
firmware: fixed bootrom disabling
Ingo Albrecht [Sun, 7 Mar 2010 08:34:36 +0000 (09:34 +0100)]
firmware: watchdog-based system reset
Holger Hans Peter Freyther [Sun, 14 Mar 2010 15:01:07 +0000 (16:01 +0100)]
Makefile.inc: Use the right $(AR) command for the target
Reported on the mailinglist, proposed by Sylvain Munaut.
Andreas Eversberg [Sat, 13 Mar 2010 14:42:56 +0000 (15:42 +0100)]
Merge branch 'master' of gitosis@git.osmocom.org:osmocom-bb
Andreas Eversberg [Sat, 13 Mar 2010 14:40:35 +0000 (15:40 +0100)]
Work on Radio Ressource layer.
Added MS support structure for classmark messages.
Harald Welte [Fri, 12 Mar 2010 04:18:17 +0000 (12:18 +0800)]
Introduce LCD display_driver infrastructure
* introduce display_driver layer
* port st7558 and ssd1783 drivers to display_driver
* allow for run-time selection of display driver from board/init.c
* replace st7558_puts() calls with display_puts() calls
Steve Markgraf [Thu, 11 Mar 2010 21:16:22 +0000 (22:16 +0100)]
uwire: add a chip-select for CS0, needed by the J100i display
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Harald Welte [Thu, 11 Mar 2010 23:18:23 +0000 (07:18 +0800)]
remove bogus source files in top level src directory
Harald Welte [Thu, 11 Mar 2010 20:15:07 +0000 (04:15 +0800)]
apps/loader: remove #include reference to file that doesn't exist
Holger Hans Peter Freyther [Thu, 11 Mar 2010 13:42:41 +0000 (14:42 +0100)]
gsm48.h: Make the array extern to a silence a linker warning
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld:
Warning: size of symbol `rsl_rlm_cause_strs' changed from 8 in ./openbsc/src/libbsc.a(abis_rsl.o)
to 120 in /usr/local/lib/libosmocore.so
spotted and sent to the list by Andreas
Harald Welte [Tue, 9 Mar 2010 22:05:58 +0000 (23:05 +0100)]
layer23: fill in signal level and dBm fields of gsmtap
Andreas Eversberg [Tue, 9 Mar 2010 18:31:30 +0000 (19:31 +0100)]
some work on radio ressource
root [Mon, 8 Mar 2010 19:27:31 +0000 (20:27 +0100)]
Work on radio ressource: basics of channel assignment procedure
Holger Hans Peter Freyther [Fri, 5 Mar 2010 18:42:09 +0000 (19:42 +0100)]
write_queue: Make the bfd cb public so it can be used in a different context
* I'm doing a nonblocking connect and for this I need to select
on writable and the first thing I need to do is to check the
SOL_SOCKET SO_ERROR state. I realize this by setting a different
cb on the embedded bfd during setup and then go back to the real
implementation.
Holger Hans Peter Freyther [Mon, 8 Mar 2010 10:08:23 +0000 (11:08 +0100)]
layer23: Use the write_queue instead of directly writing data to the socket
Holger Hans Peter Freyther [Mon, 8 Mar 2010 09:59:47 +0000 (10:59 +0100)]
layer23: Remove inacucrate comment as this was addresses in osmocom
Harald Welte [Mon, 8 Mar 2010 10:50:37 +0000 (11:50 +0100)]
disable TX by default again
Harald Welte [Mon, 8 Mar 2010 09:18:57 +0000 (10:18 +0100)]
readme update
Harald Welte [Mon, 8 Mar 2010 08:37:41 +0000 (09:37 +0100)]
use gsm48_ie code which is now in libosmocore
Holger Hans Peter Freyther [Mon, 8 Mar 2010 04:02:38 +0000 (05:02 +0100)]
Make it compile on my toolchain...
Include stdlib.h to introduce NULL to the compiler.
Holger Hans Peter Freyther [Fri, 5 Mar 2010 18:27:40 +0000 (19:27 +0100)]
Fix some compiler warnings...
Some real issues are still left and we need to act on them.
Holger Hans Peter Freyther [Fri, 5 Mar 2010 17:41:29 +0000 (18:41 +0100)]
stdint.h: Make it work with my GCC 4.3.3/GLIBC 2.9 toolchain
The compiler complains about seing two conflicting definitions
for int32_t and the compile will stop. One definitions comes from
here and the other is coming from sys/types.h.
One option would be to try to use unsigned int and signed int
instead of using a long and see if that is matching, the other
option is to include the real libc stdint.h header and see if
it has defined a uint32_t for us.
Harald Welte [Sun, 7 Mar 2010 22:39:54 +0000 (23:39 +0100)]
import GSM04.08 encode/decode functions and mncc.h from openbsc
Harald Welte [Sun, 7 Mar 2010 21:48:52 +0000 (22:48 +0100)]
import alpha3 code from andreas eversberg as of 2010-03-07
Harald Welte [Sun, 7 Mar 2010 20:17:24 +0000 (21:17 +0100)]
fix framenumber byte-ordering
Harald Welte [Sun, 7 Mar 2010 20:04:36 +0000 (21:04 +0100)]
add missing inet.h
Harald Welte [Sun, 7 Mar 2010 19:42:17 +0000 (20:42 +0100)]
start to use libosmocore within the firmware
* remove linuxlist.h copy and use osmocore
* don't put 'struct gsm_time' into l1ctl packets
* include rx_level and snr for each burst in l1ctl
* properly build libosmocore.a for target
* move gsmtime functions into libosmocore
* move ctype.h to standard location
Harald Welte [Sun, 7 Mar 2010 19:34:24 +0000 (20:34 +0100)]
Harald Welte [Sun, 7 Mar 2010 19:33:59 +0000 (20:33 +0100)]
add option --disable-tests to disable building of test binaries
Harald Welte [Sun, 7 Mar 2010 19:24:53 +0000 (20:24 +0100)]
Harald Welte [Sun, 7 Mar 2010 19:24:30 +0000 (20:24 +0100)]
add --disable-talloc option to build without talloc support
Harald Welte [Sun, 7 Mar 2010 18:17:08 +0000 (19:17 +0100)]
remove __force macro references
Harald Welte [Sun, 7 Mar 2010 18:05:54 +0000 (19:05 +0100)]
Merge remote branch 'origin/master'
Harald Welte [Sun, 7 Mar 2010 18:05:13 +0000 (19:05 +0100)]
import byte-ordering defines/macros from linux
Harald Welte [Sun, 7 Mar 2010 17:26:40 +0000 (18:26 +0100)]
Harald Welte [Sun, 7 Mar 2010 17:23:47 +0000 (18:23 +0100)]
use strtol instead of atoi
Harald Welte [Sun, 7 Mar 2010 17:04:10 +0000 (18:04 +0100)]
Ingo Albrecht [Sun, 7 Mar 2010 17:03:41 +0000 (18:03 +0100)]
msgb: Buffer formatting and scanning functions.
Harald Welte [Sun, 7 Mar 2010 16:51:35 +0000 (17:51 +0100)]
Harald Welte [Sun, 7 Mar 2010 16:50:21 +0000 (17:50 +0100)]
import some gsm band/arfcn/time related utilities from OsmocomBB
Ingo Albrecht [Sun, 7 Mar 2010 16:01:47 +0000 (17:01 +0100)]
firmware: changed dependency suffix to .p for better shell completion
Ingo Albrecht [Sun, 7 Mar 2010 14:13:02 +0000 (15:13 +0100)]
firmware: include board.h in board.c
Harald Welte [Sun, 7 Mar 2010 15:57:09 +0000 (16:57 +0100)]
layer1: allocate large enough msgb's for the payload we send over L1CTL
Harald Welte [Sun, 7 Mar 2010 15:36:30 +0000 (16:36 +0100)]
add comment on why using cons_puts() from msgb.h
Harald Welte [Sun, 7 Mar 2010 15:20:53 +0000 (16:20 +0100)]
actually link against libosmocore for the target
Harald Welte [Sun, 7 Mar 2010 15:19:12 +0000 (16:19 +0100)]
build libosmocore for the target with "-Os -ffunction-sections"
Ingo Albrecht [Sun, 7 Mar 2010 14:07:17 +0000 (15:07 +0100)]
firmware: Added an e99 board and fixed e99 init code build.
Ingo Albrecht [Sun, 7 Mar 2010 14:04:03 +0000 (15:04 +0100)]
firmware: multi-board build support
Harald Welte [Sun, 7 Mar 2010 12:44:52 +0000 (13:44 +0100)]
fix even more compiler warnings
Harald Welte [Sun, 7 Mar 2010 12:37:52 +0000 (13:37 +0100)]
fix compiler warnings
Harald Welte [Sun, 7 Mar 2010 12:35:18 +0000 (13:35 +0100)]
fix compiler warnings
Harald Welte [Sun, 7 Mar 2010 12:33:56 +0000 (13:33 +0100)]
remove unused variables
Harald Welte [Sun, 7 Mar 2010 12:32:43 +0000 (13:32 +0100)]
fix stdint.h to remove bogus warnings of printf format strings
Harald Welte [Sun, 7 Mar 2010 12:32:26 +0000 (13:32 +0100)]
fix misc.h header file logic
Harald Welte [Sun, 7 Mar 2010 12:27:33 +0000 (13:27 +0100)]
add FIXME's to RFFE
Harald Welte [Sun, 7 Mar 2010 12:27:06 +0000 (13:27 +0100)]
fix compiler warnings
Harald Welte [Sun, 7 Mar 2010 12:22:05 +0000 (13:22 +0100)]
linuxlist.h: use __unused
Harald Welte [Sun, 7 Mar 2010 12:21:03 +0000 (13:21 +0100)]
layer1/sync: denote unused function arguments with __unused
Harald Welte [Sun, 7 Mar 2010 12:20:36 +0000 (13:20 +0100)]
add __unused #define to indicate unused function arguments
Harald Welte [Sun, 7 Mar 2010 11:14:11 +0000 (12:14 +0100)]
Added Solomon SSD1783 display driver for Motorola C155
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Conflicts:
src/target/firmware/Makefile
Ingo Albrecht [Sun, 7 Mar 2010 05:49:57 +0000 (06:49 +0100)]
Handle EAGAIN. Print errors properly.
Ingo Albrecht [Sun, 7 Mar 2010 05:04:10 +0000 (06:04 +0100)]
Fixed transmit path of osmocon in various ways.
Ingo Albrecht [Sun, 7 Mar 2010 04:57:48 +0000 (05:57 +0100)]
Loader communications support in osmocon. Generalized tool connections.