Commit Graph

665 Commits

Author SHA1 Message Date
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
Harald Welte 25b22a632e ODU: reset the USB hub before talking to it over I2C 2014-07-17 21:08:13 +02:00
Holger Hans Peter Freyther 2c4d15307b Add a "feed" package with software we want to make available
This should be a task with all the software we want to make available
to our customers. Add the software you need and bump the PR.
2014-07-17 11:50:19 +02:00
Holger Hans Peter Freyther 4bfaa3f7df systemd: Enable the "ShutdownWatchDogSec" and add sysmocom-odu file
The TI Davinci DM644x and the TI Sierra AM335x both feature a
watchdog. Enable it on the AM335x as well. The next part is that
we can enable the watchdog for the shutdown. E.g. in case the
system does not reboot after the shutdown.

The shutdown is executed last and only after the shutdown target
has been reached. For time timeout we need to use the same interval
as the watchdog (as both drivers don't allow to change the timeout
interval).
2014-07-16 20:35:17 +02:00
Henning Heinold b405fd4d9a config: update for dora 1.5.3
* update the anonymous python functions
  for sysmocom-linux and layer.conf
2014-07-15 19:25:39 +02:00
Holger Hans Peter Freyther 7de1fc45c1 barebox: Bump the PR after our change 2014-07-15 19:13:43 +02:00
Holger Hans Peter Freyther e89bd0a3a1 barebox: Build newer versions for 256mb RAM and flash >= 128 MB
We need to build a variant of barebox that deals with only having
256mb of ram and maybe only 128mb of nand flash.
2014-07-15 19:02:52 +02:00
Holger Hans Peter Freyther 26d74189eb gpsd: Do not mess with the argv of the process
Henning got really confused that the "a.b.c:1234" he passed to
gps2udp showed up as "a.b.c 1234" in the kernel cmdline. Use
strdup to take a copy of it.

Fixes: SYS#424
2014-07-15 08:28:42 +02:00
Holger Hans Peter Freyther fd9e8b9cc4 systemd-compat-units: We require networking to run udhcpc for us
On the ODU and probably on the BSC as well we require to have
ifupdown configure the network interfaces. This is not done using
systemd yet.
2014-07-14 16:06:52 +02:00
Holger Hans Peter Freyther c5c1d3a313 init-ifupdown: Bring up eth1 as well as it is done in the existing image
In the existing image we bring up eth1 do it here too
2014-07-14 14:50:43 +02:00
Holger Hans Peter Freyther 5b521afd5d init-ifupdown: Make the script runnable in rc2.d as well
systemd doesn't look in /etc/rcS.d for init scripts so we never
start networking unless we are using ifplugd. We need to check
how this behves on the sysmobts and sysmobsc in case the network
is being started twice.
2014-07-14 14:48:58 +02:00
Holger Hans Peter Freyther 907987c41a init-ifupdown_sysmocom: Bump the right file for changes to interfaces 2014-07-14 14:28:35 +02:00
Holger Hans Peter Freyther 71a8ad1c4e netbase: Provide a custom interfaces for the odu 2014-07-14 14:14:19 +02:00
Holger Hans Peter Freyther a4b2ba6a02 barebox: Upgrade to a version that could fix ethernet.. 2014-07-14 11:29:44 +02:00
Holger Hans Peter Freyther 9fcc062f55 barebox-sysmocom: Have only one provide virtual/bootloader and require lzop 2014-07-14 09:32:10 +02:00
Holger Hans Peter Freyther ce25d19cdc sysmocom-odu: Force the build of barebox-sysmocom (and then the MLO) 2014-07-12 08:39:45 +02:00
Holger Hans Peter Freyther 8f1cfa46fe sysmocom-odu: Force a kernel into the image
We want to have a /boot/uImage file in the rootfs to be used by
the bootloader. This way we can easily upgrade the kernel.
2014-07-11 19:45:00 +02:00
Holger Hans Peter Freyther ff8967feea sysmocom-odu: Do not mention u-boot at all 2014-07-11 19:37:33 +02:00
Holger Hans Peter Freyther 2371fca7c7 sysmocom-odu: We want to have barebox as bootloader
We are using barebox for the sysmocom-odu as the SoM supplier
was already using it.
2014-07-11 19:01:36 +02:00
Holger Hans Peter Freyther da3cf64f1e u-boot: Remove the never working ODU support from u-boot
The u-boot port was never tried on a device and was only added
to get the image building. Remove now that we have barebox support
2014-07-11 18:59:24 +02:00
Holger Hans Peter Freyther f18a674af3 barebox: Build a version of barebox for the ODU
Build a version of barebox that has support for NAND flash and
ubifs. Load the kernel from the device. One needs to flash the
*mlo*.img into the xloader partitions and the other image into
the barebox partition.

