Commit Graph

243 Commits

Author SHA1 Message Date
Henning Heinold 6f469116e1 sysmocom-bsc-ip-image-directdisk: switch from ext3 to ext4 filesystem 2014-03-11 18:17:51 +01:00
Henning Heinold b2a5a3a316 sysmocom-bsc: switch to kernelprovider to linux-sysmocom for dora
* use seperate defconfig, because of option changed from 2.6.39 to 3.10
* use python magic to switch between linux and linux-sysmocom
* add sysmocom-bsc to compatible machines for linux-sysmocom
* add new confiugration parameters for syslinux
2014-03-11 18:17:36 +01:00
Henning Heinold 98cf4f54f5 tune-geode: fix syntax for dora 2014-03-06 23:26:41 +01:00
Holger Hans Peter Freyther a4ff48fc44 linux: Add support for the sob-odu device
This currently requires the meta-ti layer but we will make sure
that nothing from it will be required in the end. The kernel is
based on linux-3.2 as this is the "default" TI kernel that supports
the SGX (not that we care)
2014-02-26 15:36:09 +01:00
Holger Hans Peter Freyther a21e9eef6b osmo-bts: Bump the OpenBSC sha1 to see if that forces the upgrade 2014-02-21 09:25:01 +01:00
Holger Hans Peter Freyther 2435a67b1a osmo-bts: Update the revision number of the osmobts 2014-02-21 09:19:48 +01:00
Holger Hans Peter Freyther 926d082a27 osmo-bts: Update to the handover code 2014-02-20 18:23:34 +01:00
Henning Heinold d1c958be3e bts2050-util: use INSANE_SKIP so bitbake does not error out 2014-02-05 16:11:34 +01:00
Holger Hans Peter Freyther 5aa0de1de3 osmo-bts: Upgrade to master and install the sysmobts-mgr.service 2014-02-04 13:41:45 +01:00
Holger Hans Peter Freyther 93953d3dd9 linux-sysmocom: Upgrade to version 3.10.28 of the kernel
This is the latest stable kernel. I had hoped some crashes to
go away with it but it turns out to be a compiler issue that
we backported a patch for separately.
2014-02-01 13:56:22 +01:00
Holger Hans Peter Freyther 5d8a24fa4f systemd: Fix the rdepends of systemd by using a new language construct
We don't want to launch the dbus-daemon and we did this by modifying
the RDEPENDS_${PN}. Back then this was okay as dbus was the only
dependency but now kmod got added to the recipe as well. Use the new
language construct to just remove a specific value from the rdepends.
Paul Eggleton was nice enough to point that out.

Fixes: SYS#231
2014-01-30 15:05:30 +01:00
Holger Hans Peter Freyther b606eb9bec busybox: Enable depmod in our busybox as it is enabled in dora too
Make sure that there is at least a basic depmod in the image. This
is needed as fallback for kernel upgrades that execute depmod in the
postinst script. The dora busybox will always have it so we should
have it too. Sync the defconfig with dora.

