Commit Graph

96 Commits

Author SHA1 Message Date
Daniel Willmann af88d3a232 Enable iu feature for sysmocom-bsc based machines
sysmocom-alix and sysmocom-apu2 are both based on sysmocom-bsc
Since we use those for the 3G starterkits add iu distro feature which
will install osmo-hnbgw and build osmo-msc and osmo-sgsn with iu
support.
2019-08-16 14:55:38 +02:00
Daniel Willmann 6d5321eefb sysmocom-alix: Change serial console to 115200 baud
This is the baud rate we always use in our devices, don't change it now.

Related: rt#27399
2019-08-13 09:20:43 +02:00
Omar Ramadan 41c877a983 Add machine configuration for OC-2G 2019-02-01 10:31:15 +01: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
Harald Welte 6148c8905a sysmobts-v2/sysmocom-{apu2,bsc,idu}: Update to v4.9.59 kernel 2017-12-11 18:34:19 +01:00
Pau Espin 822f15f414 sysmobts2100.conf: Avoid dropping virtual/bootloader from EXTRA_IMAGEDEPENDS
Append to EXTRA_IMAGEDEPENDS instead of overriding it, as it is being
previously set by included litecell15.conf.
2017-08-04 10:43:20 +02:00
Pau Espin 27a2040428 Add recipe sysmobts2100-devtools 2017-08-04 10:43:19 +02:00
Max 9e9fd0a020 sbts2100: cleanup kernel config
* remove commented lines
* remove tcrypt module which fails to load on the device anyway
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
Max 566de3c67d sysmobts2100: add missing kernel modules 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 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
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 a06af1c4f1 add machine config for litecell15 and sysmobts2100 2017-06-13 14:30:49 +02: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
Holger Hans Peter Freyther abc017e891 sysmobts: Force thumb interworking (armv5_t_e) for pyro
Somehow the PACKAGE_ARCH selection in pyro only comes up with armv5e but
we want (at least for legacy) thumb interworking. Force it to the thumb
mode.
2017-04-30 00:15:49 +02:00
Holger Hans Peter Freyther 8610f32401 sysmocom-defaults: Workaround sysmocom-bsc-v2 rootfs issue
Disable the libsolv backend to workaround an install issue. This does
not occur or sysmobts or sysmocom-bsc but only on the v2 target or the
idu.
2017-04-27 12:45:34 +02:00
Holger Hans Peter Freyther 1bc3be8eb6 sysmocom-bsc2: Add a BSC v2 where we can tune for i686
The old Geode based systems are replaced by AMD APU systems. We might
build for sysmobsc v1 and v2 but would like to be able to tune for the
better CPU.
2017-04-26 23:06:06 +02:00
Holger Hans Peter Freyther 60aceccd0d bsc/idu: Drop edison (1.1) support and stick to 3.10er kernel
This is fixing the QA issue on newer perf for x86 on Dora as seen
by the CI system. Drop support for ancient unsupported OE version
and force 3.10/4.9 depending on where we are.
2017-04-25 18:01:53 +02:00
Holger Hans Peter Freyther 204fea2e7d linux-sysmocom: Add a Linux 4.9 recipe to be used for new poky
Linux 4.9 is a LTS released and will be maintained until at least
January 2019.
2017-04-24 11:46:47 +02:00
Harald Welte 5bf8ff5571 OWHW: add 'sysmocom-owhw-image' and ensure usb2514 + bossa is included 2016-06-23 00:40:16 +02:00
Holger Hans Peter Freyther e6edea0cdb layer: Allow to have entire recipes in the yocto-VER directory
In case of the upcoming glib-2.0 change we only want to use our
version on Dora. Look for *.bb in the yocto-dora/*/ as well.
2016-03-23 13:53:55 +01:00
Holger Hans Peter Freyther b271ce4d23 sysmocom-defaults: Add more systemd features needed to build
Disabling the new "binfmt" doesn't work and breaks the build. I have
sent an email to the mailinglist and this might be fixed but at the
same time binfmt is split into a new package anyway. At the same time
we should enable some items we have now switched off. Once we start
to use/stabilize this build we need to check what we need and what the
cost is.
2016-02-18 20:22:47 +01:00
Holger Hans Peter Freyther 45bc37acf6 idu/bsc: libx11-trim is dead for a long time use libx11-diet
Yocto master now fails because our preferred provider does not
exist anymore and no other provider is picked.
2015-12-19 16:21:49 +01:00
Harald Welte ba2e6da375 OWHW: add a machine config 2015-11-01 12:06:07 +01:00
Jan Luebbe a4edad8b84 linux: update for sysmobts
Move to newer stable kernel (3.10.84).

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-09-08 14:45:40 +02:00
Holger Hans Peter Freyther fa5e7b12e5 sysmocom-idu: Fix the core2 vs. core2-32 tune selection
The distro is included after the machine so we can not rely
on the DISTRO_VERSION here. Use the AVAILTUNES and see if the
core2-32 is listed and then pick it.
2015-08-11 13:44:03 +02:00
Holger Hans Peter Freyther e6712d10df sysmocom-idu: Pick the right tune level
Depending on the upstream version (dora or not) we need to
use either core2 or core2-32. Use a python block expression
to pick this depending on the distro version.
2015-08-11 08:14:34 +02:00
Holger Hans Peter Freyther 6159c85e74 sysmocom-defaults: Be a bit more aggressive for the size
E.g. when using musl and trying to build the smallest possible
rootfs. Existing builds should not start to use these flags as
they would be likely to force a big rebuild.
2015-08-10 15:50:13 +02:00
Holger Hans Peter Freyther a11c332fbb sysmocom-defaults: Add some defaults that make sense to be used
While copying one build to a new directory we inherit most of
the config but it is better to collect this in a single place
so external contributors build with the same options we use.
2015-08-10 15:48:04 +02:00
Holger Hans Peter Freyther ac63f16b9b sysmocom-odu/sysmocom-idu: Use the default tunes we actually use
On our build setup we are using these default tune levels, so
we should apply them everywhere.
2015-08-10 15:46:47 +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
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
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 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
Holger Hans Peter Freyther 67a666df1a sysmobts-v2: Build the standard barebox as well 2015-06-13 18:25:29 +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
Holger Hans Peter Freyther b93e94b60b linux-sysmocom: Move to 3.10.80 and prepare DT/AUFS
Apply the AUFS patch for 3.10.80 and enable basic DT support
in the board file needed by our image based update system.
2015-06-13 14:52:26 +02:00
Holger Hans Peter Freyther e8989345d2 sysmobts-v1: Remove the v1 support of our old hardware config
I think the last device we sold was in 2011 and I am not aware
if anyone has used it for the last couple of years. Remove it
to lower the complexity of the builds.
2015-06-13 14:52:26 +02:00
Henning Heinold 88f39279bc sysmocom-idu: remove ifplugd from MACHINE_ESSENTIAL_EXTRA_RDEPENDS
[hfreyther: I asked henning to move forward and not test this. We
do not have dhcp/dynamic config in /etc/network/interfaces and the
link will always be up on the idu due it being connected to a switch.
ifplugd is not doing anything useful in this context]

Fixes: SYS#1535
2015-05-19 21:20:50 +02:00
Harald Welte 1e38dac840 update sysmobts/sysmocom-bsc/sysmocom-idu from 3.10.50 to 3.10.76 2015-05-02 12:28:33 +02:00
Henning Heinold 1f87162b0b layerconf: changes to let the layer build on dora and master
* removes the components for dizzy, we will skip it
* simplify the mapping from DISTRO_NUMBER to DISTRO_NAME
* remove watchdog.bbappend for master
2015-03-31 20:10:12 +02:00
Henning Heinold c017956120 sysmocom-odu: add defconfig for sysmocom-odu and remove kernel modules from the machine config
Related: SYS#850
2015-02-13 15:21:08 +01:00
Harald Welte 195c848d50 idu: BIOS default is 115200bps, so use the console at that speed, too 2015-02-13 10:48:43 +01:00
Henning Heinold d3d30ca98a socat: update to 1.7.3.0
* the license in README has a new checksum, it now clarifies
  to GPLv2
* bump the layer priority otherwise we could not use the latest version,
  because the yocto layers have a higher priority

Related: SYS#732
2015-02-13 00:47:38 +01:00
Holger Hans Peter Freyther 8f8dae9938 edison: Remove edison support from meta-sysmocom-bsp
This means that currently only Yocto Dora and Yocto Master are
being targeted. The amount of maintenance to get it to work on
Edison again is too high and it is better to focus on a systemd
only world. Remove the symlinks for yocto-edison.

A quick look and some notes from henning pointed me to wget
which is in the default layers, the sysmobts-2050 which is now
handle dby sysmobts and some older notes that are unlikely
to be addressed.
2015-02-13 00:45:13 +01:00