usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Re: [USRP-users] .bin make issues

AH
Aaron Henderson
Tue, Jun 16, 2015 7:46 PM

Martin,
Yes. I have visited the link you sent me. That is where I discovered the misnamed file path. Usrp3/top instead of usrp2/top, but I have no top files through either of those file paths do it didn't matter anyways.
I believe the apt-get command were through my not reading completely. Those were for the UHD code.
ISE is properly installed without any issues.
Aaron

Sent via the Samsung Galaxy Note® 3, an AT&T 4G LTE smartphone

-------- Original message --------
From: Martin Braun via USRP-users usrp-users@lists.ettus.com
Date: 06/16/2015  2:36 PM  (GMT-06:00)
To: "'USRP-users@lists.ettus.com'" usrp-users@lists.ettus.com
Subject: Re: [USRP-users] .bin make issues

Aaron,

I'm sure we can get your FPGA build going, but you'll have to give us
some more info to help you.

First, have you checked out the FPGA manual:
http://files.ettus.com/manual/md_fpga.html

Second, none of the apt-get commands you quote are required, but you
have to make sure ISE is properly installed (Xilinx have their own
resources to explain this). Once that's a-OK, running 'make' should be
pretty straightforward.

As you're building your own image, I'm assuming you're familiar with
Xilinx tools, or at least are planning to get there. If you just need a
stock image, you don't have to go through this step.

Finally, please stay on the list (i.e. answer to the mailing list
address) so everyone will be able to read and answer.

Cheers,
Martin

On 16.06.2015 12:27, Aaron Henderson wrote:

I am trying to gain the bitstream file to instantiate in ISE. So I will
need the fpga image.

Aaron

Sent via the Samsung Galaxy Note® 3, an AT&T 4G LTE smartphone

-------- Original message --------
From: Martin Braun via USRP-users usrp-users@lists.ettus.com
Date: 06/16/2015 1:34 PM (GMT-06:00)
To: usrp-users@lists.ettus.com
Subject: Re: [USRP-users] .bin make issues

Aaron,

are you trying to build UHD or FPGA images? Or both?

M

On 16.06.2015 10:46, Aaron Henderson via USRP-users wrote:

I should preface this email with I am new to Linux(which equals I don't
know shit).

I have used two methods to gain the .bin file for use with ISE 12.2.

Method 1: git://github.com/EttusResearch/uhd.gituhd
http://github.com/EttusResearch/uhd.gituhd code

Result: I did not get the top files for the binary make.

Method 2: I followed this word for word (or should I say command for
command).

Result: E: Unable to correct problems, you have held broken packages. I
get his message when I run either, 'sudo apt-get install
libboost-all-dev libusb-1.0-0-dev python-cheetah doxygen python-docutils
cmake' or 'sudo apt-get install -t lsb_release -cs uhd'.

Am I doing something wrong or is there a better way to go about gaining
a way to get the binary file to make correctly?

Aaron
Sent via the Samsung Galaxy Note® 3, an AT&T 4G LTE smartphone


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

