Commit Graph

1059 Commits

Author SHA1 Message Date
Omar Ramadan 9bfc2b3f8a systemd changes for OC-2G 2019-01-31 17:31:54 +01:00
Omar Ramadan 7951329ce3 Add OC-2G u-boot 2019-01-31 17:31:54 +01:00
Omar Ramadan 5e73c5543a Add OC-2G Linux 2019-01-31 17:31:54 +01:00
Omar Ramadan 4dd34c4f6d Add sysdev remap 2019-01-31 17:31:54 +01:00
Omar Ramadan 6eea372883 Add backup scripts needed by OC-2G device remap 2019-01-31 17:31:54 +01:00
Pau Espin 3b9fd8c796 osmo-bts: Package osmo-bts-virtual
This way we remove bitbake QA errors since osmo-bts-virtual.service was
not being shipped by any package.
2019-01-30 23:24:50 +01:00
Pau Espin 830229cdcf osmo-pcu: handle systemd and cfg files through autotools 2019-01-30 23:24:50 +01:00
Pau Espin 1fea555cc9 osmo-bts: handle systemd and cfg files through autotools 2019-01-30 23:24:50 +01:00
Pau Espin 96105ded43 Update osmo-pcu,osmo-bts to latest tag release 2019-01-30 23:24:45 +01:00
Pau Espin 1297b71953 task-sysmocom-feed: Add osmo-sysmon to feeds 2018-12-13 17:50:27 +01:00
Pau Espin 8e88c736b0 atftp: Update recipe to latest meta-oe to fix compilation issues 2018-08-10 12:41:49 +02:00
Pau Espin 04f60f5aa6 libksba: Remove old version, newer provided by poky pyro 2018-08-08 13:24:37 +02:00
Pau Espin 60f4b04f42 gnupg: Remove old 2.0.19 version
Nowadays we depend on poky pyro, which comes with newer v2.1.18.
2018-08-07 16:35:14 +02:00
Pau Espin 686fee5571 lc15: Fix parse error: expansion of REPOGITFN
I got th following error while building meta-sysmocom-bsp in my
ArchLinux setup, probably due to using a newer git version.

