BLOT:  [ERROR] [MPMD] Failure during block enumeration: EnvironmentError: 
IOError when loading custom bitstream on E312

Hello,
I've built a custom bitstream for the E310 (with blocks from library, no custom 
blocks) by using this commands:
$ cd ~/rfnoc/src/uhd-fpga/usrp3/tools/scripts
$ ./uhd_image_builder.py window fft -d e310 -t E310_RFNOC_sg3 -m 5 
--fill-with-fifos
More details about tools as postdata.

I found an issue during the building stage but managed to fix it as per 
described here: 
http://ettus.80997.x6.nabble.com/USRP-users-Default-RFNoC-image-for-N310-does-not-compile-td13951.html

Then, I flashed an E312 (same as E310 I guess) with sdcard image from 
http://files.ettus.com/binaries/cache/e3xx/meta-ettus-v3.15.0.0/e3xx_e310_sg3_sdimg_default-v3.15.0.0.zip
The system runs OK, and uhd_usrp_probe shows no problem. Logging in over the 
serial port, I got several warnings about potential memory leaks (like 
"WARNING: memory leak will occur if overlay removed, property: 
/__symbols__/devctrl"), but I guess that's unrelated. So far so good. Embedded 
UHD versions copied as postdata, but it's basically what you get from the 
sdcard image, I haven't changed anything.

So I copied my new bitstream to the E312, and to loaded it, with a few 
warnings, the main one related to a DTS file  not found:
root@ni-e31x-30D84C7:~# uhd_image_loader --fpga-path=/tmp/e31x.bit  
--args="type=e3xx,reset"
[INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106800; 
UHD_3.15.0.0-0-gaea0e2de
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: 
mgmt_addr=127.0.0.1,type=e3xx,product=e310_sg3,serial=30D84C7,claimed=False,skip_init=1
...
WARNING] [MPMD IMAGE LOADER] RuntimeError: Component file does not exist: 
/tmp/e31x.dts
[WARNING] [MPM.PeriphManager] Skipping HW/SW compatibility check!
[WARNING] [MPM.GPSDIface] Could not connect to GPSd! None of the GPS sensors 
will work!
...

And then, I got this error trying uhd_usrp_probe:
root@ni-e31x-30D84C7:~# uhd_usrp_probe
...
[INFO] [0/Window_0] Initializing block control (NOC ID: 0xD053000000000000)
[WARNING] [RFNOC] Can't find a block controller for key FFT, using default 
block controller!
[INFO] [0/FFT_0] Initializing block control (NOC ID: 0xFF70000000000000)
[WARNING] [RFNOC] Can't find a block controller for key fosphor, using default 
block controller!
[INFO] [0/fosphor_0] Initializing block control (NOC ID: 0x666F000000000000)
[ERROR] [MPMD] Failure during block enumeration: EnvironmentError: IOError: 
[0/fosphor_0] sr_write() failed: AssertionError: not _outstanding_seqs.empty()
  in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double) [with 
uhd::endianness_t _endianness = (uhd::endianness_t)1; uint64_t = long long 
unsigned int]
  at 
/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/git/host/lib/rfnoc/ctrl_iface.cpp:139

I was confused because I didn't include any fosphor block, but also because of 
that dts file warning when loading.
So I rebuilt the bitstream, cleaning the previous environment (-c option) and 
including a FOSPHOR block, just in case by running:
$ ./uhd_image_builder.py fft window fosphor -d e310 -t E310_RFNOC_sg3 -m 8 
--fill-with-fifos -c

Then I reloaded the new bitstream, and I got the same error.

So my questions are:
- Have you seen this error before? Any idea to fix it?
- Could that be related to the lack of dts file? If that's the case, how can I 
generate it?

Any help will be much appreciated.
Many thanks!

Francisco