Martin, Yes. I have visited the link you sent me. That is where I discovered the misnamed file path. Usrp3/top instead of usrp2/top, but I have no top files through either of those file paths do it didn't matter anyways. I believe the apt-get command were through my not reading completely. Those were for the UHD code. ISE is properly installed without any issues. Aaron Sent via the Samsung Galaxy Note® 3, an AT&T 4G LTE smartphone -------- Original message -------- From: Martin Braun via USRP-users <usrp-users@lists.ettus.com> Date: 06/16/2015 2:36 PM (GMT-06:00) To: "'USRP-users@lists.ettus.com'" <usrp-users@lists.ettus.com> Subject: Re: [USRP-users] .bin make issues Aaron, I'm sure we can get your FPGA build going, but you'll have to give us some more info to help you. First, have you checked out the FPGA manual: http://files.ettus.com/manual/md_fpga.html Second, none of the apt-get commands you quote are required, but you have to make sure ISE is properly installed (Xilinx have their own resources to explain this). Once that's a-OK, running 'make' should be pretty straightforward. As you're building your own image, I'm assuming you're familiar with Xilinx tools, or at least are planning to get there. If you just need a stock image, you don't have to go through this step. Finally, please stay on the list (i.e. answer to the mailing list address) so everyone will be able to read and answer. Cheers, Martin On 16.06.2015 12:27, Aaron Henderson wrote: > I am trying to gain the bitstream file to instantiate in ISE. So I will > need the fpga image. > > Aaron > > > > Sent via the Samsung Galaxy Note® 3, an AT&T 4G LTE smartphone > > > -------- Original message -------- > From: Martin Braun via USRP-users <usrp-users@lists.ettus.com> > Date: 06/16/2015 1:34 PM (GMT-06:00) > To: usrp-users@lists.ettus.com > Subject: Re: [USRP-users] .bin make issues > > Aaron, > > are you trying to build UHD or FPGA images? Or both? > > M > > On 16.06.2015 10:46, Aaron Henderson via USRP-users wrote: >> I should preface this email with I am new to Linux(which equals I don't >> know shit). >> >> I have used two methods to gain the .bin file for use with ISE 12.2. >> >> Method 1: git://github.com/EttusResearch/uhd.gituhd >> <http://github.com/EttusResearch/uhd.gituhd> code >> >> Result: I did not get the top files for the binary make. >> >> Method 2: I followed this word for word (or should I say command for >> command). >> >> Result: E: Unable to correct problems, you have held broken packages. I >> get his message when I run either, 'sudo apt-get install >> libboost-all-dev libusb-1.0-0-dev python-cheetah doxygen python-docutils >> cmake' or 'sudo apt-get install -t `lsb_release -cs` uhd'. >> >> Am I doing something wrong or is there a better way to go about gaining >> a way to get the binary file to make correctly? >> >> Aaron >> Sent via the Samsung Galaxy Note® 3, an AT&T 4G LTE smartphone >> >> >> _______________________________________________ >> 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 _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
MB
Martin Braun
Wed, Jun 17, 2015 4:19 PM

On 16.06.2015 12:46, Aaron Henderson wrote:

Martin,

Yes. I have visited the link you sent me. That is where I discovered the
misnamed file path. Usrp3/top instead of usrp2/top, but I have no top
files through either of those file paths do it didn't matter anyways.

I believe the apt-get command were through my not reading completely.
Those were for the UHD code.

ISE is properly installed without any issues.

Great, then you're all set! Good luck with your FPGA development.

Cheers,
Martin

On 16.06.2015 12:46, Aaron Henderson wrote: > Martin, > > Yes. I have visited the link you sent me. That is where I discovered the > misnamed file path. Usrp3/top instead of usrp2/top, but I have no top > files through either of those file paths do it didn't matter anyways. > > I believe the apt-get command were through my not reading completely. > Those were for the UHD code. > > ISE is properly installed without any issues. Great, then you're all set! Good luck with your FPGA development. Cheers, Martin
AH
Aaron Henderson
Thu, Jun 18, 2015 2:09 PM

When I use the command

  1. 'aaron@waled-Precision-WorkStation-670:~/Desktop/uhd-images_003.008.001-release/share/uhd/images$ make -f usrp_n210_r3_fpga.bin' I get the error 'usrp_n210_r3_fpga.bin:1: warning: NUL character seen; rest of line ignored
    usrp_n210_r3_fpga.bin:1: *** missing separator.  Stop.'

or if I use this command, as is specified in the FPGA manual, 'aaron@waled-Precision-WorkStation-670:~/Desktop/uhd-images_003.008.001-release/share/uhd/images$ make usrp_n210_r3_fpga.bin' I get the error 'make: Nothing to be done for `usrp_n210_r3_fpga.bin'.'

I must be doing something wrong.

Aaron

Date: Wed, 17 Jun 2015 09:19:57 -0700
From: martin.braun@ettus.com
To: eginehen@hotmail.com; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] .bin make issues

On 16.06.2015 12:46, Aaron Henderson wrote:

Martin,

Yes. I have visited the link you sent me. That is where I discovered the
misnamed file path. Usrp3/top instead of usrp2/top, but I have no top
files through either of those file paths do it didn't matter anyways.

I believe the apt-get command were through my not reading completely.
Those were for the UHD code.

ISE is properly installed without any issues.

Great, then you're all set! Good luck with your FPGA development.

Cheers,
Martin

When I use the command 1. 'aaron@waled-Precision-WorkStation-670:~/Desktop/uhd-images_003.008.001-release/share/uhd/images$ make -f usrp_n210_r3_fpga.bin' I get the error 'usrp_n210_r3_fpga.bin:1: warning: NUL character seen; rest of line ignored usrp_n210_r3_fpga.bin:1: *** missing separator. Stop.' or if I use this command, as is specified in the FPGA manual, 'aaron@waled-Precision-WorkStation-670:~/Desktop/uhd-images_003.008.001-release/share/uhd/images$ make usrp_n210_r3_fpga.bin' I get the error 'make: Nothing to be done for `usrp_n210_r3_fpga.bin'.' I must be doing something wrong. Aaron > Date: Wed, 17 Jun 2015 09:19:57 -0700 > From: martin.braun@ettus.com > To: eginehen@hotmail.com; usrp-users@lists.ettus.com > Subject: Re: [USRP-users] .bin make issues > > On 16.06.2015 12:46, Aaron Henderson wrote: > > Martin, > > > > Yes. I have visited the link you sent me. That is where I discovered the > > misnamed file path. Usrp3/top instead of usrp2/top, but I have no top > > files through either of those file paths do it didn't matter anyways. > > > > I believe the apt-get command were through my not reading completely. > > Those were for the UHD code. > > > > ISE is properly installed without any issues. > > Great, then you're all set! Good luck with your FPGA development. > > Cheers, > Martin >
IB
Ian Buckley
Thu, Jun 18, 2015 5:57 PM

