Commit Graph

417 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 0fe0571683 misc-images: Remove images we are rarely/not using
The concept of directdisk image is overhauled as we are now
having a initramfs that can flash the next image through USB.
The dedicated E1/IP images are rarely to never used and did
probably bit-rot. For the next time we provide such a system
we can simply (write a script to) install the additional feed.
2014-10-24 20:16:44 +02:00
Harald Welte 0f9508c924 linux for ODU: Enable second I2C bus on UEXT connector
.. which is needed for the light sensor daughterboard.
2014-10-24 15:05:06 +02:00
Harald Welte 286c8a1166 busybox: Make sure we keep re-trying to obtain a lease
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS was set to '-n' which means
"Exit with failure if lease cannot be immediately negotiated."

What we'd rather want is for udhcpc to continue to run until a lease can
finally obtain.  Otherwise we have a race condition in case the DHCP
server is not reachable for a few seconds during system boot, and end up
having a system that is permanently without an IP address.

This fixes ORT#639
2014-10-17 19:58:53 +02:00
Holger Hans Peter Freyther 39a927390d linux-sysmocom: Enable netfilter and advanced routing for the odu
Allow to use netfilter on the ODU.
2014-10-14 11:44:47 +02:00
Holger Hans Peter Freyther be040d7322 linux-sysmocom: Fix the building of the kernel (or hope I do) 2014-10-07 21:30:22 +02:00
Holger Hans Peter Freyther 35ec4c11d9 task-sysmocom-feed: Provide a real "ip" as well 2014-10-07 21:21:10 +02:00
Holger Hans Peter Freyther c9da6c1e1a linux-sysmocom: Fix pinmux on the ODU kernel 2014-10-07 21:18:38 +02:00
Holger Hans Peter Freyther c9952b5155 task-sysmocom-feed: Provide cronie as a cron implementation 2014-10-07 16:59:48 +02:00
Holger Hans Peter Freyther f0be486171 systemd: Make sure we install our custom copy of system.conf
We had a system.conf for the ODU but it was never installed. Fix
it by adding the file to SRC_URI.

Fixes: ORT#612
2014-09-26 11:28:48 +02:00
Holger Hans Peter Freyther c44d0265ee osmo-bts/osmo-pcu: Use autotools and pkgconfig to fix the build
Without inheriting pkgconfig the PKG_CHECK_MODULES macro can not
be expanded in dizzy. Fix it. While being there use "autotools"
for the pcu and not autotools_stage.
2014-09-26 11:24:49 +02:00
Holger Hans Peter Freyther 40c70870b7 osmo-bts/osmo-pcu: Specify the right branch for dizzy
With a wrong branch name the commit can not be found. Fix it.
2014-09-26 11:24:16 +02:00
Holger Hans Peter Freyther f028093d92 sysmobts-2050: These files were never used with edison, remove 2050
We have changed the strategy to support multiple BTS with a single
build but don't remove support from files that are used with Edison.
Linux 3.10 and systemd were not used with edison though. So we can
remove it. As the sysmobts-2050 extended the sysmobts-v2 build most
of the -sysmobts-2050 changes are not needed anyway.
2014-09-25 20:59:19 +02:00
Holger Hans Peter Freyther 8e6355d9df packagegroup-core-boot: Continue to provide the old name
We are not ready for the task -> packagegroup rename and provide
the old.
2014-09-25 18:02:31 +02:00
Holger Hans Peter Freyther 79f4f896ae Merge remote-tracking branch 'origin/hheinold/image_improvements' 2014-09-25 17:47:26 +02:00
Henning Heinold d6aabdf6b9 recipes-images: add fragement to install sshkeys
Fixes: partly SYS#518
2014-09-25 17:43:58 +02:00
Henning Heinold 7aba3280c5 recipes: add functions for generating a rootpasswd
The rootpassword can be set via the
enviroment variable ROOT_PASS either in
the local.conf or on the cmdline
before bitbake.