ExpansionError: Failure expanding variable REPOGITFN,
expression was ${@get_repo_gitfn(d, '.../system-images/git/meta-sysmocom-bsp/recipes-support/lc15-sysdev-remap/files', '')

REPOGITFN is expanded using function get_repo_gitfn in
gitver-repo.bbclass, which ends up calling:

git -C .../system-images/git/meta-sysmocom-bsp/recipes-support/lc15-sysdev-remap/files rev-list --count HEAD ''
fatal: empty string is not a valid pathspec. please use . instead if you meant to match all paths
2018-08-07 13:46:51 +02:00
Pau Espin b15b3f943c task-sysmocom-legacy: RDEPEND on sccplite osmo-bsc instead of 3GPP AoIP one 2018-05-28 12:06:17 +02:00
Pau Espin 1e96bb0495 osmo-bts: Update 0.8.0 to 0.8.1 (dyn ts fixes) 2018-05-16 11:51:16 +02:00
Pau Espin 2e18616585 osmo-{bts,pcu}: Update to latest release 2018-05-06 22:13:20 +02:00
Pau Espin 181ebdd952 linux-sysmocom: Enable SCTP as built-in for alix and apu2 2018-04-05 18:34:25 +02:00
Pau Espin 5420090972 sysmocom-backup: Update list of backup files 2018-04-05 15:51:01 +02:00
Pau Espin 9fde00db04 sysmocom-nitb-image: Drop osmo-nitb leftovers
osmo-nitb is not used anymore. Furthermore, all new services are enabled
by default now.
2018-04-05 15:39:27 +02:00
Pau Espin af59eeb881 Drop sysmocom-bsc-image.bb
It's not actually being built by any job, and its contents are anyway
wrong since it basically pulls in the same as the sysmocom-nitb-image.

Initially it made sense to have these 2 images because we either
connected the BTS to osmo-bsc or osmo-nitb. This is no longer the case
since we deprecated osmo-nitb, and now it always connects to osmo-bsc.

The initiall idea after osmo-nitb split was to have a sysmo-bsc-image
containing only osmo-bsc, and then a sysmocom-nitb-image superseeding
it by installing all other core network components such as hlr, msc, etc.

Since there's no real need for that now, and in any case we can just
duse the nitb one and disable the extra services, let's drop the bsc
one.
2018-04-05 15:31:32 +02:00
Pau Espin f2daa6fe97 Add dnsmasq to machines with role bsc, not only sysmocom-bsc-image
This way we have it too in sysmocom-nitb-image, but only when needed,
that is: when we build for a machine inheritinh from sysmocom-bsc, which
is a machine not containing any BTS HW and thus requires a BTS connected
to it, so it needs a DNS server to serve it.
2018-04-05 15:26:30 +02:00
Pau Espin b5343fa75a conf: machine: refactor sysmocom-{bsc,alix,apu2}.conf
According to MACHINEOVERRIDES, alix and apu2 are subclass machines of
sysmocom-bsc (abstract superclass). However, only alix requires
sysmocom-bsc.conf. Make both alix and apu2 requires sysmocom-bsc.conf,
and move alix specific stuff to sysmocom-alix.conf.

In the process, linux-firmware-rtl-nic is removed from RDEPENDS for
apu2, since it doesn't use RTL nic but e100e/igb ones.

As a result of these movements, osmo-bsc.conf is actually empty, but
it's left there for future additions which have to affect both machines:
ie. adding stuff which is expected for "bsc" role on machines containing
no BTS.
2018-04-05 15:24:39 +02:00
Pau Espin e4e0793cb5 sysmocom-bsc-image: Remove already defined IMAGE_LINGUAS
It is already set in imported sysmocom-image.inc.
2018-04-05 14:52:25 +02:00
Pau Espin a00799a110 linux-sysmocom: apu2: defconfig: enable IGB config to enable eth ifaces
Otherwise the ifaces are not detected.
2018-04-05 14:22:34 +02:00
Pau Espin 1b0ec652ab init-install: Fix grub menuentry gen after poky upgrade
After upgrading to poky pyro, generation of grub2 menuentry in grub2
became broken. Our init-install.sh script, origianlly coming from an old
poky version, was modified in poky
c2e63957d5abaa4bb10507da5ba16f01112d0bf5 to adapt to the fact that
/etc/grub.d/40_custom was not there anymore. We need to do the same,
otherwise the menyentry is not appended to the grub config and the
installed image won't boot correctly.
2018-04-05 13:11:37 +02:00
Pau Espin 63092f6c83 initramfs-live-install: Add missing dep resize2fs required by our own init-install.sh 2018-04-04 20:17:32 +02:00
Pau Espin ea49b321ac initramfs-live-install: adapt to new mountpoint in /run
Since new poky/base components, automount mounts devices in /run/media,
not /media anymore.
2018-04-04 20:09:15 +02:00
Pau Espin e626b7950b busybox: defconfig: Enable stat cmd, required by initiramfs
poky script ./meta/recipes-core/udev/udev-extraconf/mount.sh is called
by systemd-udev rules every time a storage device is found, and it is
responisble to automount them. The init script waits until the device is
automounted to finish the boot process.

The mount.sh script sues "stat", and right now our busybox doesn't have
it enabled. As a result, stat is not found, the script fails, the
device is not mounted, and the init script hangs forever.
2018-04-04 19:44:49 +02:00
Pau Espin cbea0a81ad busybox: defconfig: update using make oldconfig
New options are assigned default values.

Make oldconfig was called by using bitbake -c devshell, then copying
../defconfig .config && make oldconfig.
2018-04-04 19:32:47 +02:00
Pau Espin 9732cc567a recipes-core: busybox: Remove dangling files for old versions
bbappend files were removed in 9b654e0a7d,
when it was decided to drop support for poky versions older than pyro.
2018-04-04 18:42:29 +02:00
Pau Espin 96674981e4 recipes-apps: busybox: Remove dead recipe files
All those files were moved to recipes-core in 6431d35a85
2018-04-04 18:27:53 +02:00
Pau Espin 8869b1c103 linux-sysmocom: apu2: Enable XHCI USB support
Without it, the kernel doesn't detect USB devices plugged to the
external usb3 ports of the apu2.
2018-04-04 16:56:47 +02:00
Pau Espin 57b0c39ba3 linux-sysmocom: Split defconfig for alix and apu2
As defconfigs will diverge, let's keep them separate.
2018-04-04 16:48:50 +02:00
Pau Espin 5dd16300a1 linux-sysmocom: bsc: Update defconfig for newer kernel 2018-04-04 16:26:34 +02:00
Pau Espin 14eb93657a task-sysmocom-tools: Keep abisip-find after split from osmo-bsc package 2018-03-27 17:42:43 +02:00
Pau Espin 09ad4b6153 task-sysmocom: Remove no longer used osmo-bsc-mgcp
Since osmo-msc a2353c69cc3d2ccc7caee4571b3b8d2a98961150 and
osmo-bsc 3561bd48976dbee8dbd4659dad15be85a3e79ace osmo-bsc-mgcp support
is dropped in favour of osmo-mgw and one instance of osmo-mgw can be
shared between osmo-msc and osmo-bsc.
2018-03-27 17:42:30 +02:00
Pau Espin 6c3b089c8f osmo-bts: sysmo-bts-calib is now handled inside autotools
Since osmo-bts bef6eae05b959b2ce395b3f949675d2a93053f0d sysmobts-calib
is integrated into autotools build system.
2018-03-27 17:42:20 +02:00
Pau Espin 9a59237a7e osmo-bts,pcu: Update to latest master 2018-03-27 17:34:37 +02:00
Pau Espin d843a8b8fb osmo-bts: stop fetching no longer needed openbsc 2018-03-27 17:31:20 +02:00
Pau Espin 56fa1a1a4b osmo-bts: Remove orphaned unused patch
This patch is not longer used since the complete declaration of the
function was removed from the header file in osmo-bts
085569df55ceb3737b79f53b015b0c064698ddc6.
2018-03-23 13:26:17 +01:00
Pau Espin 21defd1df2 task-sysmocom-feed: Add osmo-sip-connector to feeds 2018-02-16 17:42:34 +01:00
Pau Espin bc8fdb3950 lc15-firmware: Update to latest stable to fix RTP clock issues
According the Nuran there is a fix available for this issue in
litecell15-fw.git d7f05ac0b0fc9aab497d952e30c0c87b223e6b16

Related: OS#2412
2018-02-13 12:32:18 +01:00
Pau Espin adff5f7cbc lc15-firmware: Fix whitespace 2018-02-13 12:29:35 +01:00
Pau Espin 24c8cd67a2 task-sysmocom: depend on osmo-bsc-mgcp after osmo-mgw package split
osmo-mgw recipe in meta-telephony has been updated to generate several
packages. Right now, osmo-bsc requires osmo-mgw service, but osmo-msc
still requires osmo-bsc-mgcp, so let's add both to the image.
2017-12-11 18:35:21 +01:00
Pau Espin 50c63c463d Update PV for osmo-bts 2017-12-11 18:35:09 +01:00
Harald Welte 6148c8905a sysmobts-v2/sysmocom-{apu2,bsc,idu}: Update to v4.9.59 kernel 2017-12-11 18:34:19 +01:00
Harald Welte 6c794af995 Set up osmocom recipes to current git master 2017-12-11 18:33:33 +01:00
Pau Espin 77c74e4de1 osmo-pcu: Use CONFFILES for osmo-pcu.cfg 2017-12-04 18:54:12 +01:00
Pau Espin 7b700ba0a0 Drop openggsn config leftovers 2017-12-01 15:57:22 +01:00