Commit Graph

201 Commits

Author SHA1 Message Date
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
Holger Hans Peter Freyther 70bfea442d osmo-bts: Apply the sysmobts-mgr hotfix onto the last version
I take the most conversative route and apply the single sysmobts-mgr
patch to get a working "ipaccess-find" again.
2014-06-01 12:12:31 +02:00
Holger Hans Peter Freyther 9fd7612abd ubl/u-boot: Upgrade for NAND redundancy patches
Let's flash multiple copies of UBL and U-Boot to cope better with
NAND bits flipping in these sectors. To fit multiple copies of
U-Boot into the flash we had to move the rootfs a bit to the end.
2014-05-23 09:04:25 +02:00
Holger Hans Peter Freyther 3fbe647e14 osmo-bts: Fix the CONFFILES_${PN} introduced recently
Daniel noticed that on upgrade his /etc/osmocom/osmo-bts.cfg
was overwritten. This was due the addition of the sysmobts-mgr
config file and using an assignment instead of an append.
2014-05-21 17:59:02 +02:00
Harald Welte f9697c1e24 osmo-bts: update git to call osmobts-mgr with config file 2014-05-19 13:04:11 +02:00
Harald Welte 6dbc14b02c osmo-bts: Make sure to install osmobts-mgr.cfg 2014-05-19 12:59:32 +02:00
Harald Welte 30caceef90 osmo-bts: Update to current master for CMR in AMR support 2014-05-19 11:39:52 +02:00
Holger Hans Peter Freyther 8ac540640d osmo-bts: Upgrade osmo-bts to fix a stupid handover issue 2014-04-19 19:38:35 +02:00
Holger Hans Peter Freyther 475b32b3fe u-boot: Fix the deployment of symlinks and install SPL/MLO 2014-03-29 13:20:00 +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 d9ebe05799 u-boot: Add something that could build for the sysmocom-odu
We do not intend to use u-boot right now but at least this
version will build. In the first version we will use the
barebox images provided to us by the producer of the SoM.
2014-03-28 21:56:27 +01:00
Holger Hans Peter Freyther 2700d6a642 u-boot: Start to use spaces instead of tabs to follow OE 2014-03-28 21:55:45 +01:00
Holger Hans Peter Freyther 5e84042d37 u-boot: Use PV/PR again as PKGV/PKGR didn't fix the AUTOINC in the filename 2014-03-28 21:55:04 +01:00
Holger Hans Peter Freyther 575be79d5a osmo-bts: Fix the AGCH through PCU socket message 2014-03-27 18:13:21 +01:00
Holger Hans Peter Freyther 318f4e4e52 osmo-bts: Update with max_power_red fixes and apply it
This is fixing max_power_reduction for revC hardware and applies
a new max_power_reduction when it arrives through OML and the
system is already initialized.
2014-03-27 07:57:45 +01:00
Holger Hans Peter Freyther c872ce4a46 osmo-bts: Provide the direct PCU mode for the image 2014-03-21 19:28:59 +01:00
Holger Hans Peter Freyther 599e2d3679 systemd: Update osmo-bts/osmo-pcu recipes for newer service files
Some smaller other fixes in the osmo-pcu code
2014-03-21 19:13:23 +01:00
Holger Hans Peter Freyther e797a8ac6b sysmobts-firmware: Make the firmware conflict with older bts software
We had an upgrade issue where using newer firmware with older
osmo-bts binaries didn't work. Make sure that the shiny new 0.4.0
binaries are used with firmware starting from 3.2.

