usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

uhd_image_builder using wrong directory

JM
Jason Matusiak
Wed, May 17, 2017 7:42 PM

I moved a directory instead of blowing it away and created a new ~/rfnoc
directory.  So now I have ~/rfnoc and ~/rfnoc_bu2.  Yet, when I go into
rfnoc and run uhd_image_builder_gui.py and add my new RFNoC OOT modules,
I get the following error:

./uhd_image_builder.py cpremoval freqShift axi_fifo_loopback fft -d x310
-t X310_RFNOC_HG
--Using the following blocks to generate image:
* cpremoval
* freqShift
* axi_fifo_loopback
* fft
Adding CE instantiation file for 'X310_RFNOC_HG'
changing temporarily working directory to
/home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/tools/scripts/../../top/x300
Setting up a 64-bit FPGA build environment for the USRP-X3x0...

  • Vivado: Found (/opt/Xilinx/Vivado/2015.4/bin)
  • Vivado HLS: Found (/opt/Xilinx/Vivado_HLS/2015.4/bin)

Environment successfully initialized.
make -f Makefile.x300.inc bin NAME=X310_RFNOC_HG ARCH=kintex7
PART_ID=xc7k410t/ffg900/-2 BUILD_1G=1 BUILD_10G=1 SFP0_1GBE=1
SFP1_10GBE=1  RFNOC=1 X310=1 EXTRA_DEFS="BUILD_1G=1 BUILD_10G=1
SFP0_1GBE=1 SFP1_10GBE=1  RFNOC=1 X310=1"
make[1]: Entering directory
/home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/top/x300' /home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/top/x300/Makefile.srcs:14: *** missing separator. Stop. make[1]: Leaving directory /home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/top/x300'
make: *** [X310_RFNOC_HG] Error 2

Any idea why it is somehow going to that old backup directory?....

I moved a directory instead of blowing it away and created a new ~/rfnoc directory. So now I have ~/rfnoc and ~/rfnoc_bu2. Yet, when I go into rfnoc and run uhd_image_builder_gui.py and add my new RFNoC OOT modules, I get the following error: ./uhd_image_builder.py cpremoval freqShift axi_fifo_loopback fft -d x310 -t X310_RFNOC_HG --Using the following blocks to generate image: * cpremoval * freqShift * axi_fifo_loopback * fft Adding CE instantiation file for 'X310_RFNOC_HG' changing temporarily working directory to /home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/tools/scripts/../../top/x300 Setting up a 64-bit FPGA build environment for the USRP-X3x0... - Vivado: Found (/opt/Xilinx/Vivado/2015.4/bin) - Vivado HLS: Found (/opt/Xilinx/Vivado_HLS/2015.4/bin) Environment successfully initialized. make -f Makefile.x300.inc bin NAME=X310_RFNOC_HG ARCH=kintex7 PART_ID=xc7k410t/ffg900/-2 BUILD_1G=1 BUILD_10G=1 SFP0_1GBE=1 SFP1_10GBE=1 RFNOC=1 X310=1 EXTRA_DEFS="BUILD_1G=1 BUILD_10G=1 SFP0_1GBE=1 SFP1_10GBE=1 RFNOC=1 X310=1" make[1]: Entering directory `/home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/top/x300' /home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/top/x300/Makefile.srcs:14: *** missing separator. Stop. make[1]: Leaving directory `/home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/top/x300' make: *** [X310_RFNOC_HG] Error 2 Any idea why it is somehow going to that old backup directory?....
NC
Nicolas Cuervo
Wed, May 17, 2017 8:21 PM

Hello Jason,

