It's been a while since I did this, but I had issues bringing up the gui as 
well. Here is a copy/paste of some notes I wrote for myself:


  *   Edit the file "$PREFIX/bin/rfnoc_image_builder".
  *   Find the line "gui=args.GUI" and change it to "GUI=args.GUI" and save it.
  *   Next, edit "$PREFIX/../src/uhd/fpga/usrp3/tools/script/setupenv_base.sh" 
to make sure it properly reflects your Vivado installation path.

Once I replaced "gui" with "GUI", the -g option worked fine with 
rfnoc_image_builder. The last note was something I had to change so my Vivado 
path was set correctly.

Hope this helps,
Jim

________________________________
From: USRP-users <[email protected]> on behalf of Mark D via 
USRP-users <[email protected]>
Sent: Tuesday, February 9, 2021 8:48 AM
To: 'Wade Fife' <[email protected]>
Cc: '[email protected]' <[email protected]>
Subject: Re: [USRP-users] Opening Vivado GUI during FPGA image build


Wade, usrp-users,



I’m now trying to build some code in an OOT directory.



I can build the design with the rfnoc_image_builder Ok, however I can use the 
two step workaround to get the Vivado GUI to open. When I try and run “make 
E320_1G GUI=1” I just get an error saying that there is no rule to make target 
‘E320_1G’.



Any idea how I can use the two step workaround from an OOT directory, or how I 
might be able to get rfnoc_image_builder to bring up the GUI?



Thanks,



Mark



From: Mark D
Sent: 03 February 2021 09:49
To: 'Wade Fife' <[email protected]>
Cc: [email protected]
Subject: RE: [USRP-users] Opening Vivado GUI during FPGA image build



Thanks Wade,



I had tried this just before your email. The first time I did this I got an 
error from make saying that Vivado wasn’t found in the environment and that I 
should run setupenv.sh.



Running “source setupenv.sh” fixed this issue and “make E320_1G” GUI=1 did open 
the design up in Vivado.



One thing that might be a cause of the issue is that I don’t have vivado 
installed at the “standard” location. It seems strange that rfnoc_image_builder 
finds it Ok. Maybe if I try the -g option after running the setupenv.sh it 
might work.



Thanks again for your help,



Mark

From: Wade Fife <[email protected]<mailto:[email protected]>>
Sent: 02 February 2021 17:45
To: Mark D <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [USRP-users] Opening Vivado GUI during FPGA image build



Hi Mark,



This is curious. If I recall, someone else was having trouble with -g, but it 
worked for me last time I tried it. I will try it again to see if I can 
reproduce anything. In the meantime, you can run rfnoc_image_builder and make 
in separate steps. See if this works:



# Generate the build files only; don't build the image

rfnoc_image_builder -y e320_my_fpga.yml -t E320_1G --generate-only

# Build the image with the GUI

make E320_1G GUI=1



Thanks,



Wade



________________________________
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager.
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to