Fixes: partly SYS#518
2014-09-25 17:43:57 +02:00
Holger Hans Peter Freyther 0172c5958a linux-sysmocom: Use the KERNEL_MODULE_PROBECONF on dizzy
This variable doesn't exist on dora and will not break things.

Fixes:
ERROR: Please ensure module rtfifo is listed in KERNEL_MODULE_PROBECONF since module_conf_rtfifo is set
2014-09-25 16:34:42 +02:00
Holger Hans Peter Freyther a04f801241 linux: Select the 3.10 kernel for dizzy as well
We need to provide the right name of the branch as otherwise we
are not able to find the object in the clone.
2014-09-25 16:16:51 +02:00
Holger Hans Peter Freyther 906bdccd4f watchdog: Fix the FILESEXTRAPATHS_prepend
We need to end our string with a ':' to not interfere with other
recipes adding things.
2014-09-25 16:15:53 +02:00
Holger Hans Peter Freyther 20b1decdd2 dizzy: Begin with the Poky/Yocto 1.7 release
We are currently using 1.5 (dora). Copy the bbappends to the
yocto-dizzy directory and update the version numbers. For busybox
enable all features that were enabled between dora and origin/master.

For opkg_svn.bbapend. In dizzy there is a version attached to it.
This means we need to remove it from the yocto-shared directory
and keep it everywhere else.
2014-09-24 18:26:10 +02:00
Holger Hans Peter Freyther 12a661314b update-rc.d: Use _prepend to add to the extras
WARNING: FILESEXTRAPATHS-variable, must always use _prepend (or _append)
type of assignment, and don't forget the colon.
Please assign it with the format of:
  FILESEXTRAPATHS_append := ":${THISDIR}/Your_Files_Path" or
  FILESEXTRAPATHS_prepend := "${THISDIR}/Your_Files_Path:"
in your bbappend file
2014-09-24 18:24:09 +02:00
Holger Hans Peter Freyther 2045245f3a sysmocom-backup: Allow to back-up more files than the initial config
Creating a new file in /etc/sysmocom/backup.d/ that ends with .backup
will be read during the backup and then be restored. This way we can
easily extend the files to backup.
2014-09-24 15:52:02 +02:00
Holger Hans Peter Freyther ddc43d20a7 tasks-sysmocom-feed: Provide lcr in our package feed as well 2014-09-24 15:22:43 +02:00
Holger Hans Peter Freyther 4cf7207051 gpsd: Bump the PR after the latest config change for sysmobts-v2 2014-09-24 15:07:15 +02:00
Holger Hans Peter Freyther 8d296754e7 linux-sysmocom: Upgrade ODU kernel to 3.2.63
This has only been boot tested on the Phytec development board
and not our final system. It has not been tested with USB support
2014-09-24 12:27:44 +02:00
Holger Hans Peter Freyther 528f1fcce3 wifi2udp: Correct the VPN address 2014-09-08 20:26:15 +02:00
Holger Hans Peter Freyther 731393b051 wifi2udp: Increase the pr after changing the patch 2014-09-08 20:07:50 +02:00
Holger Hans Peter Freyther f1296005b2 wifi2udp: Bring the device up before starting the application 2014-09-08 20:05:53 +02:00
Holger Hans Peter Freyther 68e95f14b9 wifi2udp: Update the format of the output 2014-09-08 18:57:08 +02:00
Holger Hans Peter Freyther b84b8a9947 sysmocom-odu: Pull these in through a task as it depends on model 2014-09-08 18:51:03 +02:00
Holger Hans Peter Freyther bc0c670ee3 wireless-tools: Don't break the edison build and only do it on dora 2014-09-08 18:50:57 +02:00
Daniel Willmann 1d29e4db37 wifi2udp: Initial version and as part of a patch to wireless-tools
This is using UDP similiar to gps2udp. Holger has pushed for a
simple solution like this to be replaced by a proper application
that will use AMQP.

