Greetings Nate,

Thanks for getting back to me so quickly. I will be sure to flash the OS to
release 4 and roll back my dev environment to match the instructions.

Regards,
Jon Lockhart


On Fri, Oct 11, 2019, 1:20 PM Nate Temple <nate.tem...@ettus.com> wrote:

> Hi Jon,
>
> If you are following this app note [0], I would recommend starting with
> the release-4 image. The pre-3.15 MPM based image that has been released is
> currently a "beta" release. It lacks several of the dependencies required
> to build out GNU Radio. We are working on a new release and hope to have it
> posted soon.
>
> [0] -
> https://kb.ettus.com/Software_Development_on_the_E3xx_USRP_-_Building_RFNoC_UHD_/_GNU_Radio_/_gr-ettus_from_Source
>
>
> Regards,
> Nate Temple
>
> On Fri, Oct 11, 2019 at 10:14 AM Jonathan Lockhart <jlockhar...@gmail.com>
> wrote:
>
>> Greetings Ettus Radio List,
>>
>> I have recently acquired and began using an Ettus E312 and have been
>> trying to configure the dev host and the cross compile environment.
>> Unfortunately I am having issues completing some of these tasks with the
>> pre-release version of 3.15 image that Ettus mentions you should use in the
>> manual for the E312. I forward those issues to support but have heard no
>> reply. Please refer below to the issues I am reporting. The GNURadio cross
>> compile issue with the SDK and environment is the more crucial one at the
>> moment. I was wondering if anyone else has been experiencing these issues
>> and if so how did you proceed to get it resolved. Is there an image, sdk,
>> GNURadio version that I should be using other than the 3.15 image and
>> instructions that Ettus currently recommends using until a stable RC is
>> provided?
>>
>> Thanks for your help and feedback.
>>
>> Regards,
>> Jon Lockhart
>>
>>
>> ---------- Forwarded message ---------
>> From: Jonathan Lockhart <jlockhar...@gmail.com>
>> Date: Mon, Oct 7, 2019 at 3:16 PM
>> Subject: Issues Completing Radio Build and Installation
>> To: <supp...@ettus.com>
>>
>>
>> Greetings Ettus Support,
>>
>> I recently acquired an Ettus E312 and I was looking to do some
>> development on it. Unfortunately I am have been having some issues. The
>> manual via files.ettus.com and the "Getting Started" both failed to
>> provide a working environment.
>>
>> The farthest I got was downloading the meta section direction for the
>> E312 to get 3.15.0 image and sdk for the radio, and then following this
>> guide page for 3.14, correcting the UHD install accordingly to comply with
>> 3.15. (Guide
>> https://kb.ettus.com/Software_Development_on_the_E3xx_USRP_-_Building_RFNoC_UHD_/_GNU_Radio_/_gr-ettus_from_Source#Running_RFNoC_Fosphor
>> )
>>
>> When mounting the cross compiled UHD folders via the instructions on the
>> radio, and using the uhd_usrp_probe command, there is an error checking for
>> the libusb_init information.
>>
>> root@ni-e31x-313179A:~/newinstall# uhd_usrp_probe
>> [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106600;
>> UHD_3.15.0.HEAD-0-g6563c537
>> [ERROR] [UHD] Device discovery error: AssertionError:
>> libusb_init(&_context) == 0
>>   in libusb_session_impl::libusb_session_impl()
>>   at /home/jon/rfnoc/src/uhd/host/lib/transport/libusb1_base.cpp:36
>>
>> [ERROR] [UHD] Device discovery error: AssertionError:
>> libusb_init(&_context) == 0
>>   in libusb_session_impl::libusb_session_impl()
>>   at /home/jon/rfnoc/src/uhd/host/lib/transport/libusb1_base.cpp:36
>>
>> [ERROR] [UHD] Device discovery error: AssertionError:
>> libusb_init(&_context) == 0
>>   in libusb_session_impl::libusb_session_impl()
>>   at /home/jon/rfnoc/src/uhd/host/lib/transport/libusb1_base.cpp:36
>>
>> [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
>> mgmt_addr=127.0.0.1,type=e3xx,product=e310_sg3,serial=313179A,claimed=False
>> [INFO] [MPM.PeriphManager] Found 1 daughterboard(s).
>> [INFO] [MPM.PeriphManager] init() called with device args
>> `product=e310_sg3,mgmt_addr=127.0.0.1'.
>> [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000003310)
>> [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
>> [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
>> [INFO] [0/Radio_0] RX freq = 2.4e+09
>> [INFO] [0/Radio_0] RX band = 6
>> [INFO] [0/Radio_0] RX SW1 = 5
>> [INFO] [0/Radio_0] RX SWC = 0
>> [INFO] [0/Radio_0] RX SWB = 1
>> [INFO] [0/Radio_0] RX VCRX_SW = 1
>> [INFO] [0/Radio_0] RX VCTXRX_SW = 0
>> [INFO] [0/Radio_0] RX freq = 2.4e+09
>> [INFO] [0/Radio_0] RX band = 6
>> [INFO] [0/Radio_0] RX SW1 = 5
>> [INFO] [0/Radio_0] RX SWC = 0
>> [INFO] [0/Radio_0] RX SWB = 1
>> [INFO] [0/Radio_0] RX VCRX_SW = 1
>> [INFO] [0/Radio_0] RX VCTXRX_SW = 0
>> [INFO] [0/Radio_0] RX freq = 2.4e+09
>> [INFO] [0/Radio_0] RX band = 6
>> [INFO] [0/Radio_0] RX SW1 = 5
>> [INFO] [0/Radio_0] RX SWC = 0
>> [INFO] [0/Radio_0] RX SWB = 1
>> [INFO] [0/Radio_0] RX VCRX_SW = 1
>> [INFO] [0/Radio_0] RX VCTXRX_SW = 0
>> [INFO] [0/Radio_0] RX freq = 2.4e+09
>> [INFO] [0/Radio_0] RX band = 6
>> [INFO] [0/Radio_0] RX SW1 = 5
>> [INFO] [0/Radio_0] RX SWC = 0
>> [INFO] [0/Radio_0] RX SWB = 1
>> [INFO] [0/Radio_0] RX VCRX_SW = 1
>> [INFO] [0/Radio_0] RX VCTXRX_SW = 0
>> [INFO] [0/Radio_0] RX freq = 2.4e+09
>> [INFO] [0/Radio_0] RX band = 6
>> [INFO] [0/Radio_0] RX SW1 = 5
>> [INFO] [0/Radio_0] RX SWC = 0
>> [INFO] [0/Radio_0] RX SWB = 1
>> [INFO] [0/Radio_0] RX VCRX_SW = 1
>> [INFO] [0/Radio_0] RX VCTXRX_SW = 0
>> [INFO] [0/Radio_0] RX freq = 2.4e+09
>> [INFO] [0/Radio_0] RX band = 6
>> [INFO] [0/Radio_0] RX SW1 = 5
>> [INFO] [0/Radio_0] RX SWC = 0
>> [INFO] [0/Radio_0] RX SWB = 1
>> [INFO] [0/Radio_0] RX VCRX_SW = 1
>> [INFO] [0/Radio_0] RX VCTXRX_SW = 0
>> [INFO] [0/Radio_0] Performing CODEC loopback test...
>> [INFO] [0/Radio_0] CODEC loopback test passed
>> [INFO] [0/Radio_0] Performing CODEC loopback test...
>> [INFO] [0/Radio_0] CODEC loopback test passed
>>   _____________________________________________________
>>  /
>> |       Device: E300-Series Device
>> |     _____________________________________________________
>> |    /
>> |   |       Mboard: ni-e31x-313179A
>> |   |   mpm_version: 3.15.0.git-g6563c537
>> |   |   pid: 30675
>> |   |   product: e310_sg3
>> |   |   rev: 7
>> |   |   rpc_connection: local
>> |   |   serial: 313179A
>> |   |   type: e3xx
>> |   |   MPM Version: 1.2
>> |   |   FPGA Version: 1.0
>> |   |   FPGA git hash: f52a643.clean
>> |   |   RFNoC capable: Yes
>> |   |
>> |   |   Time sources:  internal, external, gpsdo
>> |   |   Clock sources: internal
>> |   |   Sensors: ref_locked, temp_fpga, temp_mb
>> |   |     _____________________________________________________
>> |   |    /
>> |   |   |       RX Dboard: A
>> |   |   |     _____________________________________________________
>> |   |   |    /
>> |   |   |   |       RX Frontend: 0
>> |   |   |   |   Name: E3xx
>> |   |   |   |   Antennas: RX2, TX/RX
>> |   |   |   |   Sensors: lo_locked, ad9361_temperature, rssi, lo_lock
>> |   |   |   |   Freq range: 70.000 to 6000.000 MHz
>> |   |   |   |   Gain range PGA: 0.0 to 76.0 step 1.0 dB
>> |   |   |   |   Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz
>> |   |   |   |   Connection Type: IQ
>> |   |   |   |   Uses LO offset: No
>> |   |   |     _____________________________________________________
>> |   |   |    /
>> |   |   |   |       RX Frontend: 1
>> |   |   |   |   Name: E3xx
>> |   |   |   |   Antennas: RX2, TX/RX
>> |   |   |   |   Sensors: lo_locked, ad9361_temperature, rssi, lo_lock
>> |   |   |   |   Freq range: 70.000 to 6000.000 MHz
>> |   |   |   |   Gain range PGA: 0.0 to 76.0 step 1.0 dB
>> |   |   |   |   Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz
>> |   |   |   |   Connection Type: IQ
>> |   |   |   |   Uses LO offset: No
>> |   |   |     _____________________________________________________
>> |   |   |    /
>> |   |   |   |       RX Codec: A
>> |   |   |   |   Name: AD9361 Dual ADC
>> |   |   |   |   Gain Elements: None
>> |   |     _____________________________________________________
>> |   |    /
>> |   |   |       TX Dboard: A
>> |   |   |     _____________________________________________________
>> |   |   |    /
>> |   |   |   |       TX Frontend: 0
>> |   |   |   |   Name: E3xx
>> |   |   |   |   Antennas: TX/RX
>> |   |   |   |   Sensors: lo_locked, ad9361_temperature
>> |   |   |   |   Freq range: 47.000 to 6000.000 MHz
>> |   |   |   |   Gain range PGA: 0.0 to 89.8 step 0.2 dB
>> |   |   |   |   Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz
>> |   |   |   |   Connection Type: IQ
>> |   |   |   |   Uses LO offset: No
>> |   |   |     _____________________________________________________
>> |   |   |    /
>> |   |   |   |       TX Frontend: 1
>> |   |   |   |   Name: E3xx
>> |   |   |   |   Antennas: TX/RX
>> |   |   |   |   Sensors: lo_locked, ad9361_temperature
>> |   |   |   |   Freq range: 47.000 to 6000.000 MHz
>> |   |   |   |   Gain range PGA: 0.0 to 89.8 step 0.2 dB
>> |   |   |   |   Bandwidth range: 20000000.0 to 40000000.0 step 0.0 Hz
>> |   |   |   |   Connection Type: IQ
>> |   |   |   |   Uses LO offset: No
>> |   |   |     _____________________________________________________
>> |   |   |    /
>> |   |   |   |       TX Codec: A
>> |   |   |   |   Name: AD9361 Dual DAC
>> |   |   |   |   Gain Elements: None
>> |   |     _____________________________________________________
>> |   |    /
>> |   |   |       RFNoC blocks on this device:
>> |   |   |
>> |   |   |   * Radio_0
>> |   |   |   * DDC_0
>> |   |   |   * DUC_0
>>
>> It does appear however that the command runs properly even without the
>> USB files being available.
>>
>> As for GNU radio, well that won't cross compile. The base installation
>> works with no issues, but when I go to cross compile in the SDK environment
>> for 3.15, I get the following issue:
>>
>> ~/rfnoc/src/gnuradio/build-arm$ cmake -Wno-dev
>> -DCMAKE_TOOLCHAIN_FILE=~/rfnoc/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake
>> -DENABLE_GR_WXGUI=OFF -DENABLE_GR_VOCODER=OFF -DENABLE_GR_DTV=OFF
>> -DENABLE_GR_ATSC=OFF -DENABLE_DOXYGEN=OFF -DCMAKE_INSTALL_PREFIX=/usr ../
>> -- Build type not specified: defaulting to release.
>> -- Build type set to Release.
>> -- Extracting version information from git describe...
>> -- Compiler Version: arm-oe-linux-gnueabi-gcc (GCC) 7.3.0
>> Copyright (C) 2017 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>> -- Compiler Flags:
>> /home/jon/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-gcc:::-O3
>> -DNDEBUG  -O2 -pipe -g -feliminate-unused-debug-types  -std=gnu99
>> -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
>> /home/jon/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-g++:::-O3
>> -DNDEBUG  -O2 -pipe -g -feliminate-unused-debug-types  -fvisibility=hidden
>> -Wsign-compare -Wall -Wno-uninitialized
>> -- ADDING PERF COUNTERS
>> -- Building Static Libraries: OFF
>> -- Boost version: 1.66.0
>> -- Found the following Boost libraries:
>> --   date_time
>> --   program_options
>> --   filesystem
>> --   system
>> --   regex
>> --   thread
>> --   chrono
>> --   atomic
>> --
>> -- Checking for module SWIG
>> -- Found SWIG version 3.0.12.
>> --
>> -- The build system will automatically enable all components.
>> -- Use -DENABLE_DEFAULT=OFF to disable components by default.
>> --
>> -- Configuring python-support support...
>> --   Dependency PYTHONLIBS_FOUND = TRUE
>> --   Dependency SWIG_FOUND = TRUE
>> --   Dependency SWIG_VERSION_CHECK = TRUE
>> --   Enabling python-support support.
>> --   Override with -DENABLE_PYTHON=ON/OFF
>> -- Checking for module 'cppunit'
>> --   No package 'cppunit' found
>> -- Could NOT find CPPUNIT (missing: CPPUNIT_INCLUDE_DIRS)
>> --
>> -- Configuring testing-support support...
>> --   Dependency CPPUNIT_FOUND = FALSE
>> CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
>>   user force-enabled testing-support but configuration checked failed
>> Call Stack (most recent call first):
>>   CMakeLists.txt:373 (GR_REGISTER_COMPONENT)
>>
>>
>> -- Configuring incomplete, errors occurred!
>> See also
>> "/home/jon/rfnoc/src/gnuradio/build-arm/CMakeFiles/CMakeOutput.log".
>> See also
>> "/home/jon/rfnoc/src/gnuradio/build-arm/CMakeFiles/CMakeError.log".
>>
>> I have attached the Output and Error logs as well.
>>
>> In comparing the sysroot/ folders under the rfnoc/oe repository, there is
>> a lot of files missing from the 3.15 build that are in the 3.14 build. So
>> it appears to be that the SDK is not correct.
>>
>> Any assistance in getting these issues resolved would be most helpful.
>>
>> Regards,
>> Jon Lockhart
>>
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to