Commit Graph

973 Commits

Author SHA1 Message Date
Pau Espin 7990e01fcd Replace systemd_unitdir/system with systemd_system_unitdir 2017-08-04 10:43:19 +02:00
Max c8c2531e08 Package built kernel modules
This ensures that module built from
/recipes-bsp/linux/linux-litecell15_4.4.32.bb are included into
sysmobts2100 rootfs.
2017-08-04 10:43:19 +02:00
Harald Welte eb4fcc8183 Import zeromq and its dependency libsodium from meta-oe.git
http://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-support/libsodium/libsodium_1.0.11.bb
http://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-connectivity/zeromq/zeromq_4.1.6.bb
2017-08-04 10:43:19 +02:00
Max ca35320a2d gpsd: fix build by adding missing *systemd stuff 2017-08-04 10:43:19 +02:00
Max 03d679aaab Attempt to fix gpsd build
Backport changes from
upstream (https://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/):

* add systemd support
* remove obsolete idu-specific install
* remove copy-pasted commented strings to simplifa comparison
2017-08-04 10:43:19 +02:00
Max 15cb1d0902 Use gpsd.service for sysmobts2100
This should superceed the broken initscript and fix gpsd startup.
2017-08-04 10:43:19 +02:00
Max b1b0a45698 Add kernel modules to match lc15
Modules in lib/ net/ and mtd/ are ignored as they do not seem to be
relevant. Previous patch did not include it due to interdependency
problems between kernel modules which are not resolved
automatically. This is fixed now.
2017-08-04 10:43:19 +02:00
Max 566de3c67d sysmobts2100: add missing kernel modules 2017-08-04 10:43:19 +02:00
Harald Welte 8dfafd7aca n2n: Add systemd integration (service file + start script)
This allows for configuration of tunnels by putting config files into
/etc/n2n/ similar to what we're used to from /etc/openvpn/
2017-08-04 10:43:19 +02:00
Harald Welte 203b5da2b5 n2n: RRECOMMEND the tun kernel module
this way the tun module should be automatically installed with n2n
together.
2017-08-04 10:43:19 +02:00
Max 75dc0a693a Automount /mnt/rom/user partition 2017-08-04 10:43:19 +02:00
Max c50e63d550 Adjust systemd dependencies
* use systemd class to auto-enable installed services
* make sure lc15-sysdev-remap is started before lc15bts-mgr
* keep BTS-specific name to enable adjustment via service file template
  in future versions
2017-08-04 10:43:19 +02:00
Max 62f1eaed42 sysmobts2100: automount extra partitions 2017-08-04 10:43:19 +02:00
Max e1bcfeb0f5 Add lc15-sysdev-remap to sysmobts2100 rootfs 2017-08-04 10:43:19 +02:00
Max 7b529371dd BTS-specific install of sysmobts-mgr.service
Move sysmobts-mgr.service installation into per-BTS functions: use
BTS-specific config file via appropriate service name.

Related: SYS#3686
2017-08-04 10:43:19 +02:00
Max cc4ab049af Use service name matching binary name
Rename:
sysmobts -> osmo-bts-sysmo (available in master since 114293a414bd5b7c86622ec8c293c4034c80d243)
sysmopcu -> osmo-pcu (available in master since 241f5bcb00f9c6fee4200a3aea9aa497bf0d3eee)

Old names are still available via alias.
2017-08-04 10:43:19 +02:00
Max a121475a64 Import lc15-sysdev-remap from meta-nrw-bsp
Note: the script is imported as-is, but .bb file is modified because we
use .service file from previous patch instead of init file. I'm not
familiar enough with bitbake to be sure that the changes are correct so
I'd appreciate thorough review.
2017-08-04 10:43:19 +02:00
Harald Welte 8777422cfc Add recipe for n2n L2-in-L3 peer-to-peer VPN protocol
This is a basic recipe, not including any configuration or systemd
service files yet.
2017-08-04 10:43:19 +02:00
Harald Welte 40e3e9a646 Add omapconf recipe from aarago-project.org
specifically, recipe was fetched via
http://arago-project.org/git/?p=meta-arago.git;a=blob_plain;f=meta-arago-extras/recipes-devtools/omapconf/omapconf_git.bb;hb=master
2017-08-04 10:43:19 +02:00
Harald Welte e77c036a3d Revert "osmo-bts: Config file in 'stable' version is still in different path"
This reverts commit 4f8f48035a, as it was
only needed for master, but not for nightly
2017-08-04 10:43:19 +02:00
Harald Welte 00607e2b6c upload_nightly.sh: Enable use for different machines 2017-08-04 10:43:19 +02:00
Harald Welte 160687ed71 don't use gcc6 linking patch on nightly builds 2017-08-04 10:43:19 +02:00
Holger Hans Peter Freyther 1af79c6d0e upload_nightly.sh: Add simple upload script for the nightly build
Instead of placing it on the Jenkins node and not being under SCM
let's put it here and keep it in this branch.
2017-08-04 10:43:19 +02:00
Harald Welte 5fdc64f098 Update SRCREV to current master for osmo-bts and osmo-pcu 2017-08-04 10:43:19 +02:00
Holger Hans Peter Freyther 9b654e0a7d Drop multi OpenEmbedded version support and target pyro or later
Move the shared files into yocto-fixes/ and the files from master. The
next step is maybe to remove the indirection again. We will see about
it in the future.
2017-08-04 14:15:05 +08:00
Harald Welte 87fd9e70db systemd_sysmocom.inc: Make sure machine-specific systemd.conf is used
We have machine-specific systemd.conf for sysmobts2100 and owhw, but we
didn't add them to SRC_URI so far, resulting in them not being used as
intended.
2017-06-16 11:15:18 +02:00
Harald Welte 3a1ab31b38 sysmobts2100: add RDEPENDS to required kernel modules
We need to makes sure that the dsp/fpga related kernel modules are
included in any image we generate. Use MACHINE_ESSENTIAL_EXTRA_RDEPENDS
just like in sysmobts.inc

Closes: SYS#3687
2017-06-16 10:22:43 +02:00
Daniel Willmann bae9234b56 base-files: Fix /etc/fstab file to not mount the root filesystem in /boot
Ticket: SYS#3688
2017-06-15 18:03:21 +02:00
Harald Welte a9cc2b9a79 lc15: use OsmoBTS service file
Use the file from osmo-bts master instead of local copy similar to the
way it's done for sysmobts.

Related: SYS#3686
2017-06-15 15:05:52 +02:00
Max d6ac211bce Install BTS-specific -mgr.cf
Use *-mgr.cfg file which matches the BTS model.

Related: SYS#3686
2017-06-15 15:04:49 +02:00
Harald Welte 97af6203cd sysmobst2100: Add required kernel modules for osmo-bts
Closes: SYS#3687
2017-06-15 15:04:49 +02:00
Harald Welte 90a8c7ebaa sysmobts2100: Have systemd take care of refreshing hardware watchdog 2017-06-14 16:10:57 +02:00
Harald Welte 4f8f48035a osmo-bts: Config file in 'stable' version is still in different path
The recent updates to the osmo-bts recipe broke the 'stable' version
as the config file is still in doc/examples/ and not doc/examples/sysmo
2017-06-14 10:42:43 +02:00
Harald Welte 7875f48c3c sysmobts2100: use anonymous accses for lc15 gitlab repositories 2017-06-13 16:07:47 +02:00
Harald Welte 18f43e645c osmo-bts: Remove legacy SysV init script support 2017-06-13 14:34:49 +02:00
Harald Welte da1fb1b014 task-sysmocom-bts: Support sysmoBTS2100 without osmo-bts-remote 2017-06-13 14:34:49 +02:00
Harald Welte ce14de5afa sysmobts2100: ensure osmo-bts/osmo-pcu are actually included in image
this is achieved by means of including task-sysmocom-bts
2017-06-13 14:34:49 +02:00
Harald Welte 4afd36eef1 sysmobts2100: harmonize defconfig with sysmobts-v2
Try to make the kernel config as similar as possible
2017-06-13 14:34:49 +02:00
Harald Welte aecbbe2c0a SDK: ensure lc15 headers are in sysmobts2100 SDK 2017-06-13 14:34:49 +02:00
Harald Welte e9114b15b7 osmo-pcu: Support both sysmobts-v2 and sysmobts2100 machines 2017-06-13 14:34:49 +02:00
Harald Welte d1387e9ac4 osmo-bts: support sysmobts-v2 and sysmobts2100 machine targets 2017-06-13 14:34:47 +02:00
Harald Welte 77cc4ac812 make sysmocom-archiver work for lc15 kernel
We cannot use 'source_tar_name' in cases it is not defined. Not sure if this is
the right fix, but it at least makes the build succeed.
2017-06-13 14:30:49 +02:00
Harald Welte a06af1c4f1 add machine config for litecell15 and sysmobts2100 2017-06-13 14:30:49 +02:00
Harald Welte 59aa24ab9a gpsd configuration for sysmobts2100 2017-06-13 14:30:49 +02:00
Harald Welte 11ca0fd885 Add Linux kernel for litecell15 (4.4.32 from Nutaq) 2017-06-13 14:30:49 +02:00
Harald Welte 3641a69585 add u-boot for litecell15 / sysmoBTS 2100 2017-06-13 14:30:49 +02:00
Harald Welte ff217ad58c Add lc15-firmware package for sysmoBTS 2100 support 2017-06-13 14:30:49 +02:00
Holger Hans Peter Freyther b5c1bfd9ba rtl8169-eeprom: Upgrade to see if compile error with poky master is fixed 2017-06-13 12:55:03 +08:00
Holger Hans Peter Freyther 3490e54f4a x86: Introduce sysmocom-alix for the older hardware in the field
Introduce an alias for sysmocom-bsc and add better description where
the difference is in terms of alix vs. apu2.
2017-06-13 10:16:51 +08:00
Holger Hans Peter Freyther 00aa1c7fea x86: Rename sysmocom-bsc-v2 to sysmocom-apu2.con to reflect hardware
Use a name that relfects the physical hardware and not a function that
is not implemented.

Related: SYS#3094
2017-06-13 09:56:00 +08:00