Commit Graph

948 Commits

Author SHA1 Message Date
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
Henning Heinold 29faf705ed packagegroup-sysmobts-sob: add iproute2-misc package
Fixes: SYS#1609
2015-06-20 21:26:49 +02:00
Henning Heinold 1716d4ffae iproute2: enable lnstat and package all commands from misc into its own package
* disable arpd because db_185.h is not installed from the berkely db
  recipe

Fixes: SYS#1609
2015-06-20 21:26:36 +02:00
Jan Luebbe ffd5888c91 barebox: fix uImage booting
Also set the watchdog timeout to 60 seconds.
2015-06-15 17:21:27 +02:00
Jan Luebbe 6fdbf6bc94 sysmocom-image: build a squashfs image as well
The /boot directory is excluded from the squashfs image only, as in that
case it is stored separately. This allows booting normal sysmocom images
as rauc slots.
2015-06-15 17:18:44 +02:00
Jan Luebbe 1624c59731 barebox-sysmocom-odu-mlo: disable SPI support
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-14 12:39:23 +02:00
Jan Luebbe 2d2854e820 barebox: rebase to 2015.06 2015-06-14 12:39:23 +02:00
Jan Luebbe 66aa807866 barebox: pass CC to make
This should fix a build error with poky master.
2015-06-14 10:34:27 +02:00
Holger Hans Peter Freyther 34467d0c27 rauc: This should work on the BSC as well 2015-06-14 08:43:04 +02:00
Holger Hans Peter Freyther fd1467b902 rauc: Tell it how mksquashfs is called. 2015-06-13 21:07:05 +02:00
Holger Hans Peter Freyther 572347079f linux-sysmocom: Build with the AUFS build fix
The change of SRCREV was wrong we were supposed to build that
version but the push didn't work. It is now rebased.
2015-06-13 20:15:32 +02:00
Holger Hans Peter Freyther 8aba112988 linux-sysmocom_3.2: This is only used for the ODU remove the rest
Remove all traces of the sysmobts from this recipe as we have
not used linux-3.10 there for a very long time.
2015-06-13 19:12:15 +02:00
Holger Hans Peter Freyther e01922e39b linux-sysmocom: Correct the srcrev for 3.2.69 2015-06-13 19:10:00 +02:00
Holger Hans Peter Freyther 6a91c316f0 sysmocom-odu: Make sure we have usb2514 in all images 2015-06-13 18:49:07 +02:00
Jan Luebbe b5586ef6c9 image-rauc-slot-rescue: UBI parameters should be set by the machine
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:48:30 +02:00
Holger Hans Peter Freyther 6b93b56e9b barebox-state: Let OE figure out the architecture automatically
If we apply machine specific patches the result package will be
machine specific.
2015-06-13 18:40:22 +02:00
Jan Luebbe 54a37fcd6e barebox-state: add support for sysmocom-odu
The state data is in a different location than on the sysmobts-v2.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:38:47 +02:00
Jan Luebbe e1aa1be647 image-rauc-slot-rescue: support sysmobts
For the sysmobts we need custom ubi volume layout, so we need to
override IMAGE_CMD_ubi().

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:37:29 +02:00
Jan Luebbe 445244c528 barebox: use uImage instead of zImage
Also move to a combined branch for sysmobts and sysmocom-odu. Disable
bootloader spec support as well.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:27:44 +02:00
Jan Luebbe 99d4e91827 sysmocom-odu: use barebox-sysmocom-odu as the bootloader
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:27:22 +02:00
Jan Luebbe 988645dbe8 barebox: add support for sysmocom-odu
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:26:17 +02:00
Holger Hans Peter Freyther 67a666df1a sysmobts-v2: Build the standard barebox as well 2015-06-13 18:25:29 +02:00
Jan Luebbe d07ecd129b barebox-sysmobts: add recipe
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:24:06 +02:00
Jan Luebbe 3ddf763457 barebox-sysmocom: remove 201407 recipe
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:22:17 +02:00
Jan Luebbe dafdcb0404 initramfs-rauc-slot: pass the rootfstype kernel parameter to mount
This fixes mounting ubifs filesystems.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:05:18 +02:00
Holger Hans Peter Freyther 81ff4d7d75 sysmocom-bsc: Install a custom fstab file
Mount /boot rw so that grub can store/update the state for
rauc. A user can then rm -rf /boot/grub and the machine will
be dead.
2015-06-13 18:01:12 +02:00
Holger Hans Peter Freyther 681966c5e0 rauc: Depend on busybox-state or grub
Rauc is configuted to either invoke busybox-state or grub. Make
sure these are installed when rauc itself is installed.
2015-06-13 17:40:23 +02:00
Holger Hans Peter Freyther 263e63eab6 image-rauc-slot-resuce: Install rauc as well
Install rauc so a user can update/fix the normal slots
2015-06-13 17:33:56 +02:00
Holger Hans Peter Freyther b033024efe sysmocom-idu: Force the ext4/tar.gz
meta/conf/machine/include/ia32-base.inc:13 (ext3 cpio.gz live)
forces the above image formats that are not relevant to us at
all. Found and done by Jan.
2015-06-13 17:31:31 +02:00
Jan Luebbe 1dbb411e3d images: add rauc slot and rescue initramfs images
Add initramfs images for rauc slots.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:23:28 +02:00
Jan Luebbe 51c1b427ec initramfs-framework: override init file to reboot on error
The initramfs-framework from oe-core performs an endless loop of "sleep
3600" when fatal() is called. We need to reboot instead.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:21:24 +02:00
Jan Luebbe 4993c83bcb initramfs-rauc-slot: add recipe to boot a slot using aufs2
This uses the "initramfs-framework" from oe-core.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:19:20 +02:00
Jan Luebbe 2ec9d6401d barebox-state: support sysmobts
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 17:13:14 +02:00