FYI, the UHD commit number I mentioned previously fails "make test" (an
older mailer thread confirms this) which I didn't run originally and
manifested runtime problems. And GRC couldn't launch with the GNU Radio
version I mentioned (maybe related to that UHD bug). Reverting builds have
been shots in the dark but I'm hoping the following combo works:

This version of UHD builds fine: 93e5ff8

Trying this GNU Radio commit: 4e583c3 (after checkout don't forget to run
git submodule update --init --recursive)

This gr-ettus commit: 669390c11381d104dd4a0fe84791f3de0f0e3a3b

And this fpga commit: 59ea1c12ded3cc3dca16407c1d62a4eafbf13df7

My objective is Vivado 2015.4 compatibility and need to modify older RFNoC
library for simultaneous Rx/Tx on both X310 channels (same modifications
don't work on newer releases--only got one channel working for simultaneous
Rx/Tx). Wish I logged commit versions before I lost everything.

Andrew

On Sun, Apr 29, 2018 at 12:46 PM, Yacine Bouguechal <
yacine.bouguec...@ensta-paristech.fr> wrote:

> Thank you very much for your quick answer.
> (I thought you changed the commit of UHD that's why I asked)
> Best Regards,
>
> *Yacine BOUGUECHAL*
>
>
>
> Élève ingénieur 3ème année
> <https://www.ensta-paristech.fr/?utm-source=mails>
>
> *ENSTA ParisTech*
>
> 828, boulevard des Maréchaux
> <https://maps.google.com/?q=828,+boulevard+des+Mar%C3%A9chaux+%0D%0A%09%09%09+91120+PALAISEAU&entry=gmail&source=g>
>
> 91120 PALAISEAU
> <https://maps.google.com/?q=828,+boulevard+des+Mar%C3%A9chaux+%0D%0A%09%09%09+91120+PALAISEAU&entry=gmail&source=g>
> [plan <https://www.ensta-paristech.fr/fr/venir-ensta-paristech>]
>
> www.ensta-paristech.fr
>
> Nos réseaux : Facebook <https://www.facebook.com/ENSTA.ParisTech> |
> Twitter <https://www.twitter.com/ENSTAParisTech> | Google+
> <https://plus.google.com/+ENSTA-ParisTechFr/posts> | YouTube
> <https://www.youtube.com/user/ENSTAParisTech> | LinkedIn
> <https://www.linkedin.com/company/ensta>
>
> ------------------------------
> *De: *"switchlanez" <switchla...@gmail.com>
> *À: *"Yacine Bouguechal" <yacine.bouguec...@ensta-paristech.fr>
> *Cc: *"Nicolas Cuervo" <nicolas.cue...@ettus.com>, "
> USRP-users@lists.ettus.com" <usrp-users@lists.ettus.com>
> *Envoyé: *Dimanche 29 Avril 2018 21:41:12
>
> *Objet: *Re: [USRP-users] Revert rfnoc-devel to older commit / update
> rfnoc-devel to rfnoc-maint HEAD
>
> It's in my first reply to Nicolas. These checkouts are from the
> "rfnoc-devel" branch of uhd, gr-ettus, and fpga and the master branch of
> gnuradio:
>
> cd uhd
> git checkout ba11bf2d699957e9a5d9b587de045162d2fce3e3
>
> cd gnuradio
> git checkout 11d59e9f227e3d3f5c388c376ee59e0cfa021dcf
> git submodule update --init --recursive
>
> cd gr-ettus
> git checkout fbea7f763460ffb42592c6c1c389047b6e0e1a10
>
> cd uhd-fpga
> git checkout 8b731c3b277fb2caee0b9633c9b159e55f175486
>
> On Sun, Apr 29, 2018 at 12:29 PM, Yacine Bouguechal <
> yacine.bouguec...@ensta-paristech.fr> wrote:
>
>> Hello,
>> Can you please tell me what versions of the different packages you used
>> because I am also trying to revert back to old commit.
>> Thank you.
>>
>>
>> ------------------------------
>> *De: *"switchlanez via USRP-users" <usrp-users@lists.ettus.com>
>> *À: *"Nicolas Cuervo" <nicolas.cue...@ettus.com>
>> *Cc: *"USRP-users@lists.ettus.com" <usrp-users@lists.ettus.com>
>> *Envoyé: *Dimanche 29 Avril 2018 21:22:05
>> *Objet: *Re: [USRP-users] Revert rfnoc-devel to older commit / update
>> rfnoc-devel to rfnoc-maint HEAD
>>
>> I got uhd to build. Thanks for your help.
>>
>> On Sun, Apr 29, 2018 at 11:33 AM, switchlanez <switchla...@gmail.com>
>> wrote:
>>
>>> Thank you for the response, Nicolas. I realized the aec2fe9 commit from
>>> 27-JUN-17 only applies to the "maint" branch in the "fpga" repo. Instead I
>>> should checkout commits from the "rfnoc-devel" branch of the "fpga,"
>>> "gr-ettus," and "uhd" repos and "master" branch of the "gnuradio" repo
>>> (from gnuradio/gnuradio github, not ettusresearch/gnuradio). So after
>>> uninstalling whatever builds I had of uhd, gnuradio, and gr-ettus (I guess
>>> uhd-fpga isn't installed), I checked out commits on or before 27-JUN-17:
>>>
>>> cd uhd
>>> git checkout ba11bf2d699957e9a5d9b587de045162d2fce3e3
>>>
>>> cd gnuradio
>>> git checkout 11d59e9f227e3d3f5c388c376ee59e0cfa021dcf
>>> git submodule update --init --recursive
>>>
>>> cd gr-ettus
>>> git checkout fbea7f763460ffb42592c6c1c389047b6e0e1a10
>>>
>>> cd uhd-fpga
>>> git checkout 8b731c3b277fb2caee0b9633c9b159e55f175486
>>>
>>> Then built in that order but I get a make error in "uhd":
>>>
>>> /home/switchlanez/rfnoc/src/uhd/host/include/uhd/rfnoc/block_ctrl_base.hpp:74:69:
>>> error: invalid new-expression of abstract class type
>>> ‘uhd::rfnoc::magnesium_radio_ctrl_impl’
>>>          return block_ctrl_base::sptr(new CLASS_NAME##_impl(make_args));
>>> \
>>> ...
>>> lib/CMakeFiles/uhd.dir/build.make:3088: recipe for target
>>> 'lib/CMakeFiles/uhd.dir/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp.o'
>>> failed
>>>
>>>
>>> I guess I'll try a different commit from "uhd" repo/"rfnoc-devel" branch
>>> unless you or someone can see something else I'm doing fundamentally wrong.
>>>
>>> Andrew
>>>
>>> On Sun, Apr 29, 2018 at 10:40 AM, Nicolas Cuervo <
>>> nicolas.cue...@ettus.com> wrote:
>>>
>>>> Hello Andrew,
>>>>
>>>>> I did a fresh install of the latest rfnoc-devel (using pybombs prefix
>>>>> init ~/rfnoc -R rfnoc -a rfnoc) and RFNoC blocks do not work (such as FIR
>>>>> and Rx Radio, possibly related to USRP-users mailer subject: Core dump 
>>>>> with
>>>>> UHD_3.11, X310, and LFTX). So I am trying to checkout and build 
>>>>> rfnoc-devel
>>>>> to a known stable commit: aec2fe9. I ran git checkout aec2fe9 in
>>>>> rfnoc/src/uhd, rfnoc/src/gnuradio, and rfnoc/src/gr-ettus. Then from
>>>>> uhd/host/build I ran cmake ../ but got this error:
>>>>>
>>>>>
>>>>>
>>>>> CMake Error: The source directory "/home/switchlanez/rfnoc/src/uhd/host"
>>>>> does not appear to contain CMakeLists.txt
>>>>>
>>>>
>>>> Please correct me if I'm wrong, but did you run "git checkout aec2fe9"
>>>> in *all* those repositories? that Git hash might be correct for only one of
>>>> them, and the corresponding according commit in the other repositories
>>>> remains unknown. Where did you take that hash from?
>>>>
>>>> If what I understood is what you did, that might be causing you
>>>> problems. You need to identify which commits for each of the repositories
>>>> is according to an "stable" version, and checkout accordinglu and
>>>> respectively.
>>>>
>>>>
>>>>> So I downloaded that file from GitHub with the closest date on or
>>>>> before aec2fe9 was released and tried cmake ../ again. But then it could
>>>>> not find a bunch of load files: UHDComponent, UHDPackage, etc. And the
>>>>> cycle continues.
>>>>>
>>>>
>>>> See my previous comment.
>>>>
>>>>
>>>>>
>>>>> 1) What am I doing wrong here? Reverting to older commits seems like a
>>>>> typical thing RNFoC users would do but I haven't found specific steps in
>>>>> the mailer (links to topics would help).
>>>>>
>>>>
>>>> See my previous comment. Reverting to older commits is something that
>>>> is commonly done, yes. From what I understood you run to a same hash in all
>>>> of the involved repos. I might have understood wrong, but that's not what
>>>> you'd want to do.
>>>>
>>>>>
>>>>>
>>>>> 2) I was told the maint branch head will be updated "very soon."
>>>>> Assuming I do another fresh new install (using pybombs prefix init ~/rfnoc
>>>>> -R rfnoc -a rfnoc like I did above) but with a different prefix, how would
>>>>> the steps be different to start from the latest rfnoc-devel installation
>>>>> and update it to the maint branch head? Or is there a pybombs recipe to
>>>>> build the latest rfnoc-maint?
>>>>>
>>>>
>>>> There is no "rfnoc-maint". All RFNoC development is done in the
>>>> "rfnoc-devel" branch. If you change the branch, you wouldn't be able to use
>>>> all the RFNoC features needed for development.
>>>>
>>>>
>>>> Cheers,
>>>> - Nicolas
>>>>
>>>
>>>
>>
>> _______________________________________________
>> USRP-users mailing list
>> USRP-users@lists.ettus.com
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>
>
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to