Commit Graph

268 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 572347079f linux-sysmocom: Build with the AUFS build fix
The change of SRCREV was wrong we were supposed to build that
version but the push didn't work. It is now rebased.
2015-06-13 20:15:32 +02:00
Holger Hans Peter Freyther 8aba112988 linux-sysmocom_3.2: This is only used for the ODU remove the rest
Remove all traces of the sysmobts from this recipe as we have
not used linux-3.10 there for a very long time.
2015-06-13 19:12:15 +02:00
Holger Hans Peter Freyther e01922e39b linux-sysmocom: Correct the srcrev for 3.2.69 2015-06-13 19:10:00 +02:00
Jan Luebbe 445244c528 barebox: use uImage instead of zImage
Also move to a combined branch for sysmobts and sysmocom-odu. Disable
bootloader spec support as well.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:27:44 +02:00
Jan Luebbe 988645dbe8 barebox: add support for sysmocom-odu
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:26:17 +02:00
Jan Luebbe d07ecd129b barebox-sysmobts: add recipe
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:24:06 +02:00
Holger Hans Peter Freyther 81ff4d7d75 sysmocom-bsc: Install a custom fstab file
Mount /boot rw so that grub can store/update the state for
rauc. A user can then rm -rf /boot/grub and the machine will
be dead.
2015-06-13 18:01:12 +02:00
Holger Hans Peter Freyther 28ce8b07da linux: Enable squashfs and aufs
* Disable ext2/ext3 (as ext4 can be used to mount them).
* Enable AUFS/Squshfs support
* Misc improvements (e.g. ARM optimized AES code, disable
drivers/frameworks unlikely to be used)
2015-06-13 16:56:33 +02:00
Jan Luebbe 0b5ef67cd9 linux-sysmocom: update to 3.2.69
Enable squashfs, disable OneNAND and update config.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 16:50:54 +02:00
Holger Hans Peter Freyther 74d77d1fc6 linux-sysmocom: Store the extended .config file
Jan prefers to store the fully extended .config file so we will
do it. One advantage is to more easily see what has changed between
two kernel versions.

cp ../build.sysmobts/tmp/work/sysmobts_v2-poky-linux-gnueabi/linux-sysmocom/3.10.80+gitAUTOINC+3122273386-r43/git/.config ./recipes-bsp/linux/files/sysmobts-v2/defconfig
cp ../build.sysmobts/tmp/work/sysmocom_odu-poky-linux-gnueabi/linux-sysmocom/3.2.63+gitAUTOINC+3ed283bea6-r41/git/.config ./recipes-bsp/linux/files/sysmocom-odu/defconfig
cp ../build.sysmobts/tmp/work/sysmocom_bsc-poky-linux/linux-sysmocom/3.10.80+gitAUTOINC+3122273386-r43/git/.config ./recipes-bsp/linux/files/sysmocom-bsc/defconfig
2015-06-13 16:41:28 +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 d6bbef850f sysmobts-2050: Remove left overs from the BTS code 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 dc739f3c27 init-ifupdown: Revert - Take the force solution and make our script available
This reverts commit 9934406ade.

Fixes: SYS#1534
2015-06-09 16:59:41 +02:00
Harald Welte abe0c65892 idu /etc/network/interfaces: Major update
* add interface for connection to Inmarsat
* remove 'br0' and work directly with 'eth2' instead, to avoid bridges
  in vlans of bridges
* bridge the video LAN also into the backbone (for later break-out)
2015-05-12 22:29:49 +02:00
Holger Hans Peter Freyther 1a61dfc20a linux-sysmocom: Really base on 3.10.76 for our kernel
linux-sysmocom_git.bb is used for the BTS, BSC and IDU. Let's
really use 3.10.76 (from 3.10.50 just rebased and not tested
on the device yet). This should fix the Yocto-Master build
tonight.
2015-05-04 21:15:28 +02:00
Holger Hans Peter Freyther 4d76f00233 linux-sysmocom: Remove the branch from the SRC_URI
9610e792ffde7fb2599d19ca6d2a03230f2043c6 can not be found
in the linux-3.10.76 branch. Just avoid this branch game.

