Commit Graph

881 Commits

Author SHA1 Message Date
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
Holger Hans Peter Freyther 2761cd97f4 sysmobts-v2: Allow the rootfs to grow to the full size of the flash
The rootfs in the UBI is configured to grow to the full size of the
UBI, currently these are 999 LEBs (when there is no kernel volume)
but we had limited the LEBs the filesystem can hold to 400. After
this change the filesystem will grow from the 42MB to more than 120
MB.

I'm not sure if we really want to have a rootfs of that size but we
can at least experiment with it and see if the failure rate is changing
or not.
2013-05-11 14:32:20 +02:00
Holger Hans Peter Freyther e89d7ce77d images_types_sysmo: Add a new bbclass for creating different ubi images
For the sysmoBTS we want to include a kernel volume inside the UBI as
a fallback in case the mounting of the main kernel is failing. We still
need to modify the boot command of the bootloader to look at this UBI
and to modify the kernel to include the tun/tap modules so the kernel
will be capable of opening a OpenVPN connection.

Currently one needs to write INHERIT += images_types_sysmo into the
conf/local.conf and add ubi-sysmo to the IMAGE_FSTYPES variable.
2013-05-11 14:31:37 +02:00
Holger Hans Peter Freyther 1bca046d23 u-boot: Build a new u-boot with increase system malloc
This should be more than 10MB and should help with the ubifs
recovery needed during boot.
2013-05-10 18:12:13 +02:00
Holger Hans Peter Freyther c83652a73a gpsd: Even when disabling python we still need it to be available during build 2013-05-10 09:55:38 +02:00
Holger Hans Peter Freyther f9d158b747 watchdog: Rename the master version 2013-04-11 18:44:32 +02:00
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