Commit Graph

948 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 96c91eb8d6 watchdog: Bump the pr, depend on the $localfs to fix the systemd init
systemd is using the depedencies of the LSB section and according to
the debian documentation all applications accessing /var should depend
on the localfs. This makes the watchdog start properly on systemd systems.
2013-04-11 18:44:20 +02:00
Holger Hans Peter Freyther 9c3b75040a misc: Cleanup the RDEPENDS warning by the latest bitbake parser
This is addressing:
Variable RDEPENDS is set as not being package specific, please
fix this.
2013-04-11 18:44:07 +02:00
Holger Hans Peter Freyther 5e475b6b99 images: Remove the sanity check for including an ext3 filesystem
This sanity check is included in the used bbclass directly and to
support both Edison and master we will need to remove the custom
python code due a change in indention in the python code.
2013-04-11 18:43:51 +02:00
Holger Hans Peter Freyther 8b40a0c2f9 task-sysmocom-debug: Remove oprofile as it is quite outdated
We should use perf for future performance problems but it might
require more work (e.g. not to install the source into the -dbg
package, adding newt, etc.). But oprofile is not very nice to
use right now anyway.
2013-04-11 18:43:35 +02:00
Harald Welte fcfffacfa8 update gpsdate to git master 2013-04-10 15:17:43 +02:00
Harald Welte 920b27acba add new gpsdate recipe 2013-04-10 14:11:41 +02:00
Holger Hans Peter Freyther 336c4212e5 lmsensors-apps: Ask lmsensors to install man pages to the right directory
Ask the buildsystem to install the manpages to the mandir. This will avoid
the following warning.

WARNING: QA Issue: lmsensors-apps: Files/directories were installed but not shipped
  /usr/man
