Commit Graph

397 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 12a661314b update-rc.d: Use _prepend to add to the extras
WARNING: FILESEXTRAPATHS-variable, must always use _prepend (or _append)
type of assignment, and don't forget the colon.
Please assign it with the format of:
  FILESEXTRAPATHS_append := ":${THISDIR}/Your_Files_Path" or
  FILESEXTRAPATHS_prepend := "${THISDIR}/Your_Files_Path:"
in your bbappend file
2014-09-24 18:24:09 +02:00
Holger Hans Peter Freyther 2045245f3a sysmocom-backup: Allow to back-up more files than the initial config
Creating a new file in /etc/sysmocom/backup.d/ that ends with .backup
will be read during the backup and then be restored. This way we can
easily extend the files to backup.
2014-09-24 15:52:02 +02:00
Holger Hans Peter Freyther ddc43d20a7 tasks-sysmocom-feed: Provide lcr in our package feed as well 2014-09-24 15:22:43 +02:00
Holger Hans Peter Freyther 4cf7207051 gpsd: Bump the PR after the latest config change for sysmobts-v2 2014-09-24 15:07:15 +02:00
Holger Hans Peter Freyther 8d296754e7 linux-sysmocom: Upgrade ODU kernel to 3.2.63
This has only been boot tested on the Phytec development board
and not our final system. It has not been tested with USB support
2014-09-24 12:27:44 +02:00
Holger Hans Peter Freyther 528f1fcce3 wifi2udp: Correct the VPN address 2014-09-08 20:26:15 +02:00
Holger Hans Peter Freyther 731393b051 wifi2udp: Increase the pr after changing the patch 2014-09-08 20:07:50 +02:00
Holger Hans Peter Freyther f1296005b2 wifi2udp: Bring the device up before starting the application 2014-09-08 20:05:53 +02:00
Holger Hans Peter Freyther 68e95f14b9 wifi2udp: Update the format of the output 2014-09-08 18:57:08 +02:00
Holger Hans Peter Freyther b84b8a9947 sysmocom-odu: Pull these in through a task as it depends on model 2014-09-08 18:51:03 +02:00
Holger Hans Peter Freyther bc0c670ee3 wireless-tools: Don't break the edison build and only do it on dora 2014-09-08 18:50:57 +02:00
Daniel Willmann 1d29e4db37 wifi2udp: Initial version and as part of a patch to wireless-tools
This is using UDP similiar to gps2udp. Holger has pushed for a
simple solution like this to be replaced by a proper application
that will use AMQP.

Fixes: ORT#586
2014-09-08 18:37:17 +02:00
Daniel Willmann 930665f4b1 meta-sysmocom-bsp: Update sysmocom-odu to build wireless-tools and wifi drivers 2014-09-08 18:33:01 +02:00
Holger Hans Peter Freyther 2a01e305ca Merge branch 'hheinold/initramfs_features' 2014-09-02 20:25:18 +02:00
Henning Heinold 7a09426da5 initramfs: restore configuration if available
The error case of the backup not properly restoring has not
been tested.

Fixes: SYS#525
2014-09-02 20:24:16 +02:00
Henning Heinold a3a743ecb2 initramfs: set baudrate for grub from cmdline
* take the baudrate for the grub serial console setting
  from the kernel-cmdline which the system was booted from

* better parsing of the options which the install-script
  gets from init

* Video Mode, VGA mode are not used right now and make it
  empty right now.
