Feature #2425
closedMove jenkins job osmo-gsm-tester_run to use prod main unit
100%
Description
I started installing all required bits missing in the prod main unit.
I had to modify the jenkins job with the following, as the modems used there differ fromt the ones configured by default in the repository (the ones from R&D):
# TMP fix: prod main unit has sierra_2 and _3 instead of _1 and _2 sed -i "s#sierra_2#sierra_3#g" "$OSMO_GSM_TESTER_CONF/resources.conf" sed -i "s#sierra_1#sierra_2#g" "$OSMO_GSM_TESTER_CONF/resources.conf" sed -i "s#901700000009031#901700000015252#g" "$OSMO_GSM_TESTER_CONF/resources.conf" sed -i "s#901700000009029#901700000015253#g" "$OSMO_GSM_TESTER_CONF/resources.conf"
I reach a point in which the sysmo tests are working, but the trx ones fail. For now I'll switch back to use the R&D one until can solve the following issues.
I followed the osmo-gsm-tester manual (http://ftp.osmocom.org/docs/latest/osmo-gsm-tester-manual.pdf) and the wiki page (https://osmocom.org/projects/osmotrx/wiki/OsmoTRX#UHD) to set up the UHD.
I had to use the repos mentioned there from jessie-backport to have the same versions of the libraries as I have in R&D (working env).
The device is recognized on the prod env (problematic env):
# uhd_find_devices linux; GNU C++ version 4.9.2; Boost_105500; UHD_003.009.005-0-unknown -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- Device Address: type: b200 name: serial: 306BD11 product: B200
The only difference with R&D (working env), apart from serial, is the name, which is not set:
# uhd_find_devices linux; GNU C++ version 4.9.2; Boost_105500; UHD_003.009.005-0-unknown -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- Device Address: type: b200 name: MyB200 serial: 30A9FFB product: B200
However, start of osmo-trx fails, both inside jenkins, and also if I run it with user root manually:
# LD_LIBRARY_PATH=$PWD/lib bin/osmo-trx -x -l DEBUG linux; GNU C++ version 4.9.2; Boost_105500; UHD_003.009.005-0-unknown opening configuration table from path :memory: Config Settings Log Level............... DEBUG Device args............. TRX Base Port........... 5700 TRX Address............. 127.0.0.1 Channels................ 1 Tx Samples-per-Symbol... 4 Rx Samples-per-Symbol... 1 EDGE support............ Disabled Reference............... External C0 Filler Table......... Disabled Multi-Carrier........... Disabled Tuning offset........... 0 RSSI to dBm offset...... 0 Swap channels........... 0 INFO 140261328664384 19:45:29.2 UHDDevice.cpp:622:open: Using discovered UHD device type=b200,name=,serial=306BD11,product=B200 ALERT 140261328664384 19:45:31.0 UHDDevice.cpp:626:open: UHD make failed, device ALERT 140261328664384 19:45:31.0 UHDDevice.cpp:626:open: UHD make failed, device ALERT 140261328664384 19:45:31.0 osmo-trx.cpp:481:main: Failed to create radio device ALERT 140261328664384 19:45:31.0 osmo-trx.cpp:481:main: Failed to create radio device Shutting down transceiver...
PS: Adding Tom as watcher as he may have more knowledge on the insides and can provide a quick answer on what may be wrong.
Updated by pespin over 6 years ago
- Status changed from New to In Progress
- Assignee set to pespin
Updated by pespin over 6 years ago
I was finally able to fix the issue by upgrading the software using the following command:
/usr/lib/uhd/utils/b2xx_fx3_utils --load-fw /usr/share/uhd/images/usrp_b200_fw.hex
In lots of places you can read that "uhd_image_loader" tool can be used to upgrade the firmware (and the tool itself claims that too, see --help), but it actually is only capable of updating the FPGA part, at least with the version installed in the main unit.
Updated by pespin over 6 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100