Commit Graph

930 Commits

Author SHA1 Message Date
Jan Luebbe c1eeb1a68a barebox: update to newer git version for I2C recovery
The new version contains the I2C recovery support ported from the linux
kernel for sysmobts and sysmocom-odu.
2015-07-31 21:10:57 +02:00
Jan Luebbe 27915edf67 ntp: enable automatic restart
NTPd sometimes fails to start on the first try, but works fine when
restarted.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-07-31 21:10:43 +02:00
Jan Luebbe f0fb4a9ad8 ntp: split off perl-based userspace tools
This makes it possible to install the basic debug tools without pulling
in perl itself.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-07-31 21:10:29 +02:00
Jan Luebbe e4cc94cfd0 linux: update for sysmocom-odu
This adds kernel support for the EEPROM write-protect GPIO. Bump
linux-backports PR as well.
2015-07-31 21:09:44 +02:00
Holger Hans Peter Freyther 11c241c756 u-boot: Unbreak yocto master
We don't care about the specific u-boot version as we are using
our own releas. Use the general glob so we don't need to play
catch up.
2015-07-25 16:40:01 +02:00
Neels Hofmeyr 33995b2473 busybox-udhcpc: move sysmocom-idu dir.
The proper place apparently is below files/, not next to it.
2015-07-23 16:00:42 +02:00
Neels Hofmeyr bfac671c1c Revert "busybox-udhcpc simple.script: whitespace."
This reverts commit ea8c1346e5,
to facilitate diffing.
2015-07-23 15:55:35 +02:00
Neels Hofmeyr 8e46fae730 busybox-udhcpc: udhcpc.default file for IDU.
Hopefully, this installs a different /etc/default/udhcpc file on
sysmocom-idu machines. Not sure if adding a machine subdir suffices.

The idea is that the machine-specific subdir symocom-idu should replace
the udhcpc.default file used for the idu packages, only, which has both
resolv.conf mods and default route disabled by default.
2015-07-23 15:49:17 +02:00
Neels Hofmeyr 1411cacbce busybox-udhcpc: add option to skip default route.
The IDU requires that udhcpc does neither touch resolv.conf nor install a
default route. Add a flag to switch off default route installation, the
resolv.conf part is already switch-off-able.
2015-07-23 15:49:17 +02:00
Neels Hofmeyr ea8c1346e5 busybox-udhcpc simple.script: whitespace.
Will edit the file in next commit, first fixing indenting to not mess up
the diff.
2015-07-23 15:49:17 +02:00
Neels Hofmeyr bdfd0f736d init-ifupdown: remove iridium "weak" route.
Remove post-up entries from iridium interface config for weak ping route
to ortelius, now set by sob-idu-linkmon itself.
2015-07-23 15:49:17 +02:00
Holger Hans Peter Freyther 28bcb5f43d rtl8169-eeprom: Assume that automake is not used or broken
It looks like a classic src != build dir issue of the
utility breaking the build on Yocto-Master. Try to fix
that.