PD:
My host's tools are:
$ uhd_config_info --print-all
UHD 3.15.0.git-71-g18bc320d
Build date: Wed, 25 Sep 2019 11:43:40
C compiler: GNU 6.3.0
C++ compiler: GNU 6.3.0
C flags: -DUHD_RFNOC_ENABLED -DHAVE_CONFIG_H -DUHD_LOG_MIN_LEVEL=1 
-DUHD_LOG_CONSOLE_LEVEL=2 -DUHD_LOG_FILE_LEVEL=2 -DUHD_LOG_CONSOLE_COLOR
C++ flags: -DUHD_RFNOC_ENABLED -DHAVE_CONFIG_H -DUHD_LOG_MIN_LEVEL=1 
-DUHD_LOG_CONSOLE_LEVEL=2 -DUHD_LOG_FILE_LEVEL=2 -DUHD_LOG_CONSOLE_COLOR 
-fvisibility=hidden -fvisibility-inlines-hidden
Enabled components: LibUHD, LibUHD - C API, Examples, Utils, Tests, USB, B100, 
B200, USRP1, USRP2, X300, N230, MPMD, N300, N320, E320, E300, OctoClock
Install prefix: ~/rfnoc
Boost version: 1.62
Libusb version: 1.0.23
Package path: ~/rfnoc
Images directory:
ABI version string: 3.15.0

The E312 tools are:
root@ni-e31x-30D84C7:~# uhd_config_info --print-all
UHD 3.15.0.0-0-gaea0e2de
Build date: Wed, 01 Jan 2020 07:56:24
C compiler: GNU 8.2.0
C++ compiler: GNU 8.2.0
C flags: -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_ASIO_DISABLE_STD_STRING_VIEW 
-DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DUHD_RFNOC_ENABLED 
-DHAVE_CONFIG_H -DUHD_LOG_MIN_LEVEL=1 -DUHD_LOG_CONSOLE_LEVEL=2 
-DUHD_LOG_FILE_LEVEL=2 -DUHD_LOG_CONSOLE_COLOR -DHAVE_LIBERIO -march=armv7-a 
-mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9  
--sysroot=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/recipe-sysroot
  -O2 -pipe -g -feliminate-unused-debug-types 
-fdebug-prefix-map=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0=/usr/src/debug/uhd/3.15.0.0-r0
 
-fdebug-prefix-map=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/recipe-sysroot=
 
-fdebug-prefix-map=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/recipe-sysroot-native=
   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9  
--sysroot=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/recipe-sysroot
C++ flags: -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_ASIO_DISABLE_STD_STRING_VIEW 
-DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DUHD_RFNOC_ENABLED 
-DHAVE_CONFIG_H -DUHD_LOG_MIN_LEVEL=1 -DUHD_LOG_CONSOLE_LEVEL=2 
-DUHD_LOG_FILE_LEVEL=2 -DUHD_LOG_CONSOLE_COLOR -DHAVE_LIBERIO -march=armv7-a 
-mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9  
--sysroot=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/recipe-sysroot
  -O2 -pipe -g -feliminate-unused-debug-types 
-fdebug-prefix-map=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0=/usr/src/debug/uhd/3.15.0.0-r0
 
-fdebug-prefix-map=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/recipe-sysroot=
 
-fdebug-prefix-map=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/recipe-sysroot-native=
  -fvisibility-inlines-hidden  -march=armv7-a -mthumb -mfpu=neon 
-mfloat-abi=hard -mcpu=cortex-a9  
--sysroot=/cache/workdir/OE_Fedora_25_64_0/build_oe/build_e310_sg3_v3.15.0.0/build/tmp-musl/work/cortexa9t2hf-neon-oe-linux-musleabi/uhd/3.15.0.0-r0/recipe-sysroot
 -fvisibility=hidden -fvisibility-inlines-hidden
Enabled components: LibUHD, LibUHD - C API, Examples, Utils, Tests, LIBERIO, 
MPMD, N300, N320, E320, E300, OctoClock
Install prefix: /usr
Boost version: 1.68
Libusb version: N/A
Package path: /usr
Images directory: /usr/share/uhd/images
ABI version string: 3.15.0

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to