Commit Graph

170 Commits

Author SHA1 Message Date
Jan Luebbe 3ddf763457 barebox-sysmocom: remove 201407 recipe
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
2015-06-13 18:22:17 +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
Holger Hans Peter Freyther f5acd1801c osmo-pcu: Build new version with Jacob's changes 2015-03-31 20:15:44 +02:00
Holger Hans Peter Freyther a561f17dac osmo-bts: Ignore failures on symlinking
In yocto versions before dizzy/master the build was done
in the source directory and when configure was executed
twice in the same directory we would have a build failure
due the symlink already existing. Simply assume that if
the ln fails the link is already there.

Out of disk space situations are handled more early by
OE and missing files will be found by configure.

In dizzy/master OE will clean the build directory before
calling configure so the issue does not apply there.

Fixes: SYS#1170
2015-02-16 23:15:54 +01:00
Holger Hans Peter Freyther 3235c311c9 barebox-sysmocom-mlo: Modernize and upgrade as well
The name of the config file was changed and so far
I was hesitant to upgrade the MLO. I think the change
in EEPROM applies to the MLO as well so we should
upgrade it. It has neither been build tested nor tested
on a device.
2015-02-14 08:47:12 +01:00
Holger Hans Peter Freyther f69c396c1d barebox-sysmocom: Update to have access to the right EEPROM 2015-02-14 08:43:48 +01:00
Holger Hans Peter Freyther 35c33239eb u-boot: Move the removal of the write protect to the beginning
ubi part will write to the NAND as well so we should lift the
write protect earlier.
2015-02-06 12:36:18 +01:00
Holger Hans Peter Freyther b99d5d2d50 u-boot: Build new version with "nand rem.nwp"
Now reading the command it should probably be add.nwp or
rem.wp but so is life. We can add an alias for add.nwp in a
future version. The boot, recovery and fwup command have been
changed to issue nand rem.nwp before touching the flash.
2015-02-05 20:34:20 +01:00
Holger Hans Peter Freyther d819f59649 ubl: Prepare for revision F support of the system
Update to the latest version of UBL to get revision F
support. This allows us to toggle the GPIO. It has only
been verified on revision F hardware.
2015-02-05 19:13:41 +01:00
Holger Hans Peter Freyther 8595fee2b2 osmo-bts: Fix the normal bts build
The sysmobts-mgr is now linking to libgps. This means we need to
DEPEND on gpsd to have this library available. The tracking build
for both dora and master is broken due this.
2015-01-11 21:32:37 +01:00
Holger Hans Peter Freyther 418db40fb6 osmo-bts: Build with calibration support on the BTS 2015-01-06 19:24:31 +01:00
Holger Hans Peter Freyther 5fac86dde4 osmo-bts: Fix it once again 2014-12-30 12:25:11 +01:00
Holger Hans Peter Freyther 7f2807877c osmo-bts: Correct the OpenBSC git revision 2014-12-30 12:19:06 +01:00
Holger Hans Peter Freyther c2c4b576ff osmo-bts: Build with CBCH support 2014-12-30 12:12:20 +01:00
Holger Hans Peter Freyther 5fd8dab863 osmo-bts: Build a WIP commit for the 31C3 field trial
Allow to set a unit-id from the eeprom. This way we have a
single config that still identifies a unit uniquely to the
NITB.
2014-12-26 16:30:55 +01:00
Holger Hans Peter Freyther 17eb891cc1 osmo-bts: Upgrade osmo-bts to latest master
We want to have the sysmobts-mgr that will do temperature
management and protect us from overheating.
2014-12-25 18:20:25 +01:00
Holger Hans Peter Freyther 09899de8b9 osmo-pcu: Update with the TBF changes of Daniel
We really want to test it on the 31C3. Update it.
2014-12-25 18:06:37 +01:00
Holger Hans Peter Freyther 8f84c9539d barebox: Add a git revision to the recipe as well
Make sure that the source version changes so new code is being
fetched. This should fix the build breakaage for the ODU build.
2014-12-25 09:51:14 +01:00
Holger Hans Peter Freyther dbb3fa65cd barebox-sysmocom: Upgrade to send LLDP frame during boot
One might need to erase the environment but with a default
environment barebox will now send a LLDP during boot up. This
way we can see if a device is on a local link or not.