ERROR: Function failed: do_install (log file is located at /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5e-poky-linux-gnueabi/rtl8169-eeprom/v0.0.1+gitAUTOINC+e62e515ce3-r0/temp/log.do_install.2455)
ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5e-poky-linux-gnueabi/rtl8169-eeprom/v0.0.1+gitAUTOINC+e62e515ce3-r0/temp/log.do_install.2455
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| install: cannot stat `/home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5e-poky-linux-gnueabi/rtl8169-eeprom/v0.0.1+gitAUTOINC+e62e515ce3-r0/git/rtl8168-eeprom': No such file or directory
| WARNING: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/armv5e-poky-linux-gnueabi/rtl8169-eeprom/v0.0.1+gitAUTOINC+e62e515ce3-r0/temp/run.do_install.2455:1 exit 1 from
|   install -m 0755 /home/builder/jenkins/workspace/Yocto-
2015-07-19 22:07:40 +02:00
Holger Hans Peter Freyther 6597f246c5 autossh: Force B=S because this is using autoconf and not automake
autossh is not using automake and has a broken buildsystem. For it
to build in the source directory.
2015-07-19 21:26:47 +02:00
Henning Heinold 2276fd4a7b linux-backports: fix build on master
* the kernel build directory was splitted
  and renamed on master
2015-07-19 19:57:17 +02:00
Neels Hofmeyr 38579ae767 init-ifupdown: inmarsat should be dhcp.
From the obn-test config, I wrongly assumed that the inmarsat config should
be static on a vessel. Instead, we need to figure out a way to use dhcp with
linkmon.
2015-07-17 14:33:29 +02:00
Neels Hofmeyr 1ed5160b0d init-ifupdown: adjust comment about metrics 2015-07-17 14:33:29 +02:00
Holger Hans Peter Freyther 0aec6171be osmo-pcu: Make sure the commit is available in a branch
The builds of the stable upgrade and the Yocto-Master failed
because of the commit gone missing (no remote is referencing
it). I created a dummy branch to hold this commit.
2015-07-14 14:48:43 +02:00
Neels Hofmeyr 119a9ce8b4 init-ifupdown: set 'inactive' sat metrics, comment. 2015-07-14 14:27:27 +02:00
Neels Hofmeyr c09cac566d init-ifupdown: add IDU eth0.2002 inmarsat config 2015-07-14 14:24:53 +02:00
Holger Hans Peter Freyther 1422f63b03 autossh: Add a small ssh spawner/link tester 2015-07-12 11:50:02 +02:00
Holger Hans Peter Freyther fd44e0be45 image-rauc-slot-rescue: Make sure dropbear is in the image too 2015-07-12 11:50:02 +02:00
Holger Hans Peter Freyther 9955e6aaf6 image-rauc-slot-rescue: Remove bts kernel modules if present
In case of the sysmobts we can remove the kernel modules for
the dsp communication.
2015-07-12 10:47:22 +02:00
Holger Hans Peter Freyther e696c6fb6b image-rauc-slot-rescue: Do not add e2fsprogs-fsck
For the ODU/BTS we do not have ext4 and will not need to check
a filesystem. Do not install these recommendations.
2015-07-12 10:41:49 +02:00
Holger Hans Peter Freyther 870b73cb12 image-rauc-slot-rescue: Remove some more files from it
* We never need the BTS firmware. We never want to do GSM from
within rescue image

* Remove various udev hardware dbs. I think we couldn't care less
about identifying peripheral devices by name and such.
2015-07-12 09:22:58 +02:00
Holger Hans Peter Freyther 455820b8d3 image-rauc-slot-rescue: Reduce the size of the rescue slot
The system should be as small as possible and besides tools to
touch flash and block files, SSHD and rauc there should be nothing
else. We might continue to have opkg on it to allow updating it
2015-07-12 09:21:03 +02:00
Holger Hans Peter Freyther e2d36a57d4 task-sysmocom-feed: Build the new rtl8169-eeprom
We want this to be installable for the IDU system and for now
let's put it into the feed.
2015-07-11 08:56:10 +02:00
Holger Hans Peter Freyther f8535440b7 rtl8169: And kill the COMPATIBLE_MACHINE completely
Yes, this does require a PCI bus and will not run on a BTS
but there is no specific config file or such.
2015-07-11 08:55:08 +02:00
Holger Hans Peter Freyther f70f875e83 rtl8169: Fix the machine name for the E1 one 2015-07-11 08:54:34 +02:00
Henning Heinold de502623c1 rtl8169-eeprom: add recipe for rtl8169-eeprom 2015-07-11 08:48:07 +02:00
Holger Hans Peter Freyther 209666c7dd linux-sysmocom: Document upgrade issue with the kernel
The reverse dependency appears broken. Add a comment to
the recipes to warn us when updating. The issue does not
appear to exist in master of Yocto.

Related: SYS#1353
2015-07-09 09:53:11 +02:00
Neels Hofmeyr 9cef909c82 init-ifupdown: fix typo in network/interfaces 2015-07-06 23:03:26 +02:00
Harald Welte 5c86ed95c9 linux-backports: bump PR as dependency to kernel somehow not working
See SYS#1353 for details.
2015-07-06 14:02:02 +02:00
Jan Luebbe bcbd47e2af barebox: update to newer git version for eeprom write-protect
For the sysmocom-odu, this add support for the EEPROM write-protect
GPIO.
2015-07-03 17:46:05 +02:00
Jan Luebbe 385453cf22 initramfs-rauc-install: add installer for the sysmocom-idu
The partition layout needed for rauc is different from the one created
by the existing installer (based on the live image).

An initramfs-framework module for installation to the sysmocom-idu is
added. It is included in a corresponding initramfs image for use on an
USB memory stick.
2015-07-03 17:45:24 +02:00
Jan Luebbe 2cd82376d9 initramfs-framework: make sure console messages are visible on reboot
The serial console may take some time to send the messages, so sleep a
moment before rebooting.
2015-07-03 17:44:59 +02:00
Jan Luebbe e8097c044e rauc: update to newer version
The new version fixes a possible free of an uninitialized pointer.
2015-07-02 22:10:21 +02:00
Jan Luebbe 3c38bd3c2f barebox: enable password support for sysmobts and sysmocom-odu
This uses a new git revision to use a required fix.
2015-07-02 22:10:14 +02:00
Jan Luebbe 2b3373ce53 rauc: update to newer version
The new version fixes compatibility checking.
2015-07-02 22:09:48 +02:00
Jan Luebbe 5b5741f314 sysmocom-backup-data: add alternative package for overlay based systems
When using squashfs + overlayfs a root, we need to store the backup
somewhere else and restore it on every boot. Do avoid breaking existing
users, this is implemented in a separate recipe (as suggested by Holger).
2015-07-02 22:09:29 +02:00
Jan Luebbe 20d03de6b2 rauc: build without background service
The allows us to drop the RDEPENDS on dbus.
2015-07-02 22:09:09 +02:00
Holger Hans Peter Freyther 6826004831 osmo-pcu: Upgrade PCU and fix the branch name 2015-07-02 22:02:19 +02:00
Holger Hans Peter Freyther 89e0c53ba8 osmo-bts: Bump the PR to force a re-fetch of the source 2015-06-30 22:04:23 +02:00
Holger Hans Peter Freyther a2bb468480 osmo-bts: Fix the branch name in the hope to fix the build 2015-06-29 07:57:13 +02:00
Holger Hans Peter Freyther 7e54997fbe osmo-bts/osmo-pcu: Upgrade to the latest version of the BTS and PCU 2015-06-26 10:26:03 +02:00
Jan Luebbe 70993c331d ti33x: use cortexa8hf-neon tune by default
We don't use any binary only components and can avoid the performance
penalty.

[hfreyther: The ODU build had changed the tune through
the local.conf already]
2015-06-26 10:10:48 +02:00
Jan Luebbe b97e39bb9c Revert "sysmocom-odu: Barebox doesn't build anymore. Disable it for now"
We now can build barebox again (even with
DEFAULTTUNE="cortexa8hf-neon").

This reverts commit 17a8ba8c03.
2015-06-26 10:10:07 +02:00
Jan Luebbe 2df16ea744 barebox: use KERNEL_CC and KERNEL_LD
Barebox should be built like the kernel. We have to disable the target
userspace tools because they cannot be build using KERNEL_CC (which is
missing --sysroot=).
2015-06-26 10:09:56 +02:00
Jan Luebbe f7b01afb65 sysmocom-backup: make file list configurable
Move the default file list to a separate file in /etc/sysmocom/backup.d,
which is itself included in the backup. Also create a symlink to the
most recent backup.
2015-06-26 10:01:15 +02:00
Holger Hans Peter Freyther 17a8ba8c03 sysmocom-odu: Barebox doesn't build anymore. Disable it for now 2015-06-24 13:20:39 +02:00
Henning Heinold 576577f9c9 busybox/init-ifupdown: do not use ifplugd on master
- remove file with wrong path to ifplugd
  recipes-core/busybox/files/busybox-ifplugd.sh
  DAEMON=/usr/bin/ifplugd vs. /usr/sbin/ifplugd

- use lambda expression for sysmobts/sysmobsc-kernel to
  include busybox-ifplugd or not

- use different defconfig files between master
  and dora to enable ifplugd or not

- use different interfaces files between master
  and dora to enable auto stanza or not
  for the dhcp interface

Fixes:  SYS#868 and SYS#1535

[hfreyther: Try to pick an option less likely to break the
Dora support but allowing us to move forward. Not entirely
compile tested due IO load of the system]
2015-06-23 20:48:25 +02:00