Send USRP-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."


Today's Topics:

   1. Re: E310 with GPS time source problem (Derek Kozel)
   2. Re: cmake error on GnuRadio (for cross compiling)
      (Philip Balister)


----------------------------------------------------------------------

Message: 1
Date: Fri, 7 Apr 2017 09:11:59 -0700
From: Derek Kozel <[email protected]>
To: "Marcus D. Leech" <[email protected]>
Cc: Francois Quitin <[email protected]>,        "[email protected]"
        <[email protected]>
Subject: Re: [USRP-users] E310 with GPS time source problem
Message-ID:
        <CAA+K=tskykn-+u2nzw85zbpcd8ov4aunutzv4fv3hv_cp_s...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello Francois,

Marcus mistyped X for E310. What filesystem image are you using on the E310?

In order for the gpsdo source to be used UHD needs to be compiled with GPSD
enabled. The Release 4 image has both UHD and this compile flag enabled.
https://github.com/EttusResearch/uhd/blob/f18abe54083fd0c89c372b1fad2ecd
9abb6bf9db/host/lib/usrp/e300/e300_impl.cpp#L549

Regards,
Derek


On Fri, Apr 7, 2017 at 8:12 AM, Marcus D. Leech via USRP-users <
[email protected]> wrote:

> Which X310 system image are you running?
>
>
>
>
>
>
> On 2017-04-07 10:10, Francois Quitin via USRP-users wrote:
>
> Dear list,
>
> I am trying to use the GPS as a time source on the E310 with the command
> usrp->set_time_source("gpsdo"). When I run this, I get the following
> error:
> "Error: LookupError: KeyError: update_time_source: unknown source: gpsdo"
>
> When I query uhd_usrp_probe, the possible time sources are listed as
> "none, internal, external", but no gpsdo...
>
> I am using UHD 003.009.002. Any idea why this is coming up?
>
> Many thanks,
> Fran?ois
>
>
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20170407/425de7e6/attachment-0001.html>

------------------------------

Message: 2
Date: Sat, 8 Apr 2017 10:38:45 -0400
From: Philip Balister <[email protected]>
To: ThongLeng <[email protected]>,
        "[email protected]" <[email protected]>
Subject: Re: [USRP-users] cmake error on GnuRadio (for cross
        compiling)
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252

On 04/06/2017 10:53 PM, ThongLeng via USRP-users wrote:
> Hi All,I am new to USRP and have followed the instructions in this web 
> https://kb.ettus.com/Software_Development_on_the_E310_and_E312 to setup my 
> Ubuntu 16.04 LTS for cross-compiling of UHD and GnuRadio.I have installed the 
> oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh under my home 
> directory ~/workarea-HomeRx/E312.And I am able to get to build, compile and 
> installed the UHD under ~/workarea-HomeRx/E312.But I have problem when trying 
> to build GnuRadio. I get the error messages when I try to perform a cmake of 
> GnuRadio using this command:
> sudo cmake -Wno-dev 
> -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake 
> \-DCMAKE_INSTALL_PREFIX=/usr -DENABLE_GR_VOCODER=OFF -DENABLE_GR_ATSC=OFF 
> -DENABLE_GR_DTV=OFF -DENABLE_DOXYGEN=OFF 
> -DUHD_DIR=~/workarea-HomeRx/E312/src/uhd/usr/lib/cmake/uhd/ 
> -DUHD_INCLUDE_DIRS=~/workarea-HomeRx/E312/usr/include 
> -DUHD_LIBRARIES=~/workarea-HomeRx/E312/usr/lib/libuhd.so ../

If you are new to the E300, I think it would be better to start by
building an OOT using the preinstalled gnuradio and UHD.

https://wiki.gnuradio.org/index.php/Cross_compile_an_OOT_and_install_on_target

Describes the process. It does use the toolchain file from the gnuradio
source, but you do not need to rebuild gnuradio to use it.

I don't know a good OOT module to try, but I have a hobby project that
hopefully results in a better article for getting started :)

Philip

> 
> The error message is
> CMake Error at cmake/Toolchains/oe-sdk_cross.cmake:4 (string):  string 
> sub-command REGEX, mode MATCH needs at least 5 arguments total to  
> command.Call Stack (most recent call first):  
> build-arm/CMakeFiles/3.5.1/CMakeSystem.cmake:6 (include)  CMakeLists.txt:29 
> (project)
> 
> CMake Error at cmake/Toolchains/oe-sdk_cross.cmake:5 (string):  string 
> sub-command REGEX, mode REPLACE needs at least 6 arguments total to  
> command.Call Stack (most recent call first):  
> build-arm/CMakeFiles/3.5.1/CMakeSystem.cmake:6 (include)  CMakeLists.txt:29 
> (project)
> 
> -- The CXX compiler identification is GNU 5.4.0-- The C compiler 
> identification is GNU 5.4.0-- Check for working CXX compiler: 
> /usr/bin/c++CMake Error at 
> /home/thongleng/workarea-HomeRx/E312/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake:4
>  (string):  string sub-command REGEX, mode MATCH needs at least 5 arguments 
> total to  command.Call Stack (most recent call first):  
> /home/thongleng/workarea-HomeRx/E312/src/gnuradio/build-arm/CMakeFiles/3.5.1/CMakeSystem.cmake:6
>  (include)  CMakeLists.txt:2 (project)
> 
> CMake Error at 
> /home/thongleng/workarea-HomeRx/E312/src/gnuradio/cmake/Toolchains/oe-sdk_cross.cmake:5
>  (string):  string sub-command REGEX, mode REPLACE needs at least 6 arguments 
> total to  command.Call Stack (most recent call first):  
> /home/thongleng/workarea-HomeRx/E312/src/gnuradio/build-arm/CMakeFiles/3.5.1/CMakeSystem.cmake:6
>  (include)  CMakeLists.txt:2 (project)
> 
> CMake Error: Internal CMake error, TryCompile configure of cmake failed-- 
> Check for working CXX compiler: /usr/bin/c++ -- brokenCMake Error at 
> /usr/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake:54 (message):  The 
> C++ compiler "/usr/bin/c++" is not able to compile a simple test  program.
>   It fails with the following output:
>   CMake will not be able to correctly generate this project.Call Stack (most 
> recent call first):  CMakeLists.txt:29 (project)
> Here is some additional command i performed to check that the environment is 
> setup.echo $CCarm-oe-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard 
> -mfpu=neon 
> --sysroot=/home/thongleng/workarea-HomeRx/E312/sysroots/armv7ahf-vfp-neon-oe-linux-gnueabi
> $CC -dumpmachinearm-oe-linux-gnueabi
> What am I missing here for the cmake of GnuRadio?
> thanks a lot in advance..thongleng
> 
> 
> 
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 




------------------------------

Subject: Digest Footer

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


------------------------------

End of USRP-users Digest, Vol 80, Issue 8
*****************************************

Reply via email to