[USRP-users] E310 Cross-Compiled UHD Error - key "product" not found

Nate Temple nate.temple at ettus.com
Wed Jul 5 20:21:03 EDT 2017


Hi Jaume,

Can you please try rebuilding the cross-compiled environment with the
current master sources? Does the new build resolve the issue?

Regards,
Nate Temple

On Thu, May 18, 2017 at 2:57 AM, Jane Abad Jaume via USRP-users <
usrp-users at lists.ettus.com> wrote:

> Hi,
>
> I'm trying to cross-compile the UHD for the E310 in a Ubuntu before
> cross-compiling OOT custom blocks.
>
> I've followed the instructions of
> https://kb.ettus.com/Software_Development_on_the_E310_and_E312. I've
> successfully mounted the prefix into the embedded device and set-up the
> enviroment variables with set_env.
>
> But when I run uhd_usrp_probe or any other example, it always returns
> Error: LookupError: KeyError: key "product" not found in dict(Ss, Ss).
> How can I solve that?
>
> Thanks!
>
>
> Regards,
>
> Jaume
>
>
> ## COMMANDS
>
> root at ettus-e3xx-sg3:~/usr/usr# cat set_env
> LOCALPREFIX=~/usr/usr
> export PATH=$LOCALPREFIX/bin:$PATH
> export LD_LOAD_LIBRARY=$LOCALPREFIX/lib:$LD_LOAD_LIBRARY
> export LD_LIBRARY_PATH=$LOCALPREFIX/lib:$LD_LIBRARY_PATH
> export PYTHONPATH=$LOCALPREFIX/lib/python2.7/site-packages:$PYTHONPATH
> export PKG_CONFIG_PATH=$LOCALPREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
> export
> GRC_BLOCKS_PATH=$LOCALPREFIX/share/gnuradio/grc/blocks:$GRC_BLOCKS_PATH
> export UHD_RFNOC_DIR=$LOCALPREFIX/share/uhd/rfnoc/
> export UHD_IMAGES_DIR=$LOCALPREFIX/share/uhd/images
>
>
> root at ettus-e3xx-sg3:~/usr/usr/lib/uhd/examples# which uhd_find_devices
> /home/root/usr/usr/bin/uhd_find_devices
>
>
> root at ettus-e3xx-sg3:~/usr/usr/lib/uhd/examples# uhd_find_devices
> [INFO] [UHD] linux; GNU C++ version 4.9.2; Boost_105700;
> UHD_4.0.0.rfnoc-devel-316-g24b98579
> --------------------------------------------------
> -- UHD Device 0
> --------------------------------------------------
> Device Address:
>     serial:
>     name:
>     node: /dev/axi_fpga
>     type: e3x0
>
>
> root at ettus-e3xx-sg3:~/usr/usr/lib/uhd/examples# uhd_usrp_probe
> [INFO] [UHD] linux; GNU C++ version 4.9.2; Boost_105700;
> UHD_4.0.0.rfnoc-devel-316-g24b98579
> Error: LookupError: KeyError: key "product" not found in dict(Ss, Ss)
>
>
> ## SD IMAGE BUILD VERSION
>
> root at ettus-e3xx-sg3:~# cat /etc/version-image
> Timestamp: 201601150121
> Release: Release-4
> Image: gnuradio-dev-image
>
>
> root at ettus-e3xx-sg3:~# cat /etc/build
> -----------------------
> Build Configuration:  |
> -----------------------
> DISTRO = nodistro
> DISTRO_VERSION = nodistro.0
> -----------------------
> Layer Revisions:      |
> -----------------------
> meta              = (nobranch):9f339f516ab03d598fae0e536b3a420ea4d8ee1a
> e100-bsp          =
> (detachedfrom40cf300):40cf300296b889df5b8445bf7db457c160220919
> e300-bsp          =
> (detachedfrom40cf300):40cf300296b889df5b8445bf7db457c160220919
> common            =
> (detachedfrom40cf300):40cf300296b889df5b8445bf7db457c160220919
> meta-xilinx       = (nobranch):13779b9254bab450875a60ed8f21edd0e8876a71
> meta-oe           = (nobranch):e8a8e0be8e39dbb949bf0f0df90abe1c4e3f6470
> meta-networking   = (nobranch):e8a8e0be8e39dbb949bf0f0df90abe1c4e3f6470
> meta-python       = (nobranch):e8a8e0be8e39dbb949bf0f0df90abe1c4e3f6470
> meta-filesystems  = (nobranch):e8a8e0be8e39dbb949bf0f0df90abe1c4e3f6470
> meta-sdr          =
> (detachedfrom3d06bc0):3d06bc06e874dc3b8db64fc1bf838763f834d193
>
>
>
>
>
>
>
>
>
> ________________________________
>
> Ce message et toutes les pièces jointes (ci-après le "message") sont
> établis à l'intention exclusive de ses destinataires et sont confidentiels.
> Si vous recevez ce message par erreur ou s'il ne vous est pas destiné,
> merci de le détruire ainsi que toute copie de votre système et d'en avertir
> immédiatement l'expéditeur. Toute lecture non autorisée, toute utilisation
> de ce message qui n'est pas conforme à sa destination, toute diffusion ou
> toute publication, totale ou partielle, est interdite. L'Internet ne
> permettant pas d'assurer l'intégrité de ce message électronique susceptible
> d'altération, l’expéditeur (et ses filiales) décline(nt) toute
> responsabilité au titre de ce message dans l'hypothèse où il aurait été
> modifié ou falsifié.
>
> This message and any attachments (the "message") is intended solely for
> the intended recipient(s) and is confidential. If you receive this message
> in error, or are not the intended recipient(s), please delete it and any
> copies from your systems and immediately notify the sender. Any
> unauthorized view, use that does not comply with its purpose, dissemination
> or disclosure, either whole or partial, is prohibited. Since the internet
> cannot guarantee the integrity of this message which may not be reliable,
> the sender (and its subsidiaries) shall not be liable for the message if
> modified or falsified.
> _______________________________________________
> USRP-users mailing list
> USRP-users at lists.ettus.com
> 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/20170705/9ed2b5c1/attachment-0002.html>


More information about the USRP-users mailing list