[srsran-users] srsenb failed due to no USRP rf detected

Ralph A. Schmid, dk5ras ralph at schmid.xxx
Mon Dec 6 12:50:16 UTC 2021


Do the uhd tools load the FPGA image? On starting srsenb need to initialize the USRP and load it with the FPGA file...

 

Ralph.

 

From: srsran-users [mailto:srsran-users-bounces at lists.srsran.com] On Behalf Of Debashisha Mishra
Sent: Friday, December 3, 2021 7:33 PM
To: srsran-users at lists.srsran.com
Subject: [srsran-users] srsenb failed due to no USRP rf detected

 

Dear Team,

 

I was trying to build srsenb with srsepc with recent master version. I am using a USRP B210 RF with Ubuntu 18.04 PC for the same. The "uhd_usrp_probe" and "uhd_find_devices" works fine and can detect the RF device.

However, while running eNB, it fails with below error. Could you please help to suggest a solution/work around for this issue. I have already tried to give the proper image path for UHD, but no luck. Kindly help. Thank you.

 

dev at dev-ubuntu:~/srsRAN/build$ sudo srsenb
---  Software Radio Systems LTE eNodeB  ---

Couldn't open , trying /home/dev/.config/srsran/enb.conf
Reading configuration file /home/dev/.config/srsran/enb.conf...
Couldn't open sib.conf, trying /home/dev/.config/srsran/sib.conf
Couldn't open rr.conf, trying /home/dev/.config/srsran/rr.conf
Couldn't open rb.conf, trying /home/dev/.config/srsran/rb.conf
WARNING: cpu0 scaling governor is not set to performance mode. Realtime processing could be compromised. Consider setting it to performance mode before running the application.

Built in Release mode using commit 5275f3336 on branch master.

Opening 1 channels in RF device=default with args=default
Available RF device list: UHD 
Trying to open RF device 'UHD'
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_4.1.0.4-release
[INFO] [LOGGING] Fastpath logging disabled at runtime.
[WARNING] [B200] EnvironmentError: IOError: Could not find path for image: usrp_b200_fw.hex

Using images directory: <no images directory located>

Set the environment variable 'UHD_IMAGES_DIR' appropriately or follow the below instructions to download the images package.

Please run:

 "/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
Opening USRP channels=1, args: 
[INFO] [UHD RF] RF UHD Generic instance constructed
[WARNING] [B200] EnvironmentError: IOError: Could not find path for image: usrp_b200_fw.hex

Using images directory: <no images directory located>

Set the environment variable 'UHD_IMAGES_DIR' appropriately or follow the below instructions to download the images package.

Please run:

 "/usr/lib/x86_64-linux-gnu/uhd/utils/uhd_images_downloader.py"
/home/dev/srsRAN/lib/src/phy/rf/rf_uhd_imp.cc:930: uhd_init failed, freeing...
[ERROR] [UHD RF] LookupError: KeyError: No devices found for ----->
Empty Device Address
Unable to open RF device 'UHD'
/home/dev/srsRAN/lib/src/phy/rf/rf_imp.c:147: Failed to open a RF frontend device. Please check the available srsRAN CMAKE options to verify what RF frontend devices have been detected in your system
Error initializing radio.

 

Best Regards,

Debashisha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20211206/517d37ef/attachment.htm>


More information about the srsran-users mailing list