Commit Graph

124 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 0eafd5637d libdbi-drivers: Add fixes for out-of-bounds write in the sqlite3 driver
While working on the OpenBSC/NITB schema migration I experienced
crashes and traced it down to libdbi-drivers. It was possible that
a special string quote each character and then adding '"\0' would
result in out of bounds write.
2014-04-08 19:46:33 +02:00
Holger Hans Peter Freyther 507dc57c51 libosmocore/libosmo-abis: Upgrade to 0.6.6 and 0.2.0
Upgrade to versions 0.6.6 and 0.2.0. These change the SO
version of the libraries and provide stability and reliability
fixes.
2014-04-08 19:30:51 +02:00
Holger Hans Peter Freyther 369cbe01e5 openbsc: Apply max_power_reduction changes
This version will apply the max_power_reduction when it is
changed through the control interface.
2014-03-27 08:01:49 +01:00
Holger Hans Peter Freyther b694ffd333 openbsc: Update OpenBSC with new NITB/SGSN Control commands 2014-03-23 18:47:39 +01:00
Holger Hans Peter Freyther 29bf1c64da openggsn: Update with a version supporting the logfile command 2014-03-23 10:35:21 +01:00
Holger Hans Peter Freyther cedace00ed openggsn: Update and install systemd service file
This might require to rebuild the freshly built openggsn to
fix the libgtp0 depedency. I had this issue on Dora without
a PRServer. I am not sure it applies to edison or other configs.

Bump the PR of OpenBSC to force a rebuild of the SGSN.

Fixes: SYS#176
2014-03-21 19:12:46 +01:00
Holger Hans Peter Freyther d496a8d59b openbsc: Build a lot newer version and install sgsn script 2014-03-21 18:32:49 +01:00
Holger Hans Peter Freyther 12ffb5bffe libosmocore: Build newer version with LAPDm fixes by jacob 2014-03-13 16:43:48 +01:00
Henning Heinold bcc815560a openbsc: package systemd-files for nitb, osmo-bsc-mgcp and osmo-bsc
* services are not enabled by default
2014-02-19 17:11:49 +01:00
Holger Hans Peter Freyther fc6794fe40 openbsc: Enable the RF handling interface in osmo-bsc 2014-02-14 17:42:38 +01:00
Holger Hans Peter Freyther b4d863a61c libosmocore/libosmo-abis: Upgrade the two libraries including ABI changes
The two libraires moved forward and are updated to the latest
releases now.
2014-01-20 11:21:06 +01:00
Holger Hans Peter Freyther 66a2947315 sdk: Use the staticdev packet for libosmo-sccp
libosmo-sccp does not install any dynamically shared libraries
so let us install/depend on the staticdev package installing the
.a files and the -dev package.
2014-01-17 15:31:50 +01:00
Harald Welte 068f2d676a lcr: disable AMR support for now, to force GSM FR to be used. 2013-12-04 16:28:31 +01:00
Harald Welte dde93d16d6 update lcr to 1.13 + current git 2013-12-02 21:56:26 +01:00
Harald Welte 6d1fc80b26 add recipe for sofia-sip (SIP client library) required by lcr 2013-12-02 20:52:14 +01:00
Harald Welte af181bf461 add recipe for libopencore-amr 2013-12-02 20:41:39 +01:00
Harald Welte 145410f478 update gsmd to include latest AT@COPS fix 2013-10-14 19:52:58 +02:00
Harald Welte 32d4a2691f update openmoko-gsmd to include AT@COPS=? command support 2013-10-13 20:13:49 +02:00
Holger Hans Peter Freyther 079a2cad84 openbsc: Big update needed after the upgrade of libosmo-abis 2013-10-07 18:10:15 +02:00
Holger Hans Peter Freyther 0b2ae79dad libosmo-abis: Upgrade git version with semantic/abi changes 2013-10-06 17:05:19 +02:00
Holger Hans Peter Freyther f608e7e4f9 libosmocore/libosmo-abis: Update libosmo-abis to an experimental branch
Update libosmocore to 0.6.2+git and the libosmo-abis to a branch
useful for the osmo-bts.
2013-08-01 19:38:32 +02:00
Holger Hans Peter Freyther 1a9dd62e22 ortp: gcc 4.8 fails to compile this module because of a wrong memset 2013-07-10 12:55:12 +02:00
Holger Hans Peter Freyther 286a9a90cf openbsc: Update the OpenBSC SRCREV
* Added NAT MGCP Statistic collection
* SMPP fixes
* BTS type sysmobts is working now
2013-06-13 19:30:15 +02:00
Holger Hans Peter Freyther 4214e03720 misc: Bump PR after fixing warnings in OE-core master 2013-04-11 18:40:58 +02:00
Holger Hans Peter Freyther 4a35eb9273 openbsc: Build a newer version with a linker fix for newer gcc/binutils 2013-04-07 14:57:03 +02:00
Holger Hans Peter Freyther 7782174da7 misc: Fix warnings in OE-core master to be included in the future 2013-04-07 14:57:03 +02:00
Harald Welte 558d76a412 openggsn: Add patch to reduce queue depth / memory usage 2013-03-24 09:07:25 +01:00
Christopher Larson 3a01a4f2bc layer.conf: avoid unnecessary early expansion with :=
bitbake handles immediate expansions of LAYERDIR for us automatically.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2013-03-21 08:17:50 +01:00
Harald Welte 3cf0f9d338 update libosmocore 2013-03-19 10:39:40 +01:00
Harald Welte 27edfb7481 libosmocore: update to git master (log level everything fix) 2013-03-19 10:18:02 +01:00
Holger Hans Peter Freyther 6e5e1f8b9e meta-toolchain-osmo: Include the builddate in the toolchain
When updating libosmocore and other libraries we would like to
know which toolchain version is used. Add the datetime to the
filename.
2013-03-18 19:38:47 +01:00
Harald Welte 23689a489f update gsmd to current master 2013-03-17 14:48:22 +01:00
Holger Hans Peter Freyther 63085244df openmoko-gsmd: Update gsmd/wavecom vendor to fix an unaligned memory access
gsmd/wavecom created unaligned memory access due making a 32bit store
to a 16bit location. The code is now using %hx to avoid this.
2013-03-16 22:27:27 +01:00
Holger Hans Peter Freyther a5d6d983ec openmoko-gsmd: Build a new version with log level changes of the syslog
* The patch is now included in a temporary branch
* LOGL_NOTICE is now used instead og the LOGL_INFO level which will
  be ignored by default on sysmocom systems.
