Dear USRP Community,

I am working on OAI project, and trying to run enb using USRP n310. My uhd
version was 3.15 LTS. But as part of the installation for OAI, I used this
command in a different workstation:




*git clone git://github.com/EttusResearch/uhd.git
<http://github.com/EttusResearch/uhd.git>
cd uhd; mkdir host/build; cd host/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make -j4
sudo make install
sudo ldconfigsudo /usr/lib/uhd/utils/uhd_images_downloader.py*

But, now I am getting an error in the enb trace as follows:

***************************----trace---*****************
---
-----
------
wait_eNBs()
Waiting for eNB L1 instances to all get configured ... sleeping 50ms
(nb_L1_inst 1)
RC.nb_L1_CC[0]:1
eNB L1 are configured
About to Init RU threads RC.nb_RU:1
Initializing RU threads
[PHY]   DJP - delete code above this
/home/ubuntu18/openairinterface5g/targets/RT/USER/lte-ru.c:2704
[PHY]   Copying frame parms from eNB 0 to ru 0
[PHY]   Initializing RRU descriptor 0 : (local RF,synch_to_ext_device,0)
[PHY]   NFGI_RRU_IF4p5: configuring ru_id 0 (start_rf 0x56469465fc30)
[PHY]   channel 0, Setting tx_gain offset 0.000000, rx_gain offset
110.000000, tx_freq 2630000000.000000, rx_freq 2510000000.000000
[PHY]   Initializing frame parms for N_RB_DL 50, Ncp 0, osf 1
[PHY]   lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY]   Starting ru_thread 0, is_slave 0, send_dmrs 0
[PHY]   Initializing RU proc 0 (eNodeB_3GPP,synch_to_ext_device),
[PHY]   init_RU_proc() DJP - added creation of pthread_prach
[HW]   thread_top_init() called with affinity>0, but overruled by
#ifndef CPU_AFFINITY.
[HW]   [SCHED][eNB] ru_thread started on CPU 3, sched_policy =
SCHED_FIFO , priority = 99, CPU Affinity= CPU_0 CPU_1 CPU_2 CPU_3
wait RUs
[ENB_APP]   Waiting for RUs to be configured ... RC.ru_mask:01
[HW]   thread_top_init() called with affinity>0, but overruled by
#ifndef CPU_AFFINITY.
[HW]   [SCHED][eNB] ru_thread_prach started on CPU 0, sched_policy =
SCHED_FIFO , priority = 99, CPU Affinity= CPU_0 CPU_1 CPU_2 CPU_3
[PHY]   thread ru created id=15286
[PHY]   Starting RU 0 (eNodeB_3GPP,synch_to_ext_device),
[PHY]   RU 0 has no OAI ctrl port
[PHY]   channel 0, Setting tx_gain offset 0.000000, rx_gain offset
110.000000, tx_freq 2630000000.000000, rx_freq 2510000000.000000
[PHY]   Initializing frame parms for N_RB_DL 50, Ncp 0, osf 1
[PHY]   lte_parms.c: Setting N_RB_DL to 50, ofdm_symbol_size 1024
[PHY]   ru_thread_prach() RU configured - RACH processing thread running
[LIBCONFIG] device.recplay: 7/7 parameters successfully set, (7 to
default value)
[LIBCONFIG] device: 1/1 parameters successfully set, (1 to default value)
[LIBCONFIG] loader.oai_device: 2/2 parameters successfully set, (1 to
default value)
[LOADER] library liboai_device.so successfully loaded
[HW]   UHD version 4.0.0.0-93-g3b9ced8f (4.0.0)
[HW]   Checking for USRP with args type=n3xx,addr=192.168.10.2
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501;
UHD_4.0.0.0-93-g3b9ced8f
[HW]   Found USRP n3xx
Found USRP n300
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.10.2,type=n3xx,product=n310,serial=318F049,claimed=False,addr=192.168.10.2,master_clock_rate=122880000.000000
[WARNING] [MPM.RPCServer] A timeout event occured!
terminate called after throwing an instance of 'rpc::timeout'
  what():  rpc::timeout: Timeout of 2000ms while calling RPC function
'set_device_id'
Linux signal Aborted...
/home/ubuntu18/openairinterface5g/executables/softmodem-common.c:187
signal_handler() Exiting OAI softmodem: softmodem starting exit
procedure

***********************************trace
***********************************************

The following is the trace for the *uhd_usrp_probe*:
************************************************

uhd_usrp_probe
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501;
UHD_4.0.0.0-93-g3b9ced8f
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.170.20,type=n3xx,product=n310,serial=318F049,claimed=False,addr=192.168.170.20
[WARNING] [MPM.PeriphManager] Cannot run deinit(), device was never
fully initialized!
Error: rpc::timeout: Timeout of 2000ms while calling RPC function
'set_device_id'

**************************************************

And when I try to update the default FPGA variant, using the command



*uhd_image_loader --args type=n3xx,addr=192.168.170.20*

I get the following trace,

************************************************************************

uhd_image_loader --args type=n3xx,addr=192.168.170.20
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501;
UHD_4.0.0.0-93-g3b9ced8f
[INFO] [MPMD] Initializing 1 device(s) in parallel with args:
mgmt_addr=192.168.170.20,type=n3xx,product=n310,serial=318F049,claimed=False,skip_init=1
[WARNING] [MPM.PeriphManager] Cannot run deinit(), device was never
fully initialized!
[INFO] [MPMD] Claimed device without full initialization.
[INFO] [MPMD IMAGE LOADER] Starting update. This may take a while.
[INFO] [MPM.PeriphManager] Updating component `fpga'
[INFO] [MPM.PeriphManager] Updating component `dts'
[INFO] [MPM.RPCServer] Resetting peripheral manager.
[INFO] [MPM.PeriphManager] Device serial number: 318F049
[INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s).
[INFO] [MPMD IMAGE LOADER] Update component function succeeded.
[ERROR] [MPM.PeriphManager] Major compat number mismatch for component
`FPGA': Expected: 5.3 Actual: 8.0
[ERROR] [MPM.PeriphManager] Failed to initialize motherboard: Major
compat number mismatch for component `FPGA': Expected: 5.3 Actual: 8.0
[ERROR] [MPM.PeriphManager] Cannot run init(), device was never fully
initialized!


*******************************************************************************

Please let me know what am I missing ..?

Thank you for your help in advance.!

WR,
Gokul
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to