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
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 [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 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.
Ingo Albrecht [Sun, 28 Feb 2010 19:17:41 +0000 (20:17 +0100)]
Skeleton of bootloader.
Ingo Albrecht [Sun, 7 Mar 2010 03:58:49 +0000 (04:58 +0100)]
Renamed layer2_connection -> tool_connection.
Ingo Albrecht [Sun, 7 Mar 2010 03:20:44 +0000 (04:20 +0100)]
Clean listings.
Ingo Albrecht [Sun, 7 Mar 2010 02:50:40 +0000 (03:50 +0100)]
Add a GIT_REVISION define for firmware code.
Ingo Albrecht [Sun, 7 Mar 2010 02:15:26 +0000 (03:15 +0100)]
Normalize some var names.
Ingo Albrecht [Sun, 7 Mar 2010 01:35:10 +0000 (02:35 +0100)]
Made dependency compiles silent.
Ingo Albrecht [Sun, 7 Mar 2010 01:28:22 +0000 (02:28 +0100)]
Fixed firmware buildsys dependencies.
Ingo Albrecht [Sun, 7 Mar 2010 01:02:44 +0000 (02:02 +0100)]
Made cross-compile prefixes work normally.
Ingo Albrecht [Sun, 7 Mar 2010 01:01:51 +0000 (02:01 +0100)]
Dummy distclean for new firmware buildsys.
Ingo Albrecht [Sun, 28 Feb 2010 07:35:48 +0000 (08:35 +0100)]
Buffer formatting and scanning functions.
Ingo Albrecht [Wed, 24 Feb 2010 01:37:04 +0000 (02:37 +0100)]
Allow use of uart driver without interrupts.
Ingo Albrecht [Wed, 24 Feb 2010 01:33:14 +0000 (02:33 +0100)]
Allow use of keypad driver without interrupts.
Ingo Albrecht [Wed, 24 Feb 2010 01:28:11 +0000 (02:28 +0100)]
Some msgb formatting functions.
Ingo Albrecht [Sun, 7 Mar 2010 00:41:32 +0000 (01:41 +0100)]
New build system.
Harald Welte [Sun, 7 Mar 2010 10:43:07 +0000 (11:43 +0100)]
Merge remote branch 'origin/master'
Ingo Albrecht [Sun, 7 Mar 2010 09:18:15 +0000 (10:18 +0100)]
Some attribute macros, including placeholders for fast-memory attributes.
Harald Welte [Sun, 7 Mar 2010 01:59:55 +0000 (02:59 +0100)]
osmocon: drain the hdlc sercomm queue through select
Harald Welte [Sun, 7 Mar 2010 00:29:47 +0000 (01:29 +0100)]
add 'struct timer_list' timer code similar to linux + OpenBSC
We now support arbitrary timers by means of 'struct timer_list'.
Any part of the program can register such a callback by means
of schedule_timer() on a millisecond-granularity. However, there
is no guarantee on the timer precision. It will not execute before
the timer expires - but it might expire quite a bit later than we
have asked it for, depending on how busy the cpu is with other work.
The timer code is in the 'comm/' directory, as it is intended to be
migrated into libosmocore soon.
Furthermore, as we currently don't yet have a scheduler or tasks,
the main() routine explicitly has to call update_timers() to check
for any expired timers and run them.
Harald Welte [Sun, 7 Mar 2010 00:17:11 +0000 (01:17 +0100)]
osmocon: we don't want to write to serial FD after download completed
Harald Welte [Sun, 7 Mar 2010 00:07:48 +0000 (01:07 +0100)]
sercomm: prevent DLCI array overflow
Harald Welte [Sat, 6 Mar 2010 23:54:23 +0000 (00:54 +0100)]
don't include trailing \0 termination in cons_puts()
successive calls to cons_puts() writing to the same msgb resulted in
osmcoom printing null-characters while writing strings. We don't
really need that...
Harald Welte [Sat, 6 Mar 2010 23:51:44 +0000 (00:51 +0100)]
remove cons_memcpy(), as memcpy() is now fixed
Harald Welte [Sat, 6 Mar 2010 23:49:30 +0000 (00:49 +0100)]
pass the correct cross compiler path name from master Makefile to firmware
Harald Welte [Sat, 6 Mar 2010 13:54:10 +0000 (14:54 +0100)]
fix assembler memcpy() for little endian
This makes our memcpy finally work in all cases, even unaligned
Harald Welte [Sat, 6 Mar 2010 10:34:27 +0000 (11:34 +0100)]
introduce RxLev statistics module, an efficient way for power scan data
Harald Welte [Sat, 6 Mar 2010 10:29:07 +0000 (11:29 +0100)]
some more ip.access specific ABIS_NM defines
Harald Welte [Sat, 6 Mar 2010 10:28:49 +0000 (11:28 +0100)]
mark some occasions of bitvec as 'const' as appropriate
Harald Welte [Fri, 5 Mar 2010 10:15:06 +0000 (11:15 +0100)]
add new ARFCN flag to indicate that we're dealing with uplink
Harald Welte [Fri, 5 Mar 2010 10:14:33 +0000 (11:14 +0100)]
layer23: correct byte ordering of IP address
Holger Hans Peter Freyther [Thu, 4 Mar 2010 21:43:38 +0000 (22:43 +0100)]
layer1/init.c: Pass 0 as arcfn to fix the compilation.
Holger Hans Peter Freyther [Thu, 4 Mar 2010 21:35:13 +0000 (22:35 +0100)]
l1a_l23_interface.h: struct gsm_time was not packed and had padding
The following issue was found by Andreas Bogk. The l1ctl_info_dl
struct is supposed to be packed but we included the struct gsm_time
which was not packed and added three bytes of padding. Pack the
structure to avoid that.
Harald Welte [Thu, 4 Mar 2010 20:44:41 +0000 (21:44 +0100)]
update wireshakr gsmtap patch with the 2nd version submitted to wireshark
We now
* properly decode the L1 header of SACCH frames
* properly hand-off SACCH payload such as SI5/SI6
* display the summary of the GSMTAP and SACCH_L1 dissectors in the protocol tree
Harald Welte [Thu, 4 Mar 2010 19:03:00 +0000 (20:03 +0100)]
ensure RF_ARFCN is part of l1ctl messages sent to host
Harald Welte [Thu, 4 Mar 2010 14:44:17 +0000 (15:44 +0100)]
update wireshark GSMTAP patch for GSMTAP protocol version 0x02
Harald Welte [Thu, 4 Mar 2010 14:41:11 +0000 (15:41 +0100)]
layer23: GSMTAP update (gsmtap for uplink, DCCH and ACCH)
* use GSMTAP for uplink frames (generated by layer23; sent to L1)
* only use GSMTAP if the user specifies the '-i dstip' arguments
* properly encode the GSMTAP channel type
* requires GSMTAP protocol version 0x02 (see next commit for wireshark patch)
Harald Welte [Thu, 4 Mar 2010 14:15:37 +0000 (15:15 +0100)]
add GSTMAP ARCFCN flag bits
Harald Welte [Thu, 4 Mar 2010 14:07:10 +0000 (15:07 +0100)]
layer23: rsl_dec_chan_nr is now in libosmocore
Harald Welte [Thu, 4 Mar 2010 14:03:13 +0000 (15:03 +0100)]
Harald Welte [Thu, 4 Mar 2010 14:02:54 +0000 (15:02 +0100)]
update GSMTAP to version 0x02
Harald Welte [Thu, 4 Mar 2010 13:58:44 +0000 (14:58 +0100)]
Harald Welte [Thu, 4 Mar 2010 13:30:15 +0000 (14:30 +0100)]
fix CCCH parsing
Harald Welte [Thu, 4 Mar 2010 13:27:48 +0000 (14:27 +0100)]
add new rsl_dec_chan_nr() function
Harald Welte [Thu, 4 Mar 2010 11:00:29 +0000 (12:00 +0100)]
update to reflect libosmocore api change
Harald Welte [Thu, 4 Mar 2010 10:59:12 +0000 (11:59 +0100)]
Harald Welte [Thu, 4 Mar 2010 09:53:03 +0000 (10:53 +0100)]
import gsm48 utility functions from OpenBSC
* gsm48_generate_lai() gsm48_generate_mid_from_tmsi() gsm48_generate_mid_from_imsi()
* gsm48_cc_msg_names[]