2013-03-16 22:13:01 +01:00
Holger Hans Peter Freyther ec29824f84 openmoko-gsmd: Use the shared osmo-service-respawn start script
* The shared script is compatible to the one currently used but
  it has the benefit of being used by more applications.
2013-03-16 11:49:22 +01:00
Holger Hans Peter Freyther 1b7bb4ae95 osmo-service-respawn: Add a shell script that spawns and respawns services
Adjust the oom_score_adj of the shell script to avoid ever beeing
killed. Adjust the score of the child and nice it. Sleep a given
interval before respawning it.

This script creates a .pid file so it can be used by a sysv init
script to stop the respawner and the client.
2013-03-16 11:34:01 +01:00
Holger Hans Peter Freyther 85d5ea4aae openbsc: Fix a typo in the variable name 2013-03-16 11:25:39 +01:00
Holger Hans Peter Freyther 675a2f814f gsmd: Fix the name of the script as it was copied from the gsmd one 2013-03-16 11:09:59 +01:00
Holger Hans Peter Freyther a7c614b3dd gsmd: This appears to be a race-free oom adjustment
Use the "() &" syntax to adjust the score before executing the new
command. This is removing the reace from the previous commit. Update
the PR to force rebuilding new packages.
2013-03-15 23:27:55 +01:00
Holger Hans Peter Freyther 3e7dbdcdba gsmd: Adjust the oom score of the monitor process
Adjust the score for the monitor process. The issue is that the
score is inherited by the process. Right now the score of the
child is adjusted _after_ the process has been spawned. This is
obviously a race condition.
2013-03-15 23:21:22 +01:00
Holger Hans Peter Freyther 90d152fcff gsmd: Simplify killing of the children
Kill the entire process group by sending it to pid 0. Found while
searching for better exec examples.
2013-03-15 22:56:26 +01:00
Holger Hans Peter Freyther 7aa59c430e gsmd: Work on stopping the respawn script and children
This is using some brute force. Make the shell script write a PID
file and on stop kill the respawn script and then all process names
that are spawned. For the stop we need to know that this is a bash
script.
2013-03-15 22:37:17 +01:00
Harald Welte 35ff59937b openmoko-gsmd: Update to git master
* reset modem at gsmd startup
* include CME ERROR 515 workaround
* include runtime loglevel setting
2013-03-15 13:05:04 +01:00
Harald Welte fc1c332a7e add libsmpp32-dev and gpsd-dev to osmocom SDK/toolchain
libsmpp34 is needed for OsmoNITB SMPP support, and some of our systems
now run gpsd, thus people might wnat to compile applications against
libgps.
2013-03-15 10:29:56 +01:00
Harald Welte 6c31e6c557 update gsmd to current master for GPS/AIS UDP forward support 2013-03-14 20:56:51 +01:00
Harald Welte 29263f1625 Build openbsc with SMPP interface 2013-03-13 15:54:58 +01:00
Harald Welte b7d4da72b6 openbsc: Use git revision without SMPP build problem 2013-03-13 15:45:40 +01:00
Harald Welte 2b21fe5ad9 update libosmocore to 0.6.0 and openbsc to 0.13.0
this includes the Osmocom SMPP extensions
2013-03-13 15:33:18 +01:00
Harald Welte b1be0d9702 openbsc: update to 8b29180cad875b396288a22fb252e158fa2a060a 2013-03-12 14:01:30 +01:00
Harald Welte ad495228e2 update gsmd to current master, MCC fix in cell log as well as GPS/AIS FWD 2013-03-02 15:20:58 +01:00