[USRP-users] Problems when Running UHD_3.14.1 Examples on E310

Jason Matusiak jason at gardettoengineering.com
Tue Nov 5 07:44:51 EST 2019


Zhongren,

I am not sure that this will help you, but one of the things that I did when working with the E31x was to install everything to ~/localhost and leave the default stuff alone.  I then created a setup_env.sh for those new files (similar to what pybombs does), and run that before I using my custom stuff.

This allows the default stuff to stay there in case I want to test with it again.  It also keeps all of my stuff in a single folder that I can then blow away if I want.

Good luck!

________________________________
From: USRP-users <usrp-users-bounces at lists.ettus.com> on behalf of zcao--- via USRP-users <usrp-users at lists.ettus.com>
Sent: Monday, November 4, 2019 3:25 PM
To: Philip Balister <philip at balister.org>
Cc: USRP-users <USRP-users at lists.ettus.com>
Subject: Re: [USRP-users] Problems when Running UHD_3.14.1 Examples on E310

Philip,

Thanks for the response. That’s what we did to get through the issue.

But is it what we supposed to do, i.e., edit these UHD provided python scripts manually?

Thanks,
Zhongren

On Nov 4, 2019, at 2:27 PM, Philip Balister <philip at balister.org<mailto:philip at balister.org>> wrote:

On 11/4/19 5:04 PM, zcao--- via USRP-users wrote:
Hi,

We are trying to run UHD examples on E310. The process we took are as the following.

1. Flash a fresh SDcard using the dev image located at http://files.ettus.com/e3xx_images/e3xx-release-4/ettus-e3xx-sg3/<https://urldefense.proofpoint.com/v2/url?u=http-3A__files.ettus.com_e3xx-5Fimages_e3xx-2Drelease-2D4_ettus-2De3xx-2Dsg3_&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=W_MQLyUWPXWHfsF4mr51mTMqpeO4RbBBLexficV9DG8&m=BqKFEhCjIyH_Wt0BKhMuJ7WuKNliqtjAQnzUTDZl0uE&s=41C6cQDFwbYWuSCMDK9Be4hZSEYzwS5dapTh9xXRs2U&e=> <http://files.ettus.com/e3xx_images/e3xx-release-4/ettus-e3xx-sg3/<https://urldefense.proofpoint.com/v2/url?u=http-3A__files.ettus.com_e3xx-5Fimages_e3xx-2Drelease-2D4_ettus-2De3xx-2Dsg3_&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=W_MQLyUWPXWHfsF4mr51mTMqpeO4RbBBLexficV9DG8&m=BqKFEhCjIyH_Wt0BKhMuJ7WuKNliqtjAQnzUTDZl0uE&s=41C6cQDFwbYWuSCMDK9Be4hZSEYzwS5dapTh9xXRs2U&e=>>

2. Cross-compile UHD source code on a development machine and install the build on to the E310 device using sshfs. Note that this is a different from what is proposed in AN-311. We installed UHD 3.14 onto the device directly.

3. Running /usr/bin/uhd_find_devices, we got the following output, looks normal.

[INFO] [UHD] linux; GNU C++ version 4.9.2; Boost_105700; UHD_3.14.1.1-0-g0347a6d8
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
   serial: 31819A1
   name:
   node: /dev/axi_fpga
   product: E3XX SG3
   type: e3x0


However, we ran into the following problems, which seem to be related.

1. We cannot run /usr/bin/uhd_usrp_probe, because of the FPGA compatibility. Specifically, the error messages are

Error: RuntimeError: Expected FPGA compatibility number 255.x, but got 14.0:
The FPGA build is not compatible with the host code build.
Please run:

"/usr/lib/uhd/utils/uhd_images_downloader.py"


2. But running the above python script gives us the following error messages.

-sh: /usr/lib/uhd/utils/uhd_images_downloader.py: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/python2: bad interpreter: No such file or directory/

Look at the script /usr/lib/uhd/utils/uhd_images_downloader.py and edit
the #!/bin/fo/bar/python to something reasonable.

Philip



Note that the python script is looking for the SDK, which should be on the development machine, instead of the device itself.

Would really appreciate it if anyone knows how to handle above issues in E310 device itself?

Thanks,
Arnold



_______________________________________________
USRP-users mailing list
USRP-users at lists.ettus.com<mailto:USRP-users at lists.ettus.com>
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


Arnold Z. Cao, Ph.D.

C-3 Comm Systems, LLC
3100 Clarendon Blvd., Suite 200
Arlington, VA 22201
Phone: (703) 829-0588
Email : zcao at c3commsystems.com<mailto:zcao at c3commsystems.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20191105/16f70cc2/attachment.html>


More information about the USRP-users mailing list