ERROR: Fetcher failure: Unable to find revision 9610e792ffde7fb2599d19ca6d2a03230f2043c6 in branch linux-3.10.76 even from upstream
ERROR: Function failed: Fetcher failure for URL: 'git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.76'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/builder/jenkins/workspace/Yocto-Master/label/OE/build/tmp/work/sysmobts_v2-poky-linux-gnueabi/linux-sysmocom/3.10.76+gitAUTOINC+9610e792ff-r43/temp/log.do_fetch.16350
NOTE: recipe linux-sysmocom-3.10.76+gitAUTOINC+9610e792ff-r43: task do_fetch: Failed
ERROR: Task 126 (/home/builder/jenkins/workspace/Yocto-Master/label/OE/meta-sysmocom-bsp/recipes-bsp/linux/linux-sysmocom_git.bb, do_fetch) failed with exit code '1
2015-05-03 23:15:40 +02:00
Harald Welte 62856a3a9b [idu/bsc] bump PR of linux-sysmocom_git.bb 2015-05-02 14:18:56 +02:00
Harald Welte 8b9a9895ec [bsc/idu]: keep netfilter/ipsec as modules
It seems like the kernel/package/upgrade/... proceess doesn't deal well
with the fact that some options used to be modules, which are now
built-in.  Let's keep it as modules for the time being.
2015-05-02 14:15:35 +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
Harald Welte f6410166f8 bsc/apu/idu: enable more netfilter / networking features
this enables conntrack events, ipset, ebtables, tc
scheduler/classifiers/ematches and much more.

it also disables the ATM code for which I don't think we have any use
case.
2015-05-02 12:23:23 +02:00
Harald Welte 51a7495f21 [sysmocom-bsc] linux: Enable more netfilter matches/targets 2015-05-01 19:52:36 +02:00
Harald Welte a3b942cdd9 conntrack-tools: we don't have autotools-brokensep 2015-05-01 19:46:50 +02:00
Harald Welte 7c0152141a idu: interfaces: Add VLAN 1001/1002/1003 for WiFi 2015-04-25 16:51:43 +02:00
Harald Welte 90b40a8448 missing change from previous commit :/ 2015-04-20 20:51:37 +02:00
Harald Welte e614c9b5eb IDU: /etc/network/interfaces add host route to neptune public IP
this is taken from SYS#1513
https://projects.sysmocom.de/redmine/issues/1513
2015-04-20 20:22:51 +02:00
Holger Hans Peter Freyther 9934406ade init-ifupdown: Take the force solution and make our script available
Related: SYS#1514
2015-04-20 10:10:18 -04:00
Holger Hans Peter Freyther e0bcee0206 init-ifupdown: Attempt to make our init script available for everyone
Create the /run/network directory for all of our systems. The
proper way with tmpfiles.d ends with a depedency mess that has
no point in being debugged.

My local build hasn't completed yet but we need to rush. Let the
CI test this change and we will see.

Related: SYS#1514
2015-04-20 09:56:16 -04:00
Holger Hans Peter Freyther c32b0df2e3 ifupdown: Revert the tmpfiles.d change as the dir is created too late
It looks like on my tests with the sysmobts I was saved by
busybox-ifplogd executing ifup again. I couldn't figure out
the dependencies between the LSB networking service and the
tmpfiles.d interaction. So instead of winning a beauty contest
we will need to create the directory by hand.

Cause: SYS#1514

Revert "ifupdown: Package the new file as well"
This reverts commit 15dc869cda.
Revert "ifupdown: Try the workdir for the files we copied"
This reverts commit 1ef790672e.
Revert "ifupdown: Create /run/network through a tmpfiles.d"
This reverts commit e0c7f3c621.
2015-04-20 09:56:16 -04:00
Harald Welte 7843fb4085 idu /etc/network/interfaces: Add VLANs for iridium, switch mgmt 2015-04-18 22:32:58 +02:00
Holger Hans Peter Freyther 8d89f603d3 interface: Add Vlan #7 for all GSM basestations
Untested, simply copy and pasted from the ticket

