Commit Graph

268 Commits

Author SHA1 Message Date
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 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
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 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 ab0b6f4248 linux-sysmocom: Rebase to linux 3.10.50
The kernel has been boot tested to mounting the rootfs and nothing
more has been done.
2014-07-30 15:18:33 +02:00
Holger Hans Peter Freyther 018ef1a599 early-date: Introduce a simple hacked up script to set an initial time
If the year is smaller than < 2014 an initial date will be set. This
has been manually verified by copying ntpdate to ntpdate.off and making
sure that the VPN is coming up. Due the short SSL lifetime of CACert
we will need to update the script once in a while. But our VPN should
now always come up.
2014-07-18 10:59:52 +02:00
Holger Hans Peter Freyther e7fadd8e8e linux-sysmocom: Enable the tun device in the odu config 2014-07-18 09:58:42 +02:00
Holger Hans Peter Freyther 909407e025 usb2514: Bump the PR after the recipe change 2014-07-18 09:58:42 +02:00
Harald Welte 25b22a632e ODU: reset the USB hub before talking to it over I2C 2014-07-17 21:08:13 +02:00
Holger Hans Peter Freyther c5c1d3a313 init-ifupdown: Bring up eth1 as well as it is done in the existing image
In the existing image we bring up eth1 do it here too
2014-07-14 14:50:43 +02:00
Holger Hans Peter Freyther 5b521afd5d init-ifupdown: Make the script runnable in rc2.d as well
systemd doesn't look in /etc/rcS.d for init scripts so we never
start networking unless we are using ifplugd. We need to check
how this behves on the sysmobts and sysmobsc in case the network
is being started twice.
2014-07-14 14:48:58 +02:00
Holger Hans Peter Freyther 907987c41a init-ifupdown_sysmocom: Bump the right file for changes to interfaces 2014-07-14 14:28:35 +02:00
Holger Hans Peter Freyther 71a8ad1c4e netbase: Provide a custom interfaces for the odu 2014-07-14 14:14:19 +02:00
Henning Heinold 1a819714c8 linux-sysmocom: odu kernel needs CONFIG_USB_ACM
Related: SYS#294
2014-07-02 22:53:58 +02:00
Henning Heinold 5084446d22 usb2514: add small tool for setting usbrouting
Related: SYS#294
2014-07-02 22:53:58 +02:00
Holger Hans Peter Freyther eadc4c5278 linux-sysmocom: Build 3.2.0 with patches for the ODU
The 3.2.XX kernel doesn't really work. Please see SYS#409
for details and resolution
2014-06-21 10:08:11 +02:00
Holger Hans Peter Freyther ccf7536405 linux-sysmocom: Build newer kernel for the ODU kernel
Partially Fixes: SYS#294
2014-06-09 19:46:50 +02:00
Henning edee5f726a sysmobts-2050: remove extra defconfig file
* the config file from symobts-v2 is enough

Fixes: SYS#235
2014-06-09 15:18:07 +02:00
Henning Heinold 205b60bb36 sysmocom-bsc: build nls support into the kernel
* to be able to mount vfat formatted
  usbsticks we need the nls subsystem

* providing nls as modules is a bad idea because
  you need to add them at image creation

* better include them into the kernel,
  like the kernel for bts and bts-2050 does