Addresses: #158
2014-03-21 16:52:30 +01:00
Holger Hans Peter Freyther 7c453471f1 osmo-pcu: Bump version number and requirements as well
The interface has not knowingly changed but it is good to
have comparable versions installed.
2014-03-21 16:52:30 +01:00
Holger Hans Peter Freyther 9ae58a33bf osmo-bts: Upgrade the version number to 0.4.0 2014-03-21 16:52:29 +01:00
Holger Hans Peter Freyther 46098bb42e osmo-pcu: Re-build with some cosmetic and logging changes
Make finding use after free more easy and change some log
regions to help in detecting what is going on.
2014-03-13 17:08:11 +01:00
Holger Hans Peter Freyther ce642cba53 osmo-bts: Build newer version with handover, agch and manager changes 2014-03-13 17:08:08 +01:00
Holger Hans Peter Freyther 2ba19d8e54 femtobts-api: Build the latest git of the header files 2014-03-13 16:48:03 +01:00
Holger Hans Peter Freyther a21e9eef6b osmo-bts: Bump the OpenBSC sha1 to see if that forces the upgrade 2014-02-21 09:25:01 +01:00
Holger Hans Peter Freyther 2435a67b1a osmo-bts: Update the revision number of the osmobts 2014-02-21 09:19:48 +01:00
Holger Hans Peter Freyther 926d082a27 osmo-bts: Update to the handover code 2014-02-20 18:23:34 +01:00
Henning Heinold d1c958be3e bts2050-util: use INSANE_SKIP so bitbake does not error out 2014-02-05 16:11:34 +01:00
Holger Hans Peter Freyther 5aa0de1de3 osmo-bts: Upgrade to master and install the sysmobts-mgr.service 2014-02-04 13:41:45 +01:00
Holger Hans Peter Freyther 9b3893f4c1 osmo-bts: Build a new version with a crash fix on init 2014-01-23 17:21:27 +01:00
Harald Welte bb35f69066 osmo-bts: Build latest version with fMaxTxPower fix
As a side note, this also introduces sysmobts-mgr
2014-01-22 02:02:10 +01:00
Holger Hans Peter Freyther 00a590e063 dvnixload: Update with the new toolchain name in place 2014-01-20 11:41:43 +01:00
Holger Hans Peter Freyther c47bdcd180 osmo-bts: This requires a newer version of OpenBSC as well 2014-01-20 11:36:25 +01:00
Holger Hans Peter Freyther 933b68b3e8 osmo-bts: Build latest version of osmo-bts with performance changes 2014-01-20 11:24:21 +01:00
Holger Hans Peter Freyther 5227148e4a osmo-pcu: Build the latest sysmocom/master code 2014-01-20 11:10:52 +01:00
Holger Hans Peter Freyther 27f0ed2dc5 osmo-pcu: Update to the latest sysmocom/master version as of today 2014-01-08 10:59:55 +01:00
Henning Heinold d6572a4b3c osmo-pcu: add systemd support
The systemd-service-file was added to sysmocom/master branch so use that.
2014-01-08 10:59:19 +01:00
Holger Hans Peter Freyther 6ed3f9adf5 osmo-pcu: Build my latest testing version of the PCU 2013-12-03 15:38:58 +01:00
Holger Hans Peter Freyther ad936987cc ubl/u-boot: Use PKGV and PKGR instead of PV/PR for the AUTOINC
This should help in having no AUTOINC inside the uboot filename
but it doesn't fix it yet.
2013-11-27 12:25:01 +01:00
Holger Hans Peter Freyther fc071607d1 osmo-bts: Package the sysmobts.service for systemd support
Use the native systemd service file to avoid running a shell script
that is ran from within the screen. This code expects the pcu to have
a .service file itself.
2013-11-27 12:23:49 +01:00
Holger Hans Peter Freyther a3c2a2b55c osmo-pcu: Update the PCU to the latest commit in my cleanup branch 2013-11-05 10:23:10 +01:00
Harald Welte a349ce5879 update sysmobts/osmo-bts to b2a8a642d65779918f64437b5cbbde8e206222f2
this will add support for transmitting at higher power (model 2050)
as well as restricting the unit to use within those bands indicated
in the EEPROM.
2013-10-09 23:56:36 +02:00
Holger Hans Peter Freyther 83edf1dce4 osmo-bts: Build against the new libosmo-abis library 2013-10-06 17:03:45 +02:00
Harald Welte e003221b02 sbts2050-util: Mark file as executable file 2013-10-04 23:38:25 +02:00
Harald Welte 5cf873f499 Add binary-only package for sbts2050-util
sbts2050-util is a small binary-only userspace program used to
interface with the sysmoBTS 2050 board management controller,
i.e. to enable/disable PA power, read power consumption/temperature
and the like.