Aaron,
Reading back through your posts to the list I think you may have some fundamental miss-understandings with how ISE works. Fundamentally .bin files are the output products of ISE, they contain all the compiled configuration data required to program the FPGA. They are not input files to ISE, they do not capture source code information. To run ISE you require Verilog or VHDL source code files. In the case of N210R3 the FPGA source files are located in directories below: $(AARANS_UHD_INSTALL)/fpga-src/usrp2. To compile the FPGA design for N210R3:

cd $(AARANS_UHD_INSTALL)/fpga-src/usrp2/top/N2x0
make N210R3

-Ian

On Jun 18, 2015, at 7:09 AM, Aaron Henderson via USRP-users usrp-users@lists.ettus.com wrote:

When I use the command

  1. 'aaron@waled-Precision-WorkStation-670:~/Desktop/uhd-images_003.008.001-release/share/uhd/images$ make -f usrp_n210_r3_fpga.bin' I get the error 'usrp_n210_r3_fpga.bin:1: warning: NUL character seen; rest of line ignored
    usrp_n210_r3_fpga.bin:1: *** missing separator.  Stop.'

or if I use this command, as is specified in the FPGA manual, 'aaron@waled-Precision-WorkStation-670:~/Desktop/uhd-images_003.008.001-release/share/uhd/images$ make usrp_n210_r3_fpga.bin' I get the error 'make: Nothing to be done for `usrp_n210_r3_fpga.bin'.'

I must be doing something wrong.

Aaron

Date: Wed, 17 Jun 2015 09:19:57 -0700
From: martin.braun@ettus.com
To: eginehen@hotmail.com; usrp-users@lists.ettus.com
Subject: Re: [USRP-users] .bin make issues

On 16.06.2015 12:46, Aaron Henderson wrote:

Martin,

Yes. I have visited the link you sent me. That is where I discovered the
misnamed file path. Usrp3/top instead of usrp2/top, but I have no top
files through either of those file paths do it didn't matter anyways.

I believe the apt-get command were through my not reading completely.
Those were for the UHD code.

ISE is properly installed without any issues.

Great, then you're all set! Good luck with your FPGA development.

Cheers,
Martin

Aaron, Reading back through your posts to the list I think you may have some fundamental miss-understandings with how ISE works. Fundamentally .bin files are the *output* products of ISE, they contain all the compiled configuration data required to program the FPGA. They are not *input* files to ISE, they do not capture source code information. To run ISE you require Verilog or VHDL source code files. In the case of N210R3 the FPGA source files are located in directories below: $(AARANS_UHD_INSTALL)/fpga-src/usrp2. To compile the FPGA design for N210R3: cd $(AARANS_UHD_INSTALL)/fpga-src/usrp2/top/N2x0 make N210R3 -Ian On Jun 18, 2015, at 7:09 AM, Aaron Henderson via USRP-users <usrp-users@lists.ettus.com> wrote: > When I use the command > 1. 'aaron@waled-Precision-WorkStation-670:~/Desktop/uhd-images_003.008.001-release/share/uhd/images$ make -f usrp_n210_r3_fpga.bin' I get the error 'usrp_n210_r3_fpga.bin:1: warning: NUL character seen; rest of line ignored > usrp_n210_r3_fpga.bin:1: *** missing separator. Stop.' > > or if I use this command, as is specified in the FPGA manual, 'aaron@waled-Precision-WorkStation-670:~/Desktop/uhd-images_003.008.001-release/share/uhd/images$ make usrp_n210_r3_fpga.bin' I get the error 'make: Nothing to be done for `usrp_n210_r3_fpga.bin'.' > > I must be doing something wrong. > > Aaron > > > > > > > Date: Wed, 17 Jun 2015 09:19:57 -0700 > > From: martin.braun@ettus.com > > To: eginehen@hotmail.com; usrp-users@lists.ettus.com > > Subject: Re: [USRP-users] .bin make issues > > > > On 16.06.2015 12:46, Aaron Henderson wrote: > > > Martin, > > > > > > Yes. I have visited the link you sent me. That is where I discovered the > > > misnamed file path. Usrp3/top instead of usrp2/top, but I have no top > > > files through either of those file paths do it didn't matter anyways. > > > > > > I believe the apt-get command were through my not reading completely. > > > Those were for the UHD code. > > > > > > ISE is properly installed without any issues. > > > > Great, then you're all set! Good luck with your FPGA development. > > > > Cheers, > > Martin > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com