Fixes: SYS#488
2014-11-20 21:51:33 +01:00
Holger Hans Peter Freyther e7ed2b458e barebox-sysmocom: Update with password propmpt
Change the name of the config, bump the SRCREV. The new default
password is "odu-stop".

Fixes: SYS#487
2014-11-20 20:04:32 +01:00
Holger Hans Peter Freyther 050a39766e sbts2050-util: Add checksum in case it is fetched through http 2014-11-09 02:34:51 +01:00
Holger Hans Peter Freyther 0755723dd8 sysmobts-firmware: When fetching using http include needed checksum
When using HTTP to fetch the firmware we need to have a checksum
in our recipe. Add it.
2014-11-08 19:53:58 +01:00
Holger Hans Peter Freyther 00578db05d ubl: Make sure we pass in the real compiler
Starting with gcc-4.9.1 we will need to pass the --sysroot
variable as otherwise the "stdint.h" of glibc will not be
found.
2014-11-04 23:49:41 +01:00
Holger Hans Peter Freyther c44d0265ee osmo-bts/osmo-pcu: Use autotools and pkgconfig to fix the build
Without inheriting pkgconfig the PKG_CHECK_MODULES macro can not
be expanded in dizzy. Fix it. While being there use "autotools"
for the pcu and not autotools_stage.
2014-09-26 11:24:49 +02:00
Holger Hans Peter Freyther 40c70870b7 osmo-bts/osmo-pcu: Specify the right branch for dizzy
With a wrong branch name the commit can not be found. Fix it.
2014-09-26 11:24:16 +02:00
Holger Hans Peter Freyther 28628cba81 sbts2050-util: Allow to install it on sysmoBTSv2 as well 2014-09-02 18:30:20 +02:00
Holger Hans Peter Freyther b39db0cdf7 sysmobts-config: Execute sync to be sure ubifs was in sync 2014-08-28 17:57:02 +02:00
Holger Hans Peter Freyther fbf5089510 sysmobts-config: Add script with postinst hook
Add post install script that will mangle the config to be the
right one for the given machine. This will be executed once
after the post installation. In case of the getty change the
system must re-start once to be fully usable. E.g. for the
sysmoBTS2050 the PA might not be powered up on first boot.
2014-08-28 17:50:02 +02:00
Holger Hans Peter Freyther 40927204e9 osmo-bts: Fix the VTY generation and output power handling
Fix the VTY generation and output power handling for 1100 und
1020 devices have been added.
2014-08-25 16:17:00 +02:00
Holger Hans Peter Freyther e512a0a363 osmo-bts: Package the sysmobts-mgr.cfg again
The sysmobts-mgr regained VTY support and now has a configuration
file again. Install it and declare it as a conffile
2014-08-25 08:25:04 +02:00
Holger Hans Peter Freyther b4d90d2582 osmo-bts: Upgrade with control command and improved pwr mgmt
This version includes the CTRL interface for clock-calibration
and improved/generic power management.
2014-08-25 08:11:59 +02:00
Holger Hans Peter Freyther bf2a3bdb18 osmo-bts: Install the sysmobts-mgr.service and link it
Just because the the VTY/alarm handling was broken, we still want
to run the sysmobts-mgr.service to gain a response for ipaccess-find.
2014-08-21 15:24:19 +02:00
Holger Hans Peter Freyther 808842860d osmo-bts: Update with direct RTP and power ramp up support 2014-07-31 14:47:40 +02:00
Holger Hans Peter Freyther 2b28110051 sysmobts-firmware: Remove the circular constraints as opkg can't handle them
Having:

 osmo-bts requires sysmobts-firmware > 3.11
 sysmobts-firmware requires osmo-bts > 0.4.2

is something opkg can't resolve in one go. One needs two calls to
the opkg command to end up with a fully upgraded version. Make sure
that we require/pull newer firmware when installing a new version
of osmo-bts.
2014-07-31 14:46:03 +02:00
Holger Hans Peter Freyther f85927359a sysmobts: Target firmware version 3.11
* Add sysmobts-firmware 3.11. The firmware will work with the
  previous osmo-bts software and this one (as we don't use the
  new primitives)