Related: SYS#1491
2015-04-15 18:35:46 -04:00
Holger Hans Peter Freyther e2042ff291 init-ifupdown: Force manual IP configuration for Openport
Interfaces file from roh, not tested by me.

Fixes: IDU#1491
2015-04-15 18:33:17 -04:00
Holger Hans Peter Freyther 9bd8feb83c linux-sysmocom: Enable VLAN modules for the ODU as well
They are available as module for the BSC/IDU and BTS.
This is why I decided to enable this as module as well
2015-04-14 15:09:06 +02:00
Holger Hans Peter Freyther e0c7f3c621 ifupdown: Create /run/network through a tmpfiles.d
This way the ifupdown application will not only work
for the IDU/ODU but the BTS, BSC and any other machine
we want to build.

(untested OE modification)
2015-04-13 17:42:34 +02:00
Holger Hans Peter Freyther e7a10f014d linux_2.6.39: Remove all traces from our layer
* Move the "defconfig" back to files/sysmocom-bsc/defconfig
* Remove the linux_2.6.39 recipe
2015-04-13 17:01:19 +02:00
Holger Hans Peter Freyther 8e95d188c5 interfaces: Add post-up route for the IDU
To be able to talk to the equipment we need to set a route
after the link is up. Assume that no other (e.g. 3G) equipment
is using the same IPv4 address range.

Message-ID: 55279904.9020802@sysmocom.de
2015-04-10 15:28:58 +02:00
Henning Heinold 1f660fd4b0 netbase/init-ifupdown: seperate both overrides and remove the appends of netbase for master and dizzy
* historical netbase in edison was not split and files were
  in netbase

Fixes: SYS#1142
2015-03-31 17:06:15 +02:00
Henning Heinold b271d31282 ntp: add pool.ntp.org back as default ntp server for ntpdate
Fixes: SYS#1185
2015-03-20 09:41:08 +01:00
Holger Hans Peter Freyther 143a630c02 sysmocom-odu: Enable autofs for systemd
Enable autofs support to have the proc-sys-fs-binfmt_misc.automount
be able to mount/load the binfmt support.

Related: SYS#1216
2015-02-27 11:46:03 +01:00
Holger Hans Peter Freyther 1241f0e762 linux-sysmocom: Attempt to enable the nfacct module
NETFILTER_NETLINK_ACCT defaults to off. Let's enable it
in the config.
2015-02-27 08:44:23 +01:00
Holger Hans Peter Freyther 9f334509d8 ntp: Bump PR to 6 to allow online upgrades
As pointed out by Harald the PR is lower than the package
that is already on the device. Bump it to 6 then.

Current:
opkg list_installed | grep ntp
ntp - 4.2.8p1-r5.0
ntp-tickadj - 4.2.8p1-r5.0
ntpdate - 4.2.8p1-r5.0
2015-02-24 14:20:05 +01:00
Harald Welte 7daf173e30 ntp: (re-)add pps-tools dependency
otherwise the PPS driver of ntpd will not be built, even with
--enable-ATOM explicitly set during ./configure
2015-02-23 21:47:21 +01:00
Holger Hans Peter Freyther c2356c429d ntp: Upgrade to patch level 1 for additional security fixes
When re-importing the recipe I accidently went back to a
vulnerable version again. *sigh*.

Fixes: SYS#1211
2015-02-23 20:56:50 +01:00
Harald Welte 3a5cd732a9 ntp: forgot to add ntp_4.2.8p1.bb 2015-02-23 20:54:11 +01:00
Harald Welte 4de8fd1b08 linux-sysmocom: Add PPS platform device 2015-02-23 20:26:28 +01:00
Harald Welte 1a531a35c3 ntp: Update from 4.2.8 to 4.2.8p1 (6 vulnerability fixes) 2015-02-23 20:26:11 +01:00
Harald Welte 22c055b2f1 ntp: Enable the kernel PPS driver and use it on the ODU 2015-02-23 19:54:34 +01:00
Harald Welte 9b377fd3a9 sysmocom-odu kernel: Enable kernel PPS support
we still need a platform device to attach it to GPIO 115.
2015-02-23 16:15:19 +01:00
Holger Hans Peter Freyther cf53c2b4e0 ntp: Import from meta-networking
Import ntp 4.2.8 from meta-networking. Our version has some weird
dependency issues that create build breakages and more.