erase /dev/nand0.xload.bb
erase /dev/nand0.xload_backup1.bb
erase /dev/nand0.xload_backup2.bb
erase /dev/nand0.xload_backup3.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup1.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup2.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup3.bb
2014-07-11 18:53:23 +02:00
Holger Hans Peter Freyther 7aa38f0755 uboot/ubl: Build newer version for toshiba flash
Build newer version for the toshiba flash. Setting A1CR in the
emif has been moved to ubl and depends on the NAND chip that is
being used.
2014-07-11 12:18:38 +02:00
Holger Hans Peter Freyther 37a977e6f4 Merge remote-tracking branch 'origin/hheinold/usb2514' 2014-07-03 15:32:48 +02:00
Henning Heinold 1a819714c8 linux-sysmocom: odu kernel needs CONFIG_USB_ACM
Related: SYS#294
2014-07-02 22:53:58 +02:00
Henning Heinold 5084446d22 usb2514: add small tool for setting usbrouting
Related: SYS#294
2014-07-02 22:53:58 +02:00
Holger Hans Peter Freyther 2f367aec31 gpsd: Upgrade from 3.9 to 3.10 in the hope the TSIP is working better
Related: SYS#410
2014-06-24 20:28:48 +02:00
Holger Hans Peter Freyther bf0c0ad287 Revert "osmo-bts: Depend on a specific version of the sysmobts-firmware"
This doesn't work like this. We need to know the _exact_ PV/PR
of the package and we don't. Specially with the PR server in dora
and later we can not know the version.

This reverts commit 767d7b6939.
2014-06-22 10:30:10 +02:00
Holger Hans Peter Freyther eadc4c5278 linux-sysmocom: Build 3.2.0 with patches for the ODU
The 3.2.XX kernel doesn't really work. Please see SYS#409
for details and resolution
2014-06-21 10:08:11 +02:00
Holger Hans Peter Freyther 767d7b6939 osmo-bts: Depend on a specific version of the sysmobts-firmware 2014-06-20 18:57:55 +02:00
Holger Hans Peter Freyther 92c3a78288 gpsd: Do not generate an RPATH when we don't need it
So far we have used chrpath to fix the rpath we don't want but
this creates issues with supporting both dora and edison (we need
to depend on different recipes). Instead just force the RPATH to
be off. This can be done by setting the internal _RPATH variable.
I found this in Tool/gnulink.py.
2014-06-17 19:52:43 +02:00
Holger Hans Peter Freyther 85bc905db3 osmo-pcu: Avoid crash with BFI indication of the DSP?
Add the hotfix to not crash on a bad frame received.
2014-06-16 21:52:52 +02:00
Holger Hans Peter Freyther f8960b7bf2 osmo-bts: Do not mention the osmobts-mgr.cfg in the conf files
While the package can be built on dora, it can not be built on
edison. We need to comment it.
2014-06-16 20:52:39 +02:00
Holger Hans Peter Freyther dfe8845a4e osmo-pcu: Upgrade to a newer test version of the PCU
* "upgrade" a TBF that was assigned through the BCCH
* Rip-out the non exit code from the PCU.
2014-06-16 19:40:39 +02:00