This tool is going to disappear once the respective features have been
included in the (open source) sysmobts-util / sysmobts-mgr.  Please be
patient meanwhile.
2013-10-04 22:22:53 +02:00
Harald Welte 3c99769de2 add bb recipes for sysmobts firmware 3.4 and 3.6 2013-10-04 21:53:10 +02:00
Harald Welte a2a2d67e1a femtobts-api: Update to v3.6. Compatible with all v3.x header files. 2013-10-04 21:41:04 +02:00
Harald Welte b16ceec77f update to recent osmo-bts master to include sysmobts-util
sysmobts-util is used to set/get the model_number / trx_nr on the sysmoBTS 2050.
2013-10-04 21:40:30 +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 57cc5e9c58 osmo-bts: Update to an experimental version that uses libosmo-abis
This is a osmo-bts that will use libosmo-abis for OML and RSL and
is based on master. In one way it should improve quality in another
it is also testing.
2013-08-01 19:45:00 +02:00
Holger Hans Peter Freyther ffce9e7f87 osmo-pcu: Build a 'hack'/tmp branch that exits the PCU after a BTS loss
This will make the PCU exit after a BTS is lost. This is because the
PCU is not resetting all the state and then BSSGP might not come up
properly.
2013-07-11 17:05:40 +02:00
Holger Hans Peter Freyther f79726fdcc osmo-bts: Move to a new 0.3.0-next release with EEPROM reading 2013-06-24 08:28:02 +02:00
Holger Hans Peter Freyther 040f4432f5 osmo-bts: Upgrade to the latest sysmocom/0.3.0-next version
This introduces the auto-band that will help in managing configurations.
2013-06-20 18:21:28 +02:00
Holger Hans Peter Freyther fea919fa5d osmo-bts: Build the 0.3.0-next branch with further improvements
This is a bigger update and brings the SAPI queue, readv/writev
and realtime scheduling to the sysmobts software. This will greatly
improve the stability of the software under load.
2013-06-20 14:39:39 +02:00
Holger Hans Peter Freyther 0ca774fc19 u-boot: Build a new version with the "force" option for the recovery 2013-06-01 18:50:54 +02:00
Holger Hans Peter Freyther 1bca046d23 u-boot: Build a new u-boot with increase system malloc
This should be more than 10MB and should help with the ubifs
recovery needed during boot.
2013-05-10 18:12:13 +02: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 d01ad496af femtobts-api_git.bb: Do not use symbolic names for the SRCREV
The name will be resolved to the hash during parse time. This will
not work when not having access to the internet. Use the sha1 sum
to make offline builds work.
2013-03-19 19:54:02 +01:00
Harald Welte 1c3982289e osmo-bts: fix git revision. 2013-03-17 17:43:45 +01:00
Harald Welte c793b65258 osmo-pcu: Use parenthesis for osmo-bts version in RDEPENDS 2013-03-17 17:42:00 +01:00
Harald Welte 2bae25e4cd osmo-pcu: make sure to use RDEPENDS to osmo-bts with PCU IF v5
As Holger points out, we need a runtime dependency, not build time
2013-03-17 17:36:56 +01:00
Harald Welte 410d086a5a update omso-pcu + osmo-bts to current master
This uses PCU API version 5 including RSSI measurements
2013-03-17 17:20:41 +01:00
Holger Hans Peter Freyther 2257338267 osmo-bts: Update once more for sysvinit related scripts
* The /etc/init.d/sysmobts stop target is now working. It will
  terminate the screen, the run loop, the sysmobts and osmo-pcu.
2013-03-16 23:35:08 +01:00
Holger Hans Peter Freyther 99a6840eb4 osmo-bts: Upgrade for change in respawn scripts and misc fixes
* Fix the link timeout handling as found in post-review.
* Fix the set bts attr parsing due a funny parsing error.
* Sleep 10 seconds after the execution, reload DSP and FPGA firmware
2013-03-16 19:19:36 +01:00
Holger Hans Peter Freyther b6780a5826 sysmobts-firmware: Remove comment about both versions being installed
As of issue #48 we do not separate firmware for revc and revd. Remove
the comment about both versions being installed in parallel.
2013-03-14 14:03:40 +01:00
Harald Welte b67bed4d3a Add recipes for firmware v3.2 and v3.3 2013-03-13 13:48:43 +01:00
Harald Welte c71b4ead63 osmo-bts: Update to current git master
This will include
* Fix of CHAN_NR IEI in common channel RSL messages generated by BTS
* zecke/request_queueing
* Improve shutdown of DSP on exit
* various calib updates
* GSMTAP: use RxLevel and RxQual
* DSP power control bypass on ul_power_target==0
* Add radio link timeout procedure
2013-03-13 12:47:14 +01:00
Harald Welte 5b6ad0ce9d osmo-pcu: Make sure to actually build sysmobts support on v2 2013-03-09 01:05:03 +00:00
Harald Welte e518a3224a osmo-pcu: Only build DSP support on sysmobts v2, not also v1 2013-03-02 15:22:21 +01:00
Harald Welte cf29168330 update osmo-bts for further ortp fixes 2013-02-09 14:19:12 +01:00
Harald Welte bcf7764458 update osmo-bts for the "rtp bind-ip" related fixes 2013-02-09 13:30:42 +01:00