Please allow me to ask for clarification: So your question regards that you
are running the image builder from
"~/*rfnoc/srcr/uhd-fpga/usrp3/tools/scripts"
but the script is apparently running in "
~**/rfnoc_bu2/*src/uhd-f
pga/usrp3/tools/scripts/"?

-N

On Wed, May 17, 2017 at 9:42 PM, Jason Matusiak via USRP-users <
usrp-users@lists.ettus.com> wrote:

I moved a directory instead of blowing it away and created a new ~/rfnoc
directory.  So now I have ~/rfnoc and ~/rfnoc_bu2.  Yet, when I go into
rfnoc and run uhd_image_builder_gui.py and add my new RFNoC OOT modules, I
get the following error:

./uhd_image_builder.py cpremoval freqShift axi_fifo_loopback fft -d x310
-t X310_RFNOC_HG
--Using the following blocks to generate image:
* cpremoval
* freqShift
* axi_fifo_loopback
* fft
Adding CE instantiation file for 'X310_RFNOC_HG'
changing temporarily working directory to /home/jmat/rfnoc_bu2/src/uhd-f
pga/usrp3/tools/scripts/../../top/x300
Setting up a 64-bit FPGA build environment for the USRP-X3x0...

  • Vivado: Found (/opt/Xilinx/Vivado/2015.4/bin)
  • Vivado HLS: Found (/opt/Xilinx/Vivado_HLS/2015.4/bin)

Environment successfully initialized.
make -f Makefile.x300.inc bin NAME=X310_RFNOC_HG ARCH=kintex7
PART_ID=xc7k410t/ffg900/-2 BUILD_1G=1 BUILD_10G=1 SFP0_1GBE=1 SFP1_10GBE=1
RFNOC=1 X310=1 EXTRA_DEFS="BUILD_1G=1 BUILD_10G=1 SFP0_1GBE=1 SFP1_10GBE=1
RFNOC=1 X310=1"
make[1]: Entering directory /home/jmat/rfnoc_bu2/src/uhd- fpga/usrp3/top/x300' /home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/top/x300/Makefile.srcs:14: *** missing separator. Stop. make[1]: Leaving directory /home/jmat/rfnoc_bu2/src/uhd-
fpga/usrp3/top/x300'
make: *** [X310_RFNOC_HG] Error 2

Any idea why it is somehow going to that old backup directory?....


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

Hello Jason, Please allow me to ask for clarification: So your question regards that you are running the image builder from "~/*rfnoc/*srcr/uhd-fpga/usrp3/tools/scripts" but the script is apparently running in "*~**/rfnoc_bu2/*src/uhd-f pga/usrp3/tools/scripts/"? -N On Wed, May 17, 2017 at 9:42 PM, Jason Matusiak via USRP-users < usrp-users@lists.ettus.com> wrote: > I moved a directory instead of blowing it away and created a new ~/rfnoc > directory. So now I have ~/rfnoc and ~/rfnoc_bu2. Yet, when I go into > rfnoc and run uhd_image_builder_gui.py and add my new RFNoC OOT modules, I > get the following error: > > ./uhd_image_builder.py cpremoval freqShift axi_fifo_loopback fft -d x310 > -t X310_RFNOC_HG > --Using the following blocks to generate image: > * cpremoval > * freqShift > * axi_fifo_loopback > * fft > Adding CE instantiation file for 'X310_RFNOC_HG' > changing temporarily working directory to /home/jmat/rfnoc_bu2/src/uhd-f > pga/usrp3/tools/scripts/../../top/x300 > Setting up a 64-bit FPGA build environment for the USRP-X3x0... > - Vivado: Found (/opt/Xilinx/Vivado/2015.4/bin) > - Vivado HLS: Found (/opt/Xilinx/Vivado_HLS/2015.4/bin) > > Environment successfully initialized. > make -f Makefile.x300.inc bin NAME=X310_RFNOC_HG ARCH=kintex7 > PART_ID=xc7k410t/ffg900/-2 BUILD_1G=1 BUILD_10G=1 SFP0_1GBE=1 SFP1_10GBE=1 > RFNOC=1 X310=1 EXTRA_DEFS="BUILD_1G=1 BUILD_10G=1 SFP0_1GBE=1 SFP1_10GBE=1 > RFNOC=1 X310=1" > make[1]: Entering directory `/home/jmat/rfnoc_bu2/src/uhd- > fpga/usrp3/top/x300' > /home/jmat/rfnoc_bu2/src/uhd-fpga/usrp3/top/x300/Makefile.srcs:14: *** > missing separator. Stop. > make[1]: Leaving directory `/home/jmat/rfnoc_bu2/src/uhd- > fpga/usrp3/top/x300' > make: *** [X310_RFNOC_HG] Error 2 > > Any idea why it is somehow going to that old backup directory?.... > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com >