* Build newer version of osmo-bts with support for online
  calibration and CMR fixes.
2014-07-30 12:47:48 +02:00
Holger Hans Peter Freyther 7de1fc45c1 barebox: Bump the PR after our change 2014-07-15 19:13:43 +02:00
Holger Hans Peter Freyther e89bd0a3a1 barebox: Build newer versions for 256mb RAM and flash >= 128 MB
We need to build a variant of barebox that deals with only having
256mb of ram and maybe only 128mb of nand flash.
2014-07-15 19:02:52 +02:00
Holger Hans Peter Freyther a4b2ba6a02 barebox: Upgrade to a version that could fix ethernet.. 2014-07-14 11:29:44 +02:00
Holger Hans Peter Freyther 9fcc062f55 barebox-sysmocom: Have only one provide virtual/bootloader and require lzop 2014-07-14 09:32:10 +02:00
Holger Hans Peter Freyther da3cf64f1e u-boot: Remove the never working ODU support from u-boot
The u-boot port was never tried on a device and was only added
to get the image building. Remove now that we have barebox support
2014-07-11 18:59:24 +02:00
Holger Hans Peter Freyther f18a674af3 barebox: Build a version of barebox for the ODU
Build a version of barebox that has support for NAND flash and
ubifs. Load the kernel from the device. One needs to flash the
*mlo*.img into the xloader partitions and the other image into
the barebox partition.

erase /dev/nand0.xload.bb
erase /dev/nand0.xload_backup1.bb
erase /dev/nand0.xload_backup2.bb
erase /dev/nand0.xload_backup3.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup1.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup2.bb
cp /mnt/mmc0.0/MLO /dev/nand0.xload_backup3.bb
2014-07-11 18:53:23 +02:00
Holger Hans Peter Freyther 7aa38f0755 uboot/ubl: Build newer version for toshiba flash
Build newer version for the toshiba flash. Setting A1CR in the
emif has been moved to ubl and depends on the NAND chip that is
being used.
2014-07-11 12:18:38 +02:00
Holger Hans Peter Freyther bf0c0ad287 Revert "osmo-bts: Depend on a specific version of the sysmobts-firmware"
This doesn't work like this. We need to know the _exact_ PV/PR
of the package and we don't. Specially with the PR server in dora
and later we can not know the version.

This reverts commit 767d7b6939.
2014-06-22 10:30:10 +02:00
Holger Hans Peter Freyther 767d7b6939 osmo-bts: Depend on a specific version of the sysmobts-firmware 2014-06-20 18:57:55 +02:00
Holger Hans Peter Freyther 85bc905db3 osmo-pcu: Avoid crash with BFI indication of the DSP?
Add the hotfix to not crash on a bad frame received.
2014-06-16 21:52:52 +02:00
Holger Hans Peter Freyther f8960b7bf2 osmo-bts: Do not mention the osmobts-mgr.cfg in the conf files
While the package can be built on dora, it can not be built on
edison. We need to comment it.
2014-06-16 20:52:39 +02:00
Holger Hans Peter Freyther dfe8845a4e osmo-pcu: Upgrade to a newer test version of the PCU
* "upgrade" a TBF that was assigned through the BCCH
* Rip-out the non exit code from the PCU.
2014-06-16 19:40:39 +02:00
Holger Hans Peter Freyther ff29b31d6e sysmobts: Upgrade firmware headers, firmware and the osmo-bts code
This upgrades the firmware from 3.6 to 3.10. This is a significant
firmware upgrade and it changed ABIs too. Try hard to fix the
dependencies as much as possible. This requires the DSP headers
files to be of version 3.10 as well but we can not have versioned
DEPENDS.
2014-06-16 19:27:42 +02:00
Holger Hans Peter Freyther ea7e222c7b osmo-bts: Revert all sysmobgs-mgr related options
The code has not been finished and doesn't meet the quality
standards we have for a product. Comment the sysmobts-mgr
related files that will be back soon.
2014-06-16 18:36:47 +02:00