Remove the pps-tools dependency compared to meta-networking and
leave the ntp.conf as doneby Harald (e.g. drift on /etc and not
in /var...). Now I have not verified the upgrade path but I sadly
merged testing to stable when the ntp changes were comitted on
monday. This means I can't easily test the upgrade.
2015-02-22 02:04:28 +01:00
Harald Welte 4235a5776f ntp: Fix/complete update to 4.2.8p1
This new version of ntp has quite a number of changes, e.g.
certain utilities requiring perl, and some programs are now in
/usr/sbin rather than /usr/bin.
2015-02-20 14:29:46 +01:00
Harald Welte 42d9a2747f ntp: bump PR 2015-02-20 12:43:07 +01:00
Harald Welte 21871fa648 ntp: add "--with-yielding-select=yes" requird by 4.2.8p1 2015-02-20 12:40:31 +01:00
Harald Welte f47375cb49 ntp: remove tickadj.c.patch which has been merged upstream 2015-02-20 12:35:42 +01:00
Harald Welte b386e61712 ntp: update md5sum/sha256sum 2015-02-20 12:31:34 +01:00
Harald Welte 823aa457c6 upgrade ntp from 4.2.6p3 to 4.2.8p1
4.2.8 has received fixes for 6 vulnerabilities, see
http://support.ntp.org/bin/view/Main/SecurityNotice#Recent_Vulnerabilities
2015-02-20 12:26:51 +01:00
Harald Welte 979f16d1b1 odu: fix typo: sysmcom -> sysmocom 2015-02-20 12:26:51 +01:00
Harald Welte 74b87851e1 ntp: rename sob-odu/ntp.conf to sysmocom-odu/ntp.conf
the odu specific config file was not packaged
2015-02-20 12:16:29 +01:00
Harald Welte d7e88c9356 ntp: Add systemd service files + ODU specific configuration
On the ODU, we have a local GPS/GNSS receiver as prefision time source.
2015-02-20 11:29:49 +01:00
Holger Hans Peter Freyther 703e99dee6 linux-sysmocom: Backport nfacct patches and enable the module
I have no idea if that works or not. The integration work should
have been done by someone else.

Related: ORT#650
2015-02-17 18:40:33 +01:00
Holger Hans Peter Freyther 78d586c891 linux-sysmocom: Attempt to force a rebuild..
Somehow a kernel was built but still with revision r39.
Atempt to to force it.
2015-02-14 21:00:00 +01:00
Holger Hans Peter Freyther 674b7ea989 linux-sysmocom: Build the hardware watchdog available in the APU
Related: SYS#1148
2015-02-14 20:36:07 +01:00
Holger Hans Peter Freyther a5a8a18186 linux-sysmocom: Enable k10temp and i2c-piix4 in the kernel
I edited the config through make menuconfig and then used
savedefconfig but the diff from our config to a minimal
defconfig is too big. So I enabled the temp sensors and i2c
by hand.

Fixes: SYS#1148
2015-02-14 20:31:17 +01:00
Holger Hans Peter Freyther adbc448df6 init-ifupdown: Add the specific init file for the ODU as well
For the V-ODU we want to have vlan support as well. This requires
to use the debian ifupdown which means we need a script that creates
/run/network early enough.
2015-02-14 11:48:09 +01:00
Harald Welte f01baf4cfb [idu]: Update /etc/network/interfaces
On eth1 we should also use a network from the 172.16 block rather than
the 10.23 that we used on the sysmoBSC