2014-06-03 20:06:05 +02:00
Holger Hans Peter Freyther f3117eaa22 linux-sysmocom: Enable mtdparts handling for the sysmobts-v2
We will change the MTD partitioning for our devices soon. The
kernel needs to honor the cmdline given by the kernel for that.
The rootfs will move a few pages to the back with newer bootloaders.
2014-05-19 19:13:47 +02:00
Holger Hans Peter Freyther bb18e3152b linux-sysmocom: Rebae and target latest stable version 2014-05-16 14:19:25 +02:00
Holger Hans Peter Freyther 3213964e17 linux-sysmocom: Enable SMP support for sysmocom-bsc
The new sysmocomNITB product is using a SMP capable system that
is needed for some more transcoding power. Enable SMP in the
kernel.
2014-05-16 14:18:55 +02:00
Holger Hans Peter Freyther 6f02ca5575 sysmocom-bsc: Run olddefconfig on a 3.10.40 kernel 2014-05-16 14:16:22 +02:00
Henning Heinold e06fa2ac4d linux-sysmocom/sysmocom-bsc: enable EHCI_HCD to get USB 2.0 support 2014-04-01 19:19:48 +02:00
Holger Hans Peter Freyther 6b4cc713b6 linux-sysmocom: Enable CGROUPS for the sysmocom-odu 2014-03-29 11:27:53 +01:00
Holger Hans Peter Freyther f23a2cbd9a sysmocom-odu: Fix the u-boot and linux recipe
While the kernel resides in a dedicated kernel partition we will
still install the uImage. For u-boot we just want it to be installed.
2014-03-29 10:50:04 +01:00
Holger Hans Peter Freyther b008109769 linux-sysmocom: We require bc-native for kernel compilation now 2014-03-28 21:36:34 +01:00
Holger Hans Peter Freyther 5b1ebe6a26 linux-sysmocom: Local hacks to have NAT/MASQ on 3.2 and 3.10 kernels
The name/structure of the NAT configuration was changed. Catch up
and put the new names into the old defconfig too. It is an ugly hack
to have it work with v3.2 and v3.10 kernels. The sysmobsc has been
fixed independently.
2014-03-21 19:13:23 +01:00
Henning Heinold 6f469116e1 sysmocom-bsc-ip-image-directdisk: switch from ext3 to ext4 filesystem 2014-03-11 18:17:51 +01:00
Henning Heinold b2a5a3a316 sysmocom-bsc: switch to kernelprovider to linux-sysmocom for dora
* use seperate defconfig, because of option changed from 2.6.39 to 3.10
* use python magic to switch between linux and linux-sysmocom
* add sysmocom-bsc to compatible machines for linux-sysmocom
* add new confiugration parameters for syslinux
2014-03-11 18:17:36 +01:00
Holger Hans Peter Freyther a4ff48fc44 linux: Add support for the sob-odu device
This currently requires the meta-ti layer but we will make sure
that nothing from it will be required in the end. The kernel is
based on linux-3.2 as this is the "default" TI kernel that supports
the SGX (not that we care)
2014-02-26 15:36:09 +01:00
Holger Hans Peter Freyther 93953d3dd9 linux-sysmocom: Upgrade to version 3.10.28 of the kernel
This is the latest stable kernel. I had hoped some crashes to
go away with it but it turns out to be a compiler issue that
we backported a patch for separately.
2014-02-01 13:56:22 +01:00
Henning Heinold b0703d4440 linux-sysmocom: update dora to kernel version 3.10.24/commit 1df50cd88f6923db5705d28bbfa63a28d8d6bd66
* seems to fix the update-alternatives error when we saw, when updating busybox
* Fixes:SYS#184
2013-12-20 13:48:51 +01:00
Henning Heinold f5badb8b9e linux-sysmocom: workaround for edison, which derives git${SRCPV} from local bb_persist_data 2013-12-03 18:00:51 +01:00
Henning Heinold ccd50b5dbe linux-sysmocom: split to v3.10 and v3.2
* The Linux 3.2.X kernel has some funny issues with GCC 4.8 in the
fs/namei.c look up code. It is easier to move to 3.10 than to fully
debug the issue.

* disable the mISDN loop patch for v3.10

* use the hack to make v3.2 compilable for edison and v3.10 for dora
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther 71b2d700c7 linux-sysmocom: Catch up with a newer version of Linux
This is 3.2.48 and we apply two additional patches for GCC 4.7.2+
and the usage of memset in the kernel.
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther f688f03b7a linux-sysmocom: Allow to use systemd on the sysmobts v1, v2 and sysmoBSC 2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther b18f2815b9 init-ifupdown: netbase was split up in master into two recipes
Re-use the files from the netbase/ directory as we still have
the edision version of netbase that includes interfaces.
2013-11-27 12:25:01 +01:00
Harald Welte 2f6561a646 linux: enable advanced routing
this might help us in some installations where there are multiple
back-hauls and we want to base routing decisions not only based
on the destination IP.
2013-10-14 20:12:14 +02:00
Harald Welte 7fa273ffc2 Initial support for a MACHINE="sysmobts-2050" build
The build differs in that it doesn't use a getty on ttyS0.  In the fuutre,
a modified kernel serial driver as well as a 2050-specific utility
for managing the supervisor processor will follow.
2013-10-04 21:39:52 +02:00
Holger Hans Peter Freyther 673d53bbf5 linux-sysmocom: Force a rebuild of the kernel with the new config file
The previous change modified the defconfig to not include the legacy
pseudo terminal support. Increase the version for the sysmoBTS to have
a kernel without old terminal files.
2013-06-19 20:45:16 +02:00
Holger Hans Peter Freyther 01e96dd240 linux-sysmocom: Disable the legacy PTY handling in the kernel
There is no need to have the various pty files clobber the /dev
directory when they are never used. Do not force a PR upgrade
right now as we don't have a good upgreade strategy for the v1
and the BSC config.
2013-06-19 18:18:30 +02:00
Holger Hans Peter Freyther 96c91eb8d6 watchdog: Bump the pr, depend on the $localfs to fix the systemd init
systemd is using the depedencies of the LSB section and according to
the debian documentation all applications accessing /var should depend
on the localfs. This makes the watchdog start properly on systemd systems.
2013-04-11 18:44:20 +02:00
Holger Hans Peter Freyther 8e4991163e linux-sysmocom: Enable ext3/ext4 support for sysmobts-v1 as well
Some of our target applications require ext3/ext4 support for mounting
an MMC card. While the sysmobts-v1 hardware does not have an external
MMC card slot it is nice to have the same image available for this
hardware.
2013-03-23 09:04:12 +01:00
Holger Hans Peter Freyther cd0d240314 meta-toolchain-sysmobts: Introduce a toolchain target for the BTS
Install the sysmobts firmware headers on top of the Osmocom toolchain.
This way the SDK can be used to re-compile both the OpenBSC and the
osmo-bts software.