2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther 40075f5141 misc: Ignore files generated by vi 2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther 661e10551b gpsd: Fix a warning with newer bitbake parsers
RROR: There is a confusing multiline, partially commented expression on line 22 of file /home/ich/firmen/gesmokom/source/meta-sysmocom-bsp/recipes-extra/gpsd/gpsd_3.7.bb (SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98").
2013-04-07 16:39:58 +02:00
Holger Hans Peter Freyther 8e4991163e linux-sysmocom: Enable ext3/ext4 support for sysmobts-v1 as well
Some of our target applications require ext3/ext4 support for mounting
an MMC card. While the sysmobts-v1 hardware does not have an external
MMC card slot it is nice to have the same image available for this
hardware.
2013-03-23 09:04:12 +01:00
Holger Hans Peter Freyther cd0d240314 meta-toolchain-sysmobts: Introduce a toolchain target for the BTS
Install the sysmobts firmware headers on top of the Osmocom toolchain.
This way the SDK can be used to re-compile both the OpenBSC and the
osmo-bts software.

Make sure the -dev package of the femtobts-api has not runtime
dependencies to a library that does not exist.
2013-03-19 19:54:02 +01:00
Holger Hans Peter Freyther 7059d16861 task-sdk-host-nativesdk: Remove qemu from the depedencies
This is a hack and has the risk of "forgetting" a dependency that
we need. This needs to be re-evaluated for each OE-Core version.
2013-03-19 19:54:02 +01:00
Holger Hans Peter Freyther d01ad496af femtobts-api_git.bb: Do not use symbolic names for the SRCREV
The name will be resolved to the hash during parse time. This will
not work when not having access to the internet. Use the sha1 sum
to make offline builds work.
2013-03-19 19:54:02 +01:00
Holger Hans Peter Freyther d9a117ed21 busybox-syslog: Increase back to notice (6) for the logging
This sadly still prints the firmware reload messages. But this is
necessary right now. The fpgadl/dspdl drivers do not log fatal
failures so the 'success' is the only information we have. This
is to be fixed in the driver.
2013-03-17 19:46:41 +01:00
Holger Hans Peter Freyther 84f23b2203 syslog: Use /media/mmcblk0p1/log to match /var/log
The nitb configuration expects /media/mmcblk0p1/log and to make it
work and match with unix naming use the singular version.
2013-03-17 19:23:39 +01:00
Harald Welte 1c3982289e osmo-bts: fix git revision. 2013-03-17 17:43:45 +01:00
Harald Welte c793b65258 osmo-pcu: Use parenthesis for osmo-bts version in RDEPENDS 2013-03-17 17:42:00 +01:00
Harald Welte 2bae25e4cd osmo-pcu: make sure to use RDEPENDS to osmo-bts with PCU IF v5
As Holger points out, we need a runtime dependency, not build time
2013-03-17 17:36:56 +01:00
Holger Hans Peter Freyther 7cb8c8d1b5 linux-sysmocom: Always compile MMC support into the kernel
Make mounting using mountall work during the first boot by putting
MMC, MMC-block and the TI Davinci into the kernel.
2013-03-17 17:31:30 +01:00
Harald Welte 410d086a5a update omso-pcu + osmo-bts to current master
This uses PCU API version 5 including RSSI measurements
2013-03-17 17:20:41 +01:00
Holger Hans Peter Freyther 87f47c8586 busybox-syslog: Log to the MMC card if present
If the first partition of a MMC card is mounted and has a logs/
directory syslog will start to write log messages to the MMC card
in the directory /media/mmcblk0p1.
2013-03-17 15:09:44 +01:00
Holger Hans Peter Freyther 7389f6f2b1 busybox-ifplugd: Disable the restart target as it is not working
This issue is documented in PRJ#72. The easiest is to to keep the
old software running as everything else is racy and start-stop-daemon
does not appear to implement the --retry command. Let's see how
far we get with this workaround.
2013-03-17 14:22:55 +01:00
Holger Hans Peter Freyther b7f2cddc23 busybox: Copy the new OE-core syslog startup for the loglevel handling
We want to only log a given loglevel, backport the start up script
from OE-Core to get the LOGLEVEL variable. This removes the MARKINT
and adds DROPDUPLICATES and LOGLEVEL.
2013-03-17 13:59:28 +01:00
Holger Hans Peter Freyther 2257338267 osmo-bts: Update once more for sysvinit related scripts
* The /etc/init.d/sysmobts stop target is now working. It will
  terminate the screen, the run loop, the sysmobts and osmo-pcu.
2013-03-16 23:35:08 +01:00
Holger Hans Peter Freyther 41a683d627 linux-sysmocom: Upgrade to 3.2.40 and add two more UARTS
The kernel has been rebased to target 3.2.40 with various bug
fixes in the upstream work. The sysmobts v2 config has been
changed to allocate space for two more UARTs. These are required
for the multi-trx configuration and they make a warning go away.
2013-03-16 20:25:45 +01:00
Holger Hans Peter Freyther 99a6840eb4 osmo-bts: Upgrade for change in respawn scripts and misc fixes
* Fix the link timeout handling as found in post-review.
* Fix the set bts attr parsing due a funny parsing error.
* Sleep 10 seconds after the execution, reload DSP and FPGA firmware
2013-03-16 19:19:36 +01:00
Holger Hans Peter Freyther de0f9b5f3d uucp: We are forced to chown this after the installation
We could use "fakeroot do_install() {}" but this will still not
make the spool directory be owned by uucp. Use a postinst script
to make this up. The logic is copied from the cronie bitbake file
and we will see how this works at image creation time.
2013-03-16 18:24:41 +01:00
Holger Hans Peter Freyther aea5136f30 gpsd: Make the stop work with the busybox start-stop-daemon
The stop command did not stop the GPSD. Let the start-stop-daemon
command stop the command based only on the PID.
2013-03-16 18:01:57 +01:00
Holger Hans Peter Freyther 0f3ea35f17 gpsd: Make sure the chrpath-native is built before packaging gpsd 2013-03-16 09:14:34 +01:00
Harald Welte 209d4ec0be uucp: make sure /etc/uucp is the config path, not /usr/conf/uucp 2013-03-15 13:02:06 +01:00
Harald Welte cbb7200e61 Add UUCP recipe 2013-03-15 11:52:47 +01:00
Harald Welte 8d7bfd23e9 ggsn.conf update: use 127.0.0.2 on sysmobts-v2 2013-03-14 22:56:05 +01:00
Harald Welte 85a4948d4b add sysmobts-v2 specific GPSD config file
FIXME: this will actually assume a GPS that is indirectly attached
to a GSM Modem which will be handled by openmoko-gsmd and forwarded via
UDP.  However, we might have a GPS receiver attached directly to the
GPS UART in other hardware versions!
2013-03-14 21:17:30 +01:00
Holger Hans Peter Freyther b6780a5826 sysmobts-firmware: Remove comment about both versions being installed
As of issue #48 we do not separate firmware for revc and revd. Remove
the comment about both versions being installed in parallel.
2013-03-14 14:03:40 +01:00
Harald Welte b67bed4d3a Add recipes for firmware v3.2 and v3.3 2013-03-13 13:48:43 +01:00
Harald Welte c71b4ead63 osmo-bts: Update to current git master
This will include
* Fix of CHAN_NR IEI in common channel RSL messages generated by BTS
* zecke/request_queueing
* Improve shutdown of DSP on exit
* various calib updates
* GSMTAP: use RxLevel and RxQual
* DSP power control bypass on ul_power_target==0
* Add radio link timeout procedure
2013-03-13 12:47:14 +01:00
Harald Welte 5b6ad0ce9d osmo-pcu: Make sure to actually build sysmobts support on v2 2013-03-09 01:05:03 +00:00
Harald Welte 766aabc563 import gpsd_3.7 recipe, taken from oe-meta.git, modified
* no longer depen on python
 * no longer depend on dbus
 * disable lots of compile options we don't need
2013-03-02 17:07:30 +01:00
Harald Welte e518a3224a osmo-pcu: Only build DSP support on sysmobts v2, not also v1 2013-03-02 15:22:21 +01:00
Holger Hans Peter Freyther 2b59ca73fe task-sysmocom: Add the new sysmocom-backup as dependency
Make sure the sysmocom-backup scripts are installed on the device
so customers can backup and restore these files.
2013-02-16 16:03:39 +01:00
Holger Hans Peter Freyther c4c453a1db sysmocom-backup: Create two shell scripts for backup/restore
Create shell scripts that backup and restore configuration files
used by the sysmocom products.
2013-02-16 16:02:37 +01:00
Holger Hans Peter Freyther e9379558e3 dropbear: Do not kill client connections when restarting the daemon
The upgrade of the unit broke due killing all client connections. opkg
got a SIGHUP and didn't write out the state files. Do not kill the
client connections on upgrade.
2013-02-15 19:23:36 +01:00
Harald Welte cf29168330 update osmo-bts for further ortp fixes 2013-02-09 14:19:12 +01:00
Harald Welte bcf7764458 update osmo-bts for the "rtp bind-ip" related fixes 2013-02-09 13:30:42 +01:00
Harald Welte 489f392cc6 update udhcp.conf to add router/subnet/broadcast
... otherwise busybox-udhcpc is not happy with it
2013-02-07 15:44:22 +01:00
Harald Welte d0d30fee99 sysmobts-firmware_v2.7: Fix build on sysmobts_v1 2013-02-06 15:35:17 +01:00
Harald Welte 557e1b47ba femtobts-api: ensure SRCREV is set on non-sysmobts machines.
COMPATIBLE_MACHINE didn't work, unfortunately.
2013-01-29 15:25:42 +01:00
Holger Hans Peter Freyther b726969f84 linux-sysmocom: Disable the debug message of the DSPDL loading code 2013-01-17 09:23:16 +01:00
Holger Hans Peter Freyther fd02a175f6 linux-sysmocom: Upgrade the BTS kernel to 3.2.36 2013-01-15 14:10:39 +01:00
Holger Hans Peter Freyther 8b61400347 task-core-boot: Make sure the 'kernel' package is installed
The modules depend on kernel-base (renamed kernel-3.2.35) package,
the tasks depend on some modules and nothing needed the kernel package.

In OE Core/Poky the machines depend on kernel-modules which will pull
the kernel package into the rootfs. We do it by hand using the essential
depends and bumping the PR for the task-core-boot.

I have verified that on a kernel ugrade task-core-boot will be updated
and the kernel package is installed.
2013-01-14 20:28:45 +01:00