discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GNURadio master and UHD RFNOC Version Issue


From: Martin Braun
Subject: Re: [Discuss-gnuradio] GNURadio master and UHD RFNOC Version Issue
Date: Thu, 12 Jul 2018 10:47:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Hi all,

I'm not sure this thread is going in a way that'll help John.

John, let me try and rephrase the comments, and add my own:

- First, we recently merged all of rfnoc-devel into master, and won't be
updating rfnoc-devel any more. However, this is just an FYI and
unrelated to any of your questions. You don't have to immediately switch.
- You can use both rfnoc-devel or master branch of UHD with GNU Radio,
it doesn't matter. They both work.
- However, you can only use either rfnoc-devel (now legacy) or master
branch in combination with -DENABLE_RFNOC=ON with gr-ettus. If you want
to use GNU Radio + RFNoC (which is a great combo!), then you also need
gr-ettus.
- There are different types of version, and the issue you originally saw
was a difference in *FPGA* versions, not UHD or GNU Radio versions. The
FPGA version doesn't come into play anywhere inside GNU Radio, it's a
matter between the UHD library and the FPGA (which is what Marcus was
referring to).

It can help to first debug the FPGA version issue before doing anything
GNU Radio-related. You can simply run `uhd_usrp_probe` on your device (I
assume it's an X300) to see if the FPGA versions match up.
If they don't, please make sure you have the correct combination of UHD
and FPGA branches as a basis for your own code.

Cheers,
Martin


On 05/25/2018 07:51 AM, Müller, Marcus (CEL) wrote:
> Hi John,
> 
> no need to apologize; we're all learners of some kind!
> So, let me annotate your terminology below, so that we are on the same
> page :)
> 
> On Fri, 2018-05-25 at 07:20 -0600, John Medrano wrote:
>> Hello,
>>
>> I apologize for my terminology, it is causing some confusion. 
>>
>> If you download the source from https://github.com/EttusResearch/uhd. You 
>> can compile this version and it should work fine with latest version of GNU 
>> Radio
> 
> Nope – that's the wrong way around. UHD is a library used /by/ GNU
> Radio, so after building UHD, you need to build GNU Radio, to use that
> specific version of UHD.
> 
> 
>> But this version is missing additional modules that are available in branch 
>> rfnoc-devel. I inspected /host/lib/rfnoc for both the master and rfnoc-devel 
>> branches; there are several modules from rfnoc-devel branch such as sig_gen 
>> that are not available in master branch. That is what I am referring to as 
>> RFNOC UHD. I would like to continue using rfnoc-devel branch, and hence the 
>> issue that I am having. Since the version we were instructed that works with 
>> that branch, no longer compiles in latest version of Fedora. That version 
>> being v3.7.10.2.
> 
> So, as Derek said, for RFNOC features, you might have to build your own
> UHD (and consequently, your own GNU Radio afterwards) with specific
> flags.
> 
> 
>> When we build source, we typically install all dependencies and it the 
>> proceeds to build with no issue. But in this latest version of Fedora, we 
>> received compilation errors while trying to build v3.7.10.2.
> 
> To be 100 % certain I'm getting you correct here: when building UHD
> 3.7.10.2 on Fedora28, you're getting compile errors?
> 
>> Since latest version of GNU Radio built with no issue, I suspected that 
>> changes had been made to correct for newer version.
> 
> Again, building UHD (and installing it) has to happen before GNU Radio,
> and build errors in one are unrelated to the other, unless the GNU
> Radio compile error especially states that "hey, we've got some
> function that we expect, but the UHD headers don't declare that".
> 
>>
>> Where in the source code, do they check the version of UHD for compatibility?
> 
> Yes. GNU Radio checks, at runtime, whether the UHD library used when
> building GNU Radio is the same as is being loaded at run time. Because:
> these have to match.
> 
> The error you're experiencing, however, has nothing to do with that.
> It's a **firmware** version mismatch.
> GNU Radio doesn't know, care or directly interact with the firmware
> running on your USRP at all.
> 
> That's UHD checking whether the USRP runs the right firmware. 
> 
> This all has nothing to do with GNU Radio!
> 
> 
>> This will help me to look back at and see which GNU Radio versions are 
>> compatible with the rfnoc-devel branch.
> 
> Please stop saying that.
> GNU Radio has no relation to RFNoC.
> 
> Best regards,
> Marcus
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]