Fixes: ORT#586
2014-09-08 18:37:17 +02:00
Daniel Willmann 930665f4b1 meta-sysmocom-bsp: Update sysmocom-odu to build wireless-tools and wifi drivers 2014-09-08 18:33:01 +02:00
Holger Hans Peter Freyther 2a01e305ca Merge branch 'hheinold/initramfs_features' 2014-09-02 20:25:18 +02:00
Henning Heinold 7a09426da5 initramfs: restore configuration if available
The error case of the backup not properly restoring has not
been tested.

Fixes: SYS#525
2014-09-02 20:24:16 +02:00
Henning Heinold a3a743ecb2 initramfs: set baudrate for grub from cmdline
* take the baudrate for the grub serial console setting
  from the kernel-cmdline which the system was booted from

* better parsing of the options which the install-script
  gets from init

* Video Mode, VGA mode are not used right now and make it
  empty right now.
2014-09-02 20:23:05 +02:00
Holger Hans Peter Freyther 28628cba81 sbts2050-util: Allow to install it on sysmoBTSv2 as well 2014-09-02 18:30:20 +02:00
Holger Hans Peter Freyther 2e1f051a69 Merge branch 'hheinold/initramfs_fixes' 2014-08-28 23:13:38 +02:00
Henning Heinold 7b51764cfa initramfs: grub.cfg with rootfs set to readonly
Fixes: SYS#528
2014-08-28 23:13:34 +02:00
Henning Heinold 0cef8c4fc3 initramfs: install and run e2fsck -f before resize2fs
Fixes: SYS#522
2014-08-28 23:13:34 +02:00
Henning Heinold 1b5a3eb3af initramfs: mount external partitions readonly
Fixes: SYS#521
2014-08-28 23:13:34 +02:00
Henning Heinold 497be38b34 sysmocom-backup: use transform option on restore
* when restoring links e.g. for systemd files
  the links will be created with content// prefix

* use transform instead of strip to remove
  the "content/" prefix

* bump PR
2014-08-28 23:01:32 +02:00
Holger Hans Peter Freyther b39db0cdf7 sysmobts-config: Execute sync to be sure ubifs was in sync 2014-08-28 17:57:02 +02:00
Holger Hans Peter Freyther 4d631d5d71 sysmobts-2050: Add a deprecation notice for the sysmobts-2050 2014-08-28 17:53:10 +02:00
Holger Hans Peter Freyther 313388cac2 task-sysmocom-bts: Include the sysmobts-config application
This way we should be able to use a single image on all devices

Fixes: SYS#559
2014-08-28 17:50:40 +02:00
Holger Hans Peter Freyther fbf5089510 sysmobts-config: Add script with postinst hook
Add post install script that will mangle the config to be the
right one for the given machine. This will be executed once
after the post installation. In case of the getty change the
system must re-start once to be fully usable. E.g. for the
sysmoBTS2050 the PA might not be powered up on first boot.
2014-08-28 17:50:02 +02:00
Holger Hans Peter Freyther ec3635eed8 watchdog: Remove sysmobts-2050 configuration file
The sysmobts-2050 machine does inherit from the generic bts so
we do not need an exact copy of the configuration file.

The watchdog is not used in dora or later images as this functionality
is integrated into the systemd.

Related: SYS#559
2014-08-28 16:56:16 +02:00
Holger Hans Peter Freyther 34fc7b631b tasks-sysmocom-bts: Install packages for the sysmoBTS as well
We want to have a single image that will do the right thing on
the various BTS models we have. This means we will install the
sbts2050 utilitiy (it clashes with sysmobts-mgr anyway) and the
gpsd with a default config for it.

The sysmobts-v2 config file was for a specific usecase and is
obsolete for all intents and purposes. Make it the default

Related: SYS#559
2014-08-28 16:53:24 +02:00
Holger Hans Peter Freyther eda2017371 task-sysmocom-feed: Require iperf as well. We use it for PCU testing 2014-08-25 18:29:42 +02:00
Holger Hans Peter Freyther 40927204e9 osmo-bts: Fix the VTY generation and output power handling
Fix the VTY generation and output power handling for 1100 und
1020 devices have been added.
2014-08-25 16:17:00 +02:00