USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

GNURADIO with FEDORA 30

Dear All,

good day.

I'm desperately trying to correctly install the Gnuradio package on a machine with FEDORA 30. I'm currently using a couple of Ettus B200 Mini.

I state that on fedora 23 all works fine.
How ever on fedora 30 after tens of attempts, I could install the package with "dnf install gnuradio". When I run both  uhd_find_device and uhd_usrp_probe they works well, but when I try to lunch a gnuradio utility like "uhd_fft" there are a hell of problems: the result is attached below.

Would you please help me ?
Thank very much in advance,
Francesco

 

$ uhd_fft -f 3e9

[INFO] [UHD] linux; GNU C++ version 9.0.1 20190129 (Red Hat 9.0.1-0.2); Boost_106900; UHD_3.12.0.0
[INFO] [B200] Loading firmware image: /usr/local/share/uhd/images/usrp_b200_fw.hex...
[INFO] [B200] Detected Device: B200mini
[INFO] [B200] Loading FPGA image: /usr/local/share/uhd/images/usrp_b200mini_fpga.bin...
[INFO] [B200] Operating over USB 3.
Traceback (most recent call last):
File "/usr/bin/uhd_fft", line 501, in <module>
main()
File "/usr/bin/uhd_fft", line 484, in main
tb = uhd_fft(args)
File "/usr/bin/uhd_fft", line 129, in __init__
self.setup_usrp(uhd.usrp_source, args)
File "/usr/lib64/python2.7/site-packages/gnuradio/uhd/uhd_app.py", line 159, in setup_usrp
channels=self.channels,
File "/usr/lib64/python2.7/site-packages/gnuradio/uhd/__init__.py", line 122, in constructor_interceptor
return old_constructor(*args)
File "/usr/lib64/python2.7/site-packages/gnuradio/uhd/uhd_swig.py", line 2498, in make
return _uhd_swig.usrp_source_make(*args)
RuntimeError: RuntimeError: Expected FPGA compatibility number 5, but got 7:
The FPGA build is not compatible with the host code build.
Please run:

"/usr/lib64/uhd/utils/uhd_images_downloader.py"

0 Kudos
Message 1 of 7
(2,829 Views)

Hi,

according to the Ettus instructions for Installation on Linux (USRP Hardware Driver and USRP Manual: Binary Installation), there are only stable binary releases for UHD software up to Fedora 28 (files.ettus.com:/binaries/uhd_stable/latest_release/).

Reaching out to Ettus Research Technical Support, via web or via email, is likely the best way for you to get help. There are community mailing lists and discussion forums where other folks may have run across this already.

Best regards,

Alessia

0 Kudos
Message 2 of 7
(2,787 Views)

Grazie mille Alessia !! Smiley Happy

0 Kudos
Message 3 of 7
(2,781 Views)

Di nulla, Francesco!

Poiché potrebbe essere di aiuto per la community, ti invito se puoi e se vuoi ad aggiornare questo thread aggiungendo due righe sulla soluzione del problema, quando l'avrai trovata.

Senza impegno, ovvio! 🙂

Saluti

Alessia

0 Kudos
Message 4 of 7
(2,766 Views)

A disposizione cara Alessia..se ci riesco..

... sto perdendo troppo tempo e pazienza ed oggi stavo per spaccare tutto.

Dopo aver disinstallato uhd, gnuradio et cetera, ho reinstallato il tutto semplicemente con "sudo dnf install gnuradio" (da wiki).

Quando lancio uhd_fft (es. -f 3e9), compare questo errore:

$ uhd_fft -f 3e9
[INFO] [UHD] linux; GNU C++ version 9.0.1 20190129 (Red Hat 9.0.1-0.2); Boost_106900; UHD_3.12.0.0
[INFO] [B200] Detected Device: B200mini
[INFO] [B200] Loading FPGA image: /usr/share/uhd/images/usrp_b200mini_fpga.bin...
[INFO] [B200] Operating over USB 3.
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [B200] Asking for clock rate 32.000000 MHz...
[INFO] [B200] Actually got clock rate 32.000000 MHz.
Traceback (most recent call last):
File "/usr/bin/uhd_fft", line 501, in <module>
main()
File "/usr/bin/uhd_fft", line 484, in main
tb = uhd_fft(args)
File "/usr/bin/uhd_fft", line 226, in __init__
self._qtgui_waterfall_sink_x_0_win = sip.wrapinstance(self.qtgui_waterfall_sink_x_0.pyqwidget(), Qt.QWidget)
TypeError: wrapinstance() argument 2 must be sip.wrappertype, not PyQt4.QtCore.pyqtWrapperType

0 Kudos
Message 5 of 7
(2,759 Views)

Ciao Francesco,

mi spiace che tu non stia ancora riuscendo a raggiungere il tuo scopo... ma una cosa non mi è chiara: hai provato a rivolgerti al supporto Ettus?

Saluti

Alessia

0 Kudos
Message 6 of 7
(2,751 Views)

Buona sera Alessia, 

certo ho scritto al supporto Ettus ma comunque su Fedora 30 non sono riuscito a far funzionare, a modo, Gnuradio.

Sono ritornato al Fedora 23 dove tutto sembra funzionare bene.

In futuro farò dedicare uno dei ragazzi del mio laboratorio ...pel momento non abbiamo molto tempo a disposizione

Grazie per il tuo interessamento.

Un caro saluto,

ciao

 

0 Kudos
Message 7 of 7
(2,743 Views)