Commit Graph

665 Commits

Author SHA1 Message Date
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
Holger Hans Peter Freyther b62f6083a5 master: Move shared recipes into the yocto-edison directory
Master has moved forward and we need to move the bbappends into the
yocto-edison folder. For the task-core-boot it has been renamed to
the packagegroup-core-boot and we do not need to increase the version
number for master.
2013-11-27 12:22:52 +01:00
Holger Hans Peter Freyther a3c2a2b55c osmo-pcu: Update the PCU to the latest commit in my cleanup branch 2013-11-05 10:23:10 +01:00
Harald Welte 2f6561a646 linux: enable advanced routing
this might help us in some installations where there are multiple
back-hauls and we want to base routing decisions not only based
on the destination IP.
2013-10-14 20:12:14 +02:00
Harald Welte 57863a435b update gpsdate to a version that re-connects on gpsd exit 2013-10-14 10:44:20 +02:00
Harald Welte 46d5e0b697 gpsd: Add patch to enable + configure PPS in TSIP (trimble) driver
In the sysmoBTS 2050, we want to configure the 1PPS output of the
trimble to be active only if it has at least 1 satellite in view,
and want to make the receiver output its time information in UTC,
rather than GPS time.
2013-10-09 23:58:18 +02:00
Harald Welte a349ce5879 update sysmobts/osmo-bts to b2a8a642d65779918f64437b5cbbde8e206222f2
this will add support for transmitting at higher power (model 2050)
as well as restricting the unit to use within those bands indicated
in the EEPROM.
2013-10-09 23:56:36 +02:00
Holger Hans Peter Freyther 83edf1dce4 osmo-bts: Build against the new libosmo-abis library 2013-10-06 17:03:45 +02:00
Harald Welte e9ead4c0f3 task-sysmocom-bts: Include sbts2050-util on sysmobts-2050 2013-10-04 23:39:44 +02:00
Harald Welte e003221b02 sbts2050-util: Mark file as executable file 2013-10-04 23:38:25 +02:00
Harald Welte 5cf873f499 Add binary-only package for sbts2050-util
sbts2050-util is a small binary-only userspace program used to
interface with the sysmoBTS 2050 board management controller,
i.e. to enable/disable PA power, read power consumption/temperature
and the like.

This tool is going to disappear once the respective features have been
included in the (open source) sysmobts-util / sysmobts-mgr.  Please be
patient meanwhile.
2013-10-04 22:22:53 +02:00
Harald Welte 3c99769de2 add bb recipes for sysmobts firmware 3.4 and 3.6 2013-10-04 21:53:10 +02:00
Harald Welte a2a2d67e1a femtobts-api: Update to v3.6. Compatible with all v3.x header files. 2013-10-04 21:41:04 +02:00
Harald Welte b16ceec77f update to recent osmo-bts master to include sysmobts-util
sysmobts-util is used to set/get the model_number / trx_nr on the sysmoBTS 2050.
2013-10-04 21:40:30 +02:00
Harald Welte 7fa273ffc2 Initial support for a MACHINE="sysmobts-2050" build
The build differs in that it doesn't use a getty on ttyS0.  In the fuutre,
a modified kernel serial driver as well as a 2050-specific utility
for managing the supervisor processor will follow.
2013-10-04 21:39:52 +02:00
Holger Hans Peter Freyther 8fab0f3222 uucp: opkg works on files and not directories. Create /var/spool/uucp in postinst
Create the spool directory in the post install in case it does
not exist yet. Use the -m 0770 to begin with the right default
for this directory.
2013-08-17 19:14:10 +02:00
Holger Hans Peter Freyther 4f6d4893ce vlan: Add a vlan configuration utility as used on the OHM 2013-08-17 18:50:53 +02:00
Holger Hans Peter Freyther 57cc5e9c58 osmo-bts: Update to an experimental version that uses libosmo-abis
This is a osmo-bts that will use libosmo-abis for OML and RSL and
is based on master. In one way it should improve quality in another
it is also testing.
2013-08-01 19:45:00 +02:00
Holger Hans Peter Freyther ffce9e7f87 osmo-pcu: Build a 'hack'/tmp branch that exits the PCU after a BTS loss
This will make the PCU exit after a BTS is lost. This is because the
PCU is not resetting all the state and then BSSGP might not come up
properly.
2013-07-11 17:05:40 +02:00
Holger Hans Peter Freyther f79726fdcc osmo-bts: Move to a new 0.3.0-next release with EEPROM reading 2013-06-24 08:28:02 +02:00
Holger Hans Peter Freyther f5d3fba955 sysmocom-backup: Save two more files from the etc directory
Save the ifplugd.sh script and hostname in the backup as well. I have
a usecase where these two files were modified.
2013-06-22 17:20:57 +02:00
Holger Hans Peter Freyther 03fd342e14 sysmocom-backup: Backup all of /etc/default
Additional applications might store files in /etc/default and it
is the easiest to backup up all of them. This has the danger that
after an upgrade the default file is not compatible/optimal but
we will need to deal with that once it occurs.
2013-06-22 09:48:01 +02:00
Holger Hans Peter Freyther 69d9a0609d sysmocom-backup: Backup the /etc/network/interfaces file 2013-06-22 09:36:02 +02:00
Holger Hans Peter Freyther 6e7383839c gpsd: Mark the /etc/default/gpsd as a CONFFILE 2013-06-20 20:39:11 +02:00
Holger Hans Peter Freyther 6453080cef gpsd: Make sure the sysmobts-v2 gpsd default version is installed
The sysmobts-v2 version was not installed because the file was
not called properly. Rename it to gpsd-default and the sysmobts-v2
version will be picked and installed.
2013-06-20 19:48:56 +02:00
Holger Hans Peter Freyther 57c0346f56 gpsd: Upgrade to version 3.9 in the hope of some crashes being fixed
GPSD 3.7 is somehow exiting without us really knowing the cause. The
version 3.9 has been released and we hope that it might just fix the
issues we are experiencing.
2013-06-20 18:21:28 +02:00
Holger Hans Peter Freyther 040f4432f5 osmo-bts: Upgrade to the latest sysmocom/0.3.0-next version
This introduces the auto-band that will help in managing configurations.
2013-06-20 18:21:28 +02:00
Holger Hans Peter Freyther fea919fa5d osmo-bts: Build the 0.3.0-next branch with further improvements
This is a bigger update and brings the SAPI queue, readv/writev
and realtime scheduling to the sysmobts software. This will greatly
improve the stability of the software under load.
2013-06-20 14:39:39 +02:00
Holger Hans Peter Freyther 5b35766651 gpsdate: Upgrade with a now fully working init script 2013-06-20 11:19:55 +02:00