Also, we now use 172.16.4.0/23 natively on the bridged onboard network,
this is a temporary measure so existing JBs will still connect and get
an IP address before their software is updated to use VLAN6.  After they
(and all APs, BTSs, etc.) have migrated, the 172.16.4.0/23 can be
removed.
2015-02-13 19:23:38 +01:00
Holger Hans Peter Freyther 3f2d2d3381 init-ifupdown: Make sure to create the /run/network directory
For systemd and the Debian ifupdown application we need to
have the /run/network directory. The debian init file is
creating it on the fly and we should do the same for now.
2015-02-13 19:17:16 +01:00
Holger Hans Peter Freyther 3094ddf651 init-ifupdown: Copy the init script from dora 2015-02-13 19:17:16 +01:00
Holger Hans Peter Freyther 9bac297806 init-ifupdown_sysmocom: This is the file with the interfaces
I bumped netbase but that wasn't the right package, this one
has the new interfaces file in it.
2015-02-13 16:59:21 +01:00
Holger Hans Peter Freyther 5457cb39b4 netbase: We added a new OVERRIDE file.. bump the PR
The PR system isn't clever enough to figure out that a different
file would be picked. Update the PR right now.
2015-02-13 16:32:37 +01:00
Harald Welte 122a4cd73c [idu]: br0.6:0 address should be _static_, not _manual_ 2015-02-13 15:29:46 +01:00
Holger Hans Peter Freyther 82613a3015 linux-backports: Rename it to linux-backports for clarity
A lot of things can be backported, we are interested in backports
for the linux kernel.
2015-02-13 15:21:08 +01: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
Henning Heinold 5297f12bc1 backports: add linux-backports driver package
* needed to copy over the oe-core kernel-module classes
  and modify them because there was no other way to use them and
  name the packages kernel-module-backports

Related: SYS#850
2015-02-13 15:21:08 +01:00
Harald Welte c68f6ef085 [idu] Add /etc/network/interfaces specifid to the IDU 2015-02-13 15:15:24 +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
Holger Hans Peter Freyther 6314605bd4 Revert "linux-sysmocom: Add some crazy checks to debug a race"
Okay "make modules" will lead to the kernel.release file
being re-created. So kernel.bbclass of Yocto master needs
to be fixed.

This reverts commit 3cdbc49cbb.
2015-02-10 19:47:01 +01:00
Holger Hans Peter Freyther 3cdbc49cbb linux-sysmocom: Add some crazy checks to debug a race
Somehow the do_shared_workdir tries to access a file that
should be created by do_configure but isn't present then.
Add these items to see what happens during the build.
2015-02-10 14:59:23 +01:00
Holger Hans Peter Freyther dbe4d9513a linux-sysmocom: Change defconfig to allow to use backported module
We want to use backported modules this means we need to make
some thing a module for it to work. Take Daniel's .config file,
run make savedefconfig and update our defconfig.

Related: SYS#850
2015-02-04 08:34:56 +01:00
Holger Hans Peter Freyther 7d7622db40 linux-sysmocom: Support ${S} != ${B} builds of yocto master
Go back to have our own do_configure. The kernel.bbclass would
execute "oldnoconfig" where we simply executed "oldconfig". Keep
on using our old way (for the legacy of it). E.g. with the question
how we ended up having SMP enabled in the BSC build this might
be the answer.
2014-12-26 12:21:48 +01:00
Holger Hans Peter Freyther 015f7bc6e8 linux-sysmocom: Catch-up with poky master
OE-Core seems to unpack the kernel sources into another
directory now (e.g. to share the sources with builds for
modules). Use the kernel.bbclass kernel_do_configure and
copy the .config to the build directory.