Make sure the -dev package of the femtobts-api has not runtime
dependencies to a library that does not exist.
2013-03-19 19:54:02 +01:00
Holger Hans Peter Freyther 7cb8c8d1b5 linux-sysmocom: Always compile MMC support into the kernel
Make mounting using mountall work during the first boot by putting
MMC, MMC-block and the TI Davinci into the kernel.
2013-03-17 17:31:30 +01:00
Holger Hans Peter Freyther 41a683d627 linux-sysmocom: Upgrade to 3.2.40 and add two more UARTS
The kernel has been rebased to target 3.2.40 with various bug
fixes in the upstream work. The sysmobts v2 config has been
changed to allocate space for two more UARTs. These are required
for the multi-trx configuration and they make a warning go away.
2013-03-16 20:25:45 +01:00
Holger Hans Peter Freyther b726969f84 linux-sysmocom: Disable the debug message of the DSPDL loading code 2013-01-17 09:23:16 +01:00
Holger Hans Peter Freyther fd02a175f6 linux-sysmocom: Upgrade the BTS kernel to 3.2.36 2013-01-15 14:10:39 +01:00
Holger Hans Peter Freyther 9e2fce0fba linux: Fix the symlinking of the uImage symlink in /boot/
This has been fixed in upstream of OE-Core and in newer versions
of Yocto. For Edison provide our own version of the pkg_postinst
and pkg_postrm routines. It is not clear yet if this conflicts with
newer versions of poky but all that could happen is that the symlink
is changed twice and removed twice but the command ends with a || true
so this should not cause any kind of fault.
2012-12-18 18:08:50 +01:00
Holger Hans Peter Freyther d6fd5c09d0 linux-sysmocom: Upgrade to 3.2.35 for RevD and general fixes 2012-12-18 15:02:35 +01:00
Jan Luebbe 5e17d8e537 Attempt to target multiple versions of Poky at the same time
The idea is that the basic extension resides inside the the normal
recipe directories. Depending on the version of poky the bbappends
need to be included. Appends applying to all versions will be put
into the shared folder, specific ones into the specific directory.
Once a bbappend can not be shared anymore it needs to be copied.
2012-09-15 17:44:57 +02:00
Holger Hans Peter Freyther b8b0dff3d4 watchdog: Target both edison and HEAD in this overlay
One needs to use BBMASK or delete depending on the targeted
OE-Core/Poky version.
2012-09-04 14:13:26 +02:00
Holger Hans Peter Freyther 4f78b6ef78 netbase: Target both edison and HEAD in this overlay
One needs to use BBMASK or delete depending on the targeted
OE-Core/Poky version.
2012-09-04 14:12:38 +02:00
Holger Hans Peter Freyther c35fa18841 linux-sysmocom.inc: Add quotes around the value for newer versions of bitbake
BitBake is finally more picky about variable assignments. Add the
necessary quotes.
2012-08-20 21:25:04 +02:00
Holger Hans Peter Freyther 4e2ab7017f misc: Move from SSH to Git protocol for the sysmocom source 2012-08-15 08:18:53 +02:00
Holger Hans Peter Freyther 0f6a89c788 linux-sysmocom: Build the kernel with MMC support, package the modules
Autoload mmc_block and the davinci_mmc module. This will load the mmc_core
module as another dependency.
2012-07-09 10:08:42 +02:00
Holger Hans Peter Freyther 914296ad20 sysmobts-v1: Change the defconfig to hide a kallsysms issue 2012-06-10 20:23:33 +02:00
Holger Hans Peter Freyther 420ea289a2 linux-sysmocom: Upgrade to 3.2.19, this requires a manual symlink
Kernel upgrades on a live system is not well tested, right now the
symlink is not updated but for some reason the old uImage is kept
installed.
2012-06-10 17:16:55 +02:00
Holger Hans Peter Freyther 45580f23e8 Merge remote-tracking branch 'origin/master' 2012-06-09 23:21:53 +02:00
Holger Hans Peter Freyther be8f70e8a1 linux: Change the sysmocom-bsc kernel config in regard to USB and FS
* Enable verbose detection, add CP2012 based serial adapter support
* Only enable USB1.1 HCD for now to fix the detection of the USB serial
  adapters
* Enable more filesystems in the config to allow upgrading the boot
  partition during the runtime (after installing the right codepage)
2012-06-09 23:17:07 +02:00
Harald Welte a3c1f02557 import ntp recipe from OE (we need ntpdate) 2012-06-01 16:44:35 +02:00
Holger Hans Peter Freyther 910852c052 linux-sysmocom: Be more specific about the license of linux 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther 7aaa4cc880 watchdog: Start the watchdog script in rcS.d as early as possible
This needs to be started after udev, after loading modules.
2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther 6d69dba610 watchdog: Install a init script and add config file to conffiles 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther aed232262e watchdog: Add machine specific watchdog file 2012-05-31 14:46:57 +08:00
Holger Hans Peter Freyther dd6f9356b1 meta-sysmocom-bsp: Create bsp for the sysmocom hardware
This layer will power our hardware. This includes the sysmoBSC, sysmoBTS v1
and the sysmoBTS v2.
2012-05-31 14:46:42 +08:00