[USRP-users] Cannot update FPGA image on USRP E320

Sam Reiter sam.reiter at ettus.com
Fri Jan 3 15:07:41 EST 2020


Hey Subu,

I'd suspect that the MPM versioning is the issue here. You can manually
compile and install MPM on your E320, or you can simply reflash your SD
card with the latest SDimg. Based on when this was posted vs when v3.15.0.0
was tagged, I'd guess you're working with a release candidate and didn't
have access to a fresh filesystem image to install. You'll want to install
v3.15.0.0 on your host first, then follow this guide for the mender update:

https://kb.ettus.com/E320_Getting_Started_Guide#Mender_Update_Process

Or this guide for reflashing the SD card by physically inserting it into
your PC (you need to take the backplate off the E320 to access the SD):

https://kb.ettus.com/Writing_the_USRP_File_System_Disk_Image_to_a_SD_Card

Sam Reiter
Ettus Research

On Tue, Dec 24, 2019 at 12:15 PM Subu Rama via USRP-users <
usrp-users at lists.ettus.com> wrote:

> I am going to run my USRP E320 in host mode. To make sure that the FPGA
> images on my development host and E320 match, I am trying to upload 1G FPGA
> image to the E320.
>
> The following is the process I am following:
>
> Network interfaces on the E320:
>
> root at ni-e320-31BB638:~# ip a
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>        valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen
> 1000
>     link/ether 00:80:2f:28:8d:7e brd ff:ff:ff:ff:ff:ff
>     inet 192.168.1.2/24 brd 192.168.1.255 scope global eth0
>        valid_lft forever preferred_lft forever
> 3: sfp0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen
> 1000
>     link/ether 00:80:2f:28:8d:7f brd ff:ff:ff:ff:ff:ff
>     inet 192.168.10.2/24 brd 192.168.10.255 scope global sfp0
>        valid_lft forever preferred_lft forever
>
> --------------------------------------------------------------
> Trying to upload the 1G image to the E320:
>
> gnuradio at nuc-qrc3 (UHD-3.15.LTS):/usr/local/src/uhd/fpga-src >>
> uhd_image_loader --args
> "type=e3xx,product=e320,mgmt_addr=192.168.1.2,fpga=1G"
> [INFO] [UHD] linux; GNU C++ version 9.2.1 20191008; Boost_107100;
> UHD_3.15.0.0-0-g4e06022c
> [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
> mgmt_addr=192.168.1.2,type=e3xx,product=e320,serial=31BB638,claimed=False,skip_init=1
> [INFO] [MPMD] Claimed device without full initialization.
> [INFO] [MPMD IMAGE LOADER] Starting update. This may take a while.
> [INFO] [MPM.PeriphManager] Updating component `fpga'
> [INFO] [MPM.PeriphManager] Updating component `dts'
> [ERROR] [MPM.PeriphManager] Error executing `dtc': Command '['dtc',
> '--symbols', '-O', 'dtb', '-q', '-o', '/lib/firmware/e320.dtbo',
> '/lib/firmware/e320.dts']' returned non-zero exit status 1
> [INFO] [MPM.RPCServer] Resetting peripheral manager.
> [INFO] [MPM.PeriphManager] Device serial number: 31BB638
> [INFO] [MPMD IMAGE LOADER] Update component function succeeded.
> [INFO] [MPM.PeriphManager] Found 1 daughterboard(s).
> [WARNING] [MPM.PeriphManager] Actual minor compat ahead of expected compat
> for component `FPGA'. Expected: 3.0 Actual: 3.1
>
> -----------------------
> Result of a probe:
>
> gnuradio at nuc-qrc3 (UHD-3.15.LTS):/usr/local/src/uhd/fpga-src >>
> uhd_usrp_probe --args "addr=192.168.10.2"
> [INFO] [UHD] linux; GNU C++ version 9.2.1 20191008; Boost_107100;
> UHD_3.15.0.0-0-g4e06022c
> [INFO] [MPMD] Initializing 1 device(s) in parallel with args:
> mgmt_addr=192.168.10.2,type=e3xx,product=e320,serial=31BB638,claimed=False,addr=192.168.10.2
> [INFO] [MPM.main] Launching USRP/MPM, version: 3.13.0.2-gunknown
> [INFO] [MPM.main] Spawning RPC process...
> [INFO] [MPM.PeriphManager] Device serial number: 31BB638
> [INFO] [MPM.PeriphManager] Found 1 daughterboard(s).
> [WARNING] [MPM.PeriphManager] Actual minor compat ahead of expected compat
> for component `FPGA'. Expected: 3.0 Actual: 3.1
> [INFO] [MPM.RPCServer] RPC server ready!
> [INFO] [MPM.RPCServer] Spawning watchdog task...
> [WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
> 1.25e+08
> [WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
> 1.25e+08
> [INFO] [0/DmaFIFO_0] Initializing block control (NOC ID:
> 0xF1F0D00000000000)
> [INFO] [MPM.PeriphManager] init() called with device args
> `product=e320,mgmt_addr=192.168.10.2'.
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1329 MB/s)
> [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1336 MB/s)
> [WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
> 1.25e+08
> [WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
> 1.25e+08
> [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000003320)
> [WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
> 1.25e+08
> [WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
> 1.25e+08
> [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
> [WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
> 1.25e+08
> [WARNING] [MPMD] Could not determine link speed; using 1GibE max speed of
> 1.25e+08
> [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
> [ERROR] [UHD] Exception caught in safe-call.
>   in uhd::mpmd::mpmd_mboard_impl::~mpmd_mboard_impl()
>   at /usr/local/src/uhd/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp:308
> dump_logs(); _claimer_task.reset(); _xport_mgr.reset(); if (not
> rpc->request_with_token<bool>("unclaim")) {
> uhd::_log::log(uhd::log::warning,
> "/usr/local/src/uhd/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp", 310, "MPMD",
> boost::this_thread::get_id()) << "Failure to ack unclaim!";; } ->
> rpc::timeout: Timeout of 2000ms while calling RPC function 'unclaim'
> Error: rpc::timeout: Timeout of 60000ms while calling RPC function
> 'db_0_catalina_tune'
> .....
>
> See that this still shows USRP 3.13 version:
>
> [INFO] [MPM.main] Launching USRP/MPM, version: 3.13.0.2-gunknown
>
> So, how do I get the uhd_image_loader command to run successfully to get
> the 3.15 version on the E320?
>
> Thank you
> Subu
>
>
>
> _______________________________________________
> 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/20200103/4c0bd005/attachment.html>


More information about the USRP-users mailing list