Commit Graph

203 Commits

Author SHA1 Message Date
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
Holger Hans Peter Freyther 3f228b8e6e gpsdate: Use SRCPV in the PV and bump the PE
Follow the Poky conventions and use SRCPV for the git package.
Bump the PR because otherwise the package is not upgradable.
2013-06-20 11:19:55 +02:00
Holger Hans Peter Freyther 16f9bbb288 gpsdate: Upgrade to a newer git version with improved init scripts 2013-06-20 11:19:55 +02:00
Holger Hans Peter Freyther 673d53bbf5 linux-sysmocom: Force a rebuild of the kernel with the new config file
The previous change modified the defconfig to not include the legacy
pseudo terminal support. Increase the version for the sysmoBTS to have
a kernel without old terminal files.
2013-06-19 20:45:16 +02:00
Holger Hans Peter Freyther 01e96dd240 linux-sysmocom: Disable the legacy PTY handling in the kernel
There is no need to have the various pty files clobber the /dev
directory when they are never used. Do not force a PR upgrade
right now as we don't have a good upgreade strategy for the v1
and the BSC config.
2013-06-19 18:18:30 +02:00
Holger Hans Peter Freyther b6dc4b91a7 gpsdate_git.bb: Use RDEPENDS_${PN} instead of RDEPENDS for dylan/master 2013-06-19 18:11:37 +02:00
Holger Hans Peter Freyther e9d0aa7cb4 misc: Use ALLOW_EMPTY_${PN} and RDEPENDS_${PN} to silent warnings
Newer versions of poky warn about ALLOW_EMPTY on non _PN versions.
2013-06-19 18:11:28 +02:00
Holger Hans Peter Freyther 212ab87663 sysmocom-openvpn-config: Add a recipe with our generic OpenVPN client config
This way I just need to install sysmocom-openvpn-config and copy
a matching key to the device for the VPN config. The configuration
file is marked as a CONFFILE, this means that modifications to it
will not be lost during upgrade.
2013-06-07 10:30:25 +02:00
Holger Hans Peter Freyther 0c797643dd gpsdate: Use "" for variable content.
The new poky is more strict. Use quotes around the variable for
the work directory.
2013-06-01 18:54:14 +02:00
Holger Hans Peter Freyther 0ca774fc19 u-boot: Build a new version with the "force" option for the recovery 2013-06-01 18:50:54 +02:00
Harald Welte 49ca632e9a busybox: include support for CIFS mounting 2013-05-27 16:48:30 +02:00
Holger Hans Peter Freyther a144d1c3c0 tasks-sysmocom-tools: Move wget, ca-cacert-rootcert and sysmocom-backup to tools
We have some images that need the real wget for upgrades, the SSL
root certificate of CA-Cert but that doesn't use task-sysmocom to
build the image. Move these utilities into the tools task.
2013-05-15 12:54:27 +02:00
Harald Welte 0c79987641 gpsdate: Update to current git master (includes init script) 2013-05-12 12:00:02 +02:00