Addresses: SYS#231
2014-01-30 14:50:48 +01:00
Holger Hans Peter Freyther 9b3893f4c1 osmo-bts: Build a new version with a crash fix on init 2014-01-23 17:21:27 +01:00
Holger Hans Peter Freyther 9c533b2469 linux-sysmobts: Add preferred version for 1.5.1 and simplify
Simplify the PREFERRED_VERSION version specification and add
dora 1.5.1 to the line.
2014-01-22 12:52:25 +01:00
Holger Hans Peter Freyther 4cd047788e dora: Add 1.5.1 to the list of handled distributions 2014-01-22 12:16:46 +01:00
Harald Welte bb35f69066 osmo-bts: Build latest version with fMaxTxPower fix
As a side note, this also introduces sysmobts-mgr
2014-01-22 02:02:10 +01:00
Holger Hans Peter Freyther 00a590e063 dvnixload: Update with the new toolchain name in place 2014-01-20 11:41:43 +01:00
Holger Hans Peter Freyther c47bdcd180 osmo-bts: This requires a newer version of OpenBSC as well 2014-01-20 11:36:25 +01:00
Holger Hans Peter Freyther 933b68b3e8 osmo-bts: Build latest version of osmo-bts with performance changes 2014-01-20 11:24:21 +01:00
Holger Hans Peter Freyther 5227148e4a osmo-pcu: Build the latest sysmocom/master code 2014-01-20 11:10:52 +01:00
Holger Hans Peter Freyther 456dacd6be Merge branch 'hheinold/journald-removed' 2014-01-08 11:10:31 +01:00
Henning Heinold f0c0ed9f6c systemd: disable journald completely
* mask journald.service and socket in postinst
* change syslog.socket to observe /dev/log
* bump PRINC to 17
2014-01-08 11:10:24 +01:00
Holger Hans Peter Freyther 27f0ed2dc5 osmo-pcu: Update to the latest sysmocom/master version as of today 2014-01-08 10:59:55 +01:00
Henning Heinold d6572a4b3c osmo-pcu: add systemd support
The systemd-service-file was added to sysmocom/master branch so use that.
2014-01-08 10:59:19 +01:00
Holger Hans Peter Freyther 7b24b69422 sdk: And bump the global PR for edison 2013-12-20 14:23:08 +01:00
Holger Hans Peter Freyther 00ab996862 sdk: Put the femto BTS headers into the SDK as well
We require these header files to re-build the osmo-bts software.
2013-12-20 14:12:10 +01:00
Holger Hans Peter Freyther 6c18f2de6c misc: Use BBFILES += instead of an immediate assignment
Layers coming after us are forced to expand the DISTRO_VERSION
before it has been set. Fix that by using += instead of an immediate
assignment.
2013-12-20 14:11:20 +01:00
Henning Heinold b0703d4440 linux-sysmocom: update dora to kernel version 3.10.24/commit 1df50cd88f6923db5705d28bbfa63a28d8d6bd66
* seems to fix the update-alternatives error when we saw, when updating busybox
* Fixes:SYS#184
2013-12-20 13:48:51 +01:00
Henning Heinold 6d12c623fc busybox: backport the ifplugd-larger-buffer patch for kernel 3.9 and above
To use the busybox-ipflugd a larger buffer for netdev messages
is needed. This is orginal patch from

http://git.busybox.net/busybox/commit/networking/ifplugd.c?id=da331d779c19d7d5d4ef05152ee467d617913a01

which is needed until a new busybox version is released.

This commit only is only relevant to the dora release of poky.

* bump PRINC
2013-12-20 13:48:16 +01:00
Holger Hans Peter Freyther 2ce4302917 Merge remote-tracking branch 'hheinold/busybox-unified'
Henning manually verified that the sysvinit script is still working.
This recipe should not influence the Edison build.
2013-12-11 19:40:20 +01:00
Henning Heinold 7bfc02130f busybox-syslog: unify configuration place of systemd und sysvinit scripts for dora
* systemd has no way to set flexible enviroment variables,
  though setting or dropping variables based on other settings is not
  possible

* EnvironmentFile option in systemd can only have name value pairs no logic

* Best solution for this problem found at
  http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg05091.html
  using a shell before starting the service

* move the parameter logic from sysvinit startup file to syslog-startup.conf
  and source syslog-startup.conf from the busybox-syslog default file

* /etc/syslog-startup.conf is now the only config file

* works with bash and busybox-shell