2014-09-02 20:23:05 +02:00
Holger Hans Peter Freyther 28628cba81 sbts2050-util: Allow to install it on sysmoBTSv2 as well 2014-09-02 18:30:20 +02:00
Holger Hans Peter Freyther 2e1f051a69 Merge branch 'hheinold/initramfs_fixes' 2014-08-28 23:13:38 +02:00
Henning Heinold 7b51764cfa initramfs: grub.cfg with rootfs set to readonly
Fixes: SYS#528
2014-08-28 23:13:34 +02:00
Henning Heinold 0cef8c4fc3 initramfs: install and run e2fsck -f before resize2fs
Fixes: SYS#522
2014-08-28 23:13:34 +02:00
Henning Heinold 1b5a3eb3af initramfs: mount external partitions readonly
Fixes: SYS#521
2014-08-28 23:13:34 +02:00
Henning Heinold 497be38b34 sysmocom-backup: use transform option on restore
* when restoring links e.g. for systemd files
  the links will be created with content// prefix

* use transform instead of strip to remove
  the "content/" prefix

* bump PR
2014-08-28 23:01:32 +02:00
Holger Hans Peter Freyther b39db0cdf7 sysmobts-config: Execute sync to be sure ubifs was in sync 2014-08-28 17:57:02 +02:00
Holger Hans Peter Freyther 4d631d5d71 sysmobts-2050: Add a deprecation notice for the sysmobts-2050 2014-08-28 17:53:10 +02:00
Holger Hans Peter Freyther 313388cac2 task-sysmocom-bts: Include the sysmobts-config application
This way we should be able to use a single image on all devices

Fixes: SYS#559
2014-08-28 17:50:40 +02:00
Holger Hans Peter Freyther fbf5089510 sysmobts-config: Add script with postinst hook
Add post install script that will mangle the config to be the
right one for the given machine. This will be executed once
after the post installation. In case of the getty change the
system must re-start once to be fully usable. E.g. for the
sysmoBTS2050 the PA might not be powered up on first boot.
2014-08-28 17:50:02 +02:00
Holger Hans Peter Freyther ec3635eed8 watchdog: Remove sysmobts-2050 configuration file
The sysmobts-2050 machine does inherit from the generic bts so
we do not need an exact copy of the configuration file.

The watchdog is not used in dora or later images as this functionality
is integrated into the systemd.

Related: SYS#559
2014-08-28 16:56:16 +02:00
Holger Hans Peter Freyther 34fc7b631b tasks-sysmocom-bts: Install packages for the sysmoBTS as well
We want to have a single image that will do the right thing on
the various BTS models we have. This means we will install the
sbts2050 utilitiy (it clashes with sysmobts-mgr anyway) and the
gpsd with a default config for it.

The sysmobts-v2 config file was for a specific usecase and is
obsolete for all intents and purposes. Make it the default

Related: SYS#559
2014-08-28 16:53:24 +02:00
Holger Hans Peter Freyther eda2017371 task-sysmocom-feed: Require iperf as well. We use it for PCU testing 2014-08-25 18:29:42 +02:00
Holger Hans Peter Freyther 40927204e9 osmo-bts: Fix the VTY generation and output power handling
Fix the VTY generation and output power handling for 1100 und
1020 devices have been added.
2014-08-25 16:17:00 +02:00
Holger Hans Peter Freyther e512a0a363 osmo-bts: Package the sysmobts-mgr.cfg again
The sysmobts-mgr regained VTY support and now has a configuration
file again. Install it and declare it as a conffile
2014-08-25 08:25:04 +02:00
Holger Hans Peter Freyther b4d90d2582 osmo-bts: Upgrade with control command and improved pwr mgmt
This version includes the CTRL interface for clock-calibration
and improved/generic power management.
2014-08-25 08:11:59 +02:00
Holger Hans Peter Freyther 02b15f6048 gpsd: Add custom format for sending data using -l and -m options 2014-08-22 10:08:33 +02:00
Holger Hans Peter Freyther bf2a3bdb18 osmo-bts: Install the sysmobts-mgr.service and link it
Just because the the VTY/alarm handling was broken, we still want
to run the sysmobts-mgr.service to gain a response for ipaccess-find.
2014-08-21 15:24:19 +02:00
Holger Hans Peter Freyther c78433d945 systemd-compat-units: Add alignment service and replicate others
We need to replicate the other services that were included with
*.service. Install an additional alignment.service that is required
for ARM. The actual service file is from Daniel and copied from
the postinst and sysmobts service.
2014-08-20 23:36:45 +02:00
Holger Hans Peter Freyther afd38eb11a task-sysmocom-feed: Add openvpn to the list of packages we want 2014-08-14 11:01:38 +02:00
Holger Hans Peter Freyther 5cc6103cc3 sysmocom-bsc: Further simplify the selection of the kernel
Only on Edison we are stuck with the 'linux' kernel. In Dora and
later we will simply use the linux-sysmocom kernel.
2014-07-31 16:48:00 +02:00
Holger Hans Peter Freyther a425d28ed7 misc: Simplify selection based on targeted distro
I wish I could have made it more simple but at least only compare
the 1.X of the poky version as minor versions generally do not
upgrade the core components
2014-07-31 15:48:09 +02:00
Holger Hans Peter Freyther 808842860d osmo-bts: Update with direct RTP and power ramp up support 2014-07-31 14:47:40 +02:00
Holger Hans Peter Freyther 2b28110051 sysmobts-firmware: Remove the circular constraints as opkg can't handle them
Having:

 osmo-bts requires sysmobts-firmware > 3.11
 sysmobts-firmware requires osmo-bts > 0.4.2

