Bladerf X40 failure with osmo-trx-uhd

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

ah med grgrehreher at gmail.com
Tue Oct 22 08:43:41 UTC 2019


after setting the osmo-bts-trx and osmo-trx-uhd and with a BLADERF X40 ,i
just got this when running my network !
every other services like HLR,MSC...work perfectly and just the
osmo-trx-uhd have some problems with the bladerf !


osmo-trx-uhd.service - Osmocom SDR BTS L1 Transceiver (UHD Backend)
   Loaded: loaded (/lib/systemd/system/osmo-trx-uhd.service; disabled;
vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2019-10-21 20:04:25 CET;
5min ago
  Process: 20384 ExecStart=/usr/bin/osmo-trx-uhd -C
/etc/osmocom/osmo-trx-uhd.cfg (code=exited, status=1/FAILURE)
 Main PID: 20384 (code=exited, status=1/FAILURE)

Oct 21 20:04:24  osmo-trx-uhd[20384]: -- setSampleRate(Rx, 0, 4.000000
MHz), actual = 4.000000 MHz
Oct 21 20:04:24  osmo-trx-uhd[20384]: -- setSampleRate(Tx, 0, 4.000000
MHz), actual = 4.000000 MHz
Oct 21 20:04:24  osmo-trx-uhd[20384]: Mon Oct 21 20:04:24 2019 DDEV <0002>
UHDDevice.cpp:355 [tid=140004723987136] Unsupported device bladeRF
Oct 21 20:04:24  osmo-trx-uhd[20384]: Mon Oct 21 20:04:24 2019 DMAIN <0000>
osmo-trx.cpp:514 [tid=140004723987136] Failed to create radio device
Oct 21 20:04:24  osmo-trx-uhd[20384]: Mon Oct 21 20:04:24 2019 DMAIN <0000>
osmo-trx.cpp:485 [tid=140004723987136] Shutting down transceiver...
Oct 21 20:04:24  osmo-trx-uhd[20384]: -- bladerf_close()
Oct 21 20:04:25  systemd[1]: Stopping Osmocom SDR BTS L1 Transceiver (UHD
Backend)...
Oct 21 20:04:25  systemd[1]: osmo-trx-uhd.service: Main process exited,
code=exited, status=1/FAILURE
Oct 21 20:04:25  systemd[1]: osmo-trx-uhd.service: Failed with result
'exit-code'.
Oct 21 20:04:25  systemd[1]: Stopped Osmocom SDR BTS L1 Transceiver (UHD
Backend).


I am using the systemd service file .all parts are installed using apt-get
install via the latest builds!.
by the way,the uhd_find_devices give the correct output!

uhd_find_devices
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501;
UHD_3.14.1.1-release
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
    serial: 9e52d2c864bc9b191e8a3327a4b2a216
    backend: libusb
    device: 0x01:0x0E
    driver: bladerf
    instance: 0
    label: BladeRF #0 [9e52d2c8..a4b2a216]
    type: soapy



bladeRF-cli -p

  Description:    Nuand bladeRF
  Backend:        libusb
  Serial:         9e52d2c864bc9b191e8a3327a4b2a216
  USB Bus:        1
  USB Address:    17



bladeRF> version

  bladeRF-cli version:        1.7.1-2018.12-rc3-2-ppabionic
  libbladeRF version:         2.2.0-2018.12-rc3-2-ppabionic

  Firmware version:           1.9.1
  FPGA version:               0.10.2



SoapySDRUtil --probe="driver=bladerf"
######################################################
##     Soapy SDR -- the SDR abstraction library     ##
######################################################

Probe device driver=bladerf
[INFO] bladerf_open_with_devinfo()
[WARNING @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:1705] RX
DC calibration table not found. Manual gain control will be used instead.
[INFO @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:1706] To
enable AGC, see "Generating a DC offset table" at
https://github.com/Nuand/bladeRF/wiki/DC-offset-and-IQ-Imbalance-Correction
[INFO] bladerf_get_serial() = 9e52d2c864bc9b191e8a3327a4b2a216
[INFO] setSampleRate(Rx, 0, 4.000000 MHz), actual = 4.000000 MHz
[INFO] setSampleRate(Tx, 0, 4.000000 MHz), actual = 4.000000 MHz
[WARNING @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:1705] RX
DC calibration table not found. Manual gain control will be used instead.
[INFO @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:1706] To
enable AGC, see "Generating a DC offset table" at
https://github.com/Nuand/bladeRF/wiki/DC-offset-and-IQ-Imbalance-Correction

----------------------------------------------------
-- Device identification
----------------------------------------------------
  driver=bladeRF
  hardware=bladerf1
  fpga_size=40
  fpga_version=0.10.2
  fw_version=1.9.1
  serial=9e52d2c864bc9b191e8a3327a4b2a216

----------------------------------------------------
-- Peripheral summary
----------------------------------------------------
  Channels: 1 Rx, 1 Tx
  Timestamps: YES
  Registers: LMS
  Other Settings:
     * XB200 Transverter - bladeRF XB200 Transverter Board
       [key=xb200, default=disabled, type=string, options=(disabled, 50M,
144M, 222M, auto1db, auto3db, auto, custom)]
     * Sampling Mode - Internal = Via RX/TX connectors, External = Direct
sampling from J60/J61 connectors
       [key=sampling_mode, default=internal, type=string,
options=(internal, external)]
     * Loopback Mode - Enable/disable internal loopback
       [key=loopback, default=none, type=string, options=(none, firmware,
bb_txlpf_rxvga2, bb_txlpf_rxlpf, bb_txvga1_rxvga2, bb_txvga1_rxlpf,
rf_lna1, rf_lna2, rf_lna3)]
     * Reset Device - Reset the device, causing it to reload its firmware
from flash.
       [key=reset, default=false, type=bool, options=(true, false)]
     * Erase the FPGA region of flash - Erase the FPGA region of SPI flash,
effectively disabling FPGA autoloading.
       [key=erase_stored_fpga, default=false, type=bool, options=(true,
false)]
     * Write FX3 firmware to flash - Write FX3 firmware to the bladeRF's
SPI flash from the provided file path. This will require a power cycle to
take effect.
       [key=flash_firmware, type=string]
     * Write to the FPGA region of flash - Write FPGA image to the
bladeRF's SPI flash from the provided file path and enable FPGA loading
from SPI flash at power on.
       [key=flash_fpga, type=string]
     * Clear out a firmware signature word in flash and jump to FX3
bootloader - The device will continue to boot into the FX3 bootloader
across power cycles until new firmware is written to the device.
       [key=jump_to_bootloader, default=false, type=bool, options=(true,
false)]
     * Load device's FPGA - Load device's FPGA from the provided file path.
Note that this FPGA configuration will be reset at the next power cycle.
       [key=load_fpga, type=string]
  GPIOs: CONFIG, EXPANSION

----------------------------------------------------
-- RX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: NO
  Stream formats: CS16, CF32
  Native format: CS16 [full-scale=2048]
  Stream args:
     * Buffer Count - Number of async USB buffers.
       [key=buffers, units=buffers, default=32, type=int]
     * Buffer Length - Number of bytes per USB buffer, the number must be a
multiple of 1024.
       [key=buflen, units=bytes, default=4096, type=int]
     * Num Transfers - Number of async USB transfers. Use 0 for automatic
       [key=transfers, units=bytes, default=0, type=int, range=[0, 32]]
  Antennas: RX
  Corrections: DC offset, IQ balance
  Full gain range: [-1, 60, 1] dB
    lna gain range: [0, 6, 3] dB
    rxvga1 gain range: [5, 30, 1] dB
    rxvga2 gain range: [0, 30, 3] dB
  Full freq range: [237.5, 3800] MHz
    RF freq range: [237.5, 3800] MHz
  Sample rates: [0.08, 10], [10, 20], [20, 40] MSps
  Filter bandwidths: [1.5, 28] MHz

----------------------------------------------------
-- TX Channel 0
----------------------------------------------------
  Full-duplex: YES
  Supports AGC: NO
  Stream formats: CS16, CF32
  Native format: CS16 [full-scale=2048]
  Stream args:
     * Buffer Count - Number of async USB buffers.
       [key=buffers, units=buffers, default=32, type=int]
     * Buffer Length - Number of bytes per USB buffer, the number must be a
multiple of 1024.
       [key=buflen, units=bytes, default=4096, type=int]
     * Num Transfers - Number of async USB transfers. Use 0 for automatic
       [key=transfers, units=bytes, default=0, type=int, range=[0, 32]]
  Antennas: TX
  Corrections: DC offset, IQ balance
  Full gain range: [17, 73, 1] dB
    txvga1 gain range: [-35, -4, 1] dB
    txvga2 gain range: [0, 25, 1] dB
  Full freq range: [237.5, 3800] MHz
    RF freq range: [237.5, 3800] MHz
  Sample rates: [0.08, 10], [10, 20], [20, 40] MSps
  Filter bandwidths: [1.5, 28] MHz

[INFO] bladerf_close()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20191022/5bb26d11/attachment.htm>


More information about the OpenBSC mailing list