* bump PRINC
2013-12-11 19:31:19 +01:00
Henning Heinold f5badb8b9e linux-sysmocom: workaround for edison, which derives git${SRCPV} from local bb_persist_data 2013-12-03 18:00:51 +01:00
Holger Hans Peter Freyther 6ed3f9adf5 osmo-pcu: Build my latest testing version of the PCU 2013-12-03 15:38:58 +01:00
Holger Hans Peter Freyther 37ae8d11b7 sysmocom-image: Add package-management as IMAGE_FEATURES
In post edison we will need to ask the package class to not throw
away the /var/lib/opkg directory with the state of installed packages.
2013-11-27 12:25:01 +01:00
Henning Heinold ccd50b5dbe linux-sysmocom: split to v3.10 and v3.2
* The Linux 3.2.X kernel has some funny issues with GCC 4.8 in the
fs/namei.c look up code. It is easier to move to 3.10 than to fully
debug the issue.

* disable the mISDN loop patch for v3.10

* use the hack to make v3.2 compilable for edison and v3.10 for dora
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther 71b2d700c7 linux-sysmocom: Catch up with a newer version of Linux
This is 3.2.48 and we apply two additional patches for GCC 4.7.2+
and the usage of memset in the kernel.
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther f688f03b7a linux-sysmocom: Allow to use systemd on the sysmobts v1, v2 and sysmoBSC 2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther 6f4ac52b30 busybox-1.21.1: Update the defconfig and re-enable the following
* ifplugd is enabled again
* blacklisting of modules
* mounting of cifs
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther b18f2815b9 init-ifupdown: netbase was split up in master into two recipes
Re-use the files from the netbase/ directory as we still have
the edision version of netbase that includes interfaces.
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther ad936987cc ubl/u-boot: Use PKGV and PKGR instead of PV/PR for the AUTOINC
This should help in having no AUTOINC inside the uboot filename
but it doesn't fix it yet.
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther d6f50abeda misc: Target both dora and master by moving around recipe links 2013-11-27 12:25:01 +01:00
Henning Heinold c6dc71c3ae layer: Auto-select the right fixes based on the Poky version 2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther fc071607d1 osmo-bts: Package the sysmobts.service for systemd support
Use the native systemd service file to avoid running a shell script
that is ran from within the screen. This code expects the pcu to have
a .service file itself.
2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther 921d2e8ec0 systemd/watchdog: Use systemd as watchdogd daemon when available
Provide custom systemd config files to enable the watchdog handling. For
systemd we depend on the image containing and using systemd as init script.

In case we build images without systemd we will need to install the
old watchdog. Maybe it is time to create a MACHINE_FEATURE for watchdog.
2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther 78f6e55ed9 systemd: Keep the log and address space size down of the journald 2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther f4bf38e765 systemd: We do not want to run the dbus-daemon, do not install the service
We have no other dbus users, do not install the dbus.service and dbus.socket
by default. It only leads to wasting a bit of ram.
2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther e1acffbebc update-rc.d: Take and modify the angstrom systemd patch
Do not attempt to start/stop the application as part of the upgrade.
This might conflict with systemd .service files that override the
LSB script. The path of systemd has changed so the path was updated
in the script. A better fix would check if the systemd cgroup is mounted
as this is a better indicator for systemd.
2013-11-27 12:22:52 +01:00
Holger Hans Peter Freyther 0a56d11827 dbus: Do not depend on the dbus daemon when using libdbus
systemd can cope without having a dbus-daemon present. This is the
way we want it to operate to conserve a bit of memory. Do not install
the dbus daemon by default. Not having a dbus daemon is breaking the
systemd color output right now but this is something that should be fixable.
2013-11-27 12:22:52 +01:00
Holger Hans Peter Freyther da70ced095 busybox: Change the busybox syslog to use the internal ring buffer again
Revert the logging to the memory buffer to avoid writes to the disk
as the log directory might or might not be on tmpfs.
2013-11-27 12:22:52 +01:00
Holger Hans Peter Freyther 6431d35a85 busybox: Move it to the recipes-core directory to match the naming
Jan pointed out that the original busybox is inside the recipes-core
directory, move it there as well.
2013-11-27 12:22:52 +01:00