The kernel is now built in a dedicated build directory.
2014-12-25 14:16:52 +01:00
Holger Hans Peter Freyther 1e2ecae72c linux-sysmocom: Force building a new kernel after the last commit
After the defconfig was changed we should build a new kernel. Bump
the PR to force a build.
2014-12-22 15:14:18 +01:00
Harald Welte c19888095e ODU: remove RTC driver for AM335x internal RTC
We actually only use the PMIC (TPS65910) RTC in the hardware,
and not the AM335x RTC.  Having a driver for a hardware that doesn't
receive actual backup voltage doesn't make sense.
2014-12-20 21:30:24 +01:00
Harald Welte 121196bbd4 ODU: add new odu-gpiotool script
The odu-gpiotool is a small script created by roh to selectively reset
individual peripherals of the system by the administrator. It originates
from ticket https://projects.sysmocom.de/ortelius/issues/655
2014-12-19 18:09:39 +01:00
Harald Welte 45ed0caa79 update to recent sob-odu kernel, including v3 hardware support 2014-12-18 23:55:37 +01:00
Harald Welte 53f89ad74d usb2514: skip gpio script on kernels that export GPIOs themselves 2014-12-18 23:29:06 +01:00
Harald Welte eefee096cd usb2514: Support for board v3+
We use the new sysfs file to obtain the board version number and
configure the port swapping accordingly.  If the board_version sysfs
attribute is not present, we default to v2.

We also integrate resetting the hub chip from within this tool right
befeore writing the new register values via I2C.
2014-12-18 23:22:57 +01:00
Henning Heinold 036d66a47c odu-static-devicenames: rename static-devicenames-odu to odu-static-devicenames
[hfreyther: I asked to follow machine-name pattern]

Related: SYS#732
2014-12-12 17:10:13 +01:00
Henning Heinold 7ff5c445d1 apu: add networking support the new apu
* split out rtl-nic firmware from the big
  linux-firmware package

[hfreyther: For whatever reasons the NIC works without
additional firmware as well. I couldn't see in the driver
source when that is the case and which features are missing]
2014-11-20 17:47:26 +01:00
Henning Heinold 164cd1af2b static-devicenames-odu: add stable device names for the gsm-modems on the odu
Fixes: SYS#732

[hfreyther: I removed the MACHINE_ESSENTIAL_EXTRA_RDEPENDS as applications
that use the symlinks should rdepend on the package]
[hfreyther: Changed mismatch of tabs/spaces]
2014-11-20 17:45:34 +01:00
Holger Hans Peter Freyther 29294fa7d1 linux-sysmocom: Build the watchdog into the kernel
We want to enable the watchdog in the bootloader already and
for this to be failsafe we need to have a kernel that can boot
and get ethernet without any additional modules. Now systemd
would not be able to trigger the watchdog and the system would
reboot within 60 seconds. I am not sure how the kernel upgrade
will go and we need to try this.

Related: SYS#374
2014-11-20 17:43:24 +01:00
Holger Hans Peter Freyther dff7d234e3 linux: Enable FHANDLE needed for newer udev
Without fhandle the getty for ttyS0 will not work.

http://lists.freedesktop.org/archives/systemd-devel/2014-February/016927.html
2014-11-18 15:26:46 +01:00
Holger Hans Peter Freyther 98c407d28c linux-sysmocom: Another speculative compile/fetch fix for dizzy
Not specifying a branch leads to "master" being fetched. This
means we now need to specify the rightbranch. Do that depending
on what we build.
2014-11-10 09:58:03 +01:00
Holger Hans Peter Freyther cf35573837 linux-sysmocom: Remove the branch name as it breaks on dizzy
IIRC the branch name is not used in edison and it breaks in
dizzy as the commit is noth within the branch.
2014-11-10 08:50:11 +01:00
Holger Hans Peter Freyther da06a847b5 misc: poky/LICENSE has changed.. reference a hopefully more stable file
Only reference the COPYING.MIT as it is unlikely to change in
the next upgrade.
2014-11-08 14:44:34 +01:00
Holger Hans Peter Freyther 3e709b24b6 interfaces: Remove eth1 configuration from the file
While the phytec devboard has multiple external ethernet interfaces
the odu has only one to the outside. Remove it from the config.

Fixes: ORT#653
2014-11-08 14:23:34 +01: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
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 c9da6c1e1a linux-sysmocom: Fix pinmux on the ODU kernel 2014-10-07 21:18:38 +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 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 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