is something opkg can't resolve in one go. One needs two calls to
the opkg command to end up with a fully upgraded version. Make sure
that we require/pull newer firmware when installing a new version
of osmo-bts.
2014-07-31 14:46:03 +02:00
Holger Hans Peter Freyther 4c23137c2f sysmobts: Use 3.10.50 as default kernel 2014-07-31 12:12:40 +02:00
Holger Hans Peter Freyther ab0b6f4248 linux-sysmocom: Rebase to linux 3.10.50
The kernel has been boot tested to mounting the rootfs and nothing
more has been done.
2014-07-30 15:18:33 +02:00
Holger Hans Peter Freyther f85927359a sysmobts: Target firmware version 3.11
* Add sysmobts-firmware 3.11. The firmware will work with the
  previous osmo-bts software and this one (as we don't use the
  new primitives)
* Build newer version of osmo-bts with support for online
  calibration and CMR fixes.
2014-07-30 12:47:48 +02:00
Holger Hans Peter Freyther 2fb98567ea task-sysmocom-bts: Include gpsd/gps-utils in the image
For the slave BTS the GPS receiver will not work with the GPSD
but we can install it anyway as nothing bad will happen.

Fixes: SYS#131
2014-07-25 20:03:39 +02:00
Holger Hans Peter Freyther 1872d0a488 gpsd: Add a default for the sysmobts 2050 device
There is a trimble GPS on this device
2014-07-25 11:21:16 +02:00
Henning Heinold 35ede1bbb3 systemd: backport the fsck.repair options
* bump the PRINC to 22

Fixes: SYS#276
2014-07-22 20:14:41 +02:00
Henning Heinold c134a3bbdd gpsd: Enable systemd support based on DISTRO_FEATURE
Enabling the "systemd" feature will enable the socket activation
feature used by systemd. This way we can (re-)start the GPSD based
on the socket activation.
2014-07-20 18:15:16 +02:00
Holger Hans Peter Freyther 018ef1a599 early-date: Introduce a simple hacked up script to set an initial time
If the year is smaller than < 2014 an initial date will be set. This
has been manually verified by copying ntpdate to ntpdate.off and making
sure that the VPN is coming up. Due the short SSL lifetime of CACert
we will need to update the script once in a while. But our VPN should
now always come up.
2014-07-18 10:59:52 +02:00
Holger Hans Peter Freyther e7fadd8e8e linux-sysmocom: Enable the tun device in the odu config 2014-07-18 09:58:42 +02:00
Holger Hans Peter Freyther 909407e025 usb2514: Bump the PR after the recipe change 2014-07-18 09:58:42 +02:00