Package: uhd / 3.15.0.0-4
Metadata
Package | Version | Patches format |
---|---|---|
uhd | 3.15.0.0-4 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 docs n3xx document eeprom flags.patch | (download) |
host/docs/usrp_n3xx.dox |
34 34 0 - 0 ! |
[patch 01/62] docs: n3xx: document eeprom flags Add a subsection to both N310- and N320 specific features to document the EEPROM flags simliar to as it is done in the E320 documentation. Signed-off-by: Joerg Hofrichter <[email protected]> |
0002 fixup docs e320 Add documentation for gpio and eepro.patch | (download) |
host/docs/usrp_e3xx.dox |
4 2 2 - 0 ! |
[patch 02/62] fixup! docs: e320: add documentation for gpio and eeprom-flags |
0003 mpm optionally generate XML report when running unit.patch | (download) |
mpm/python/tests/run_unit_tests.py |
29 22 7 - 0 ! |
[patch 03/62] mpm: optionally generate xml report when running unittests If the unittests are invoked with an extra argument -x, an XML report is generated if the xmlrunner module is installed |
0004 transport liberio correctly release resources on des.patch | (download) |
host/lib/transport/liberio_zero_copy.cpp |
12 7 5 - 0 ! |
[patch 04/62] transport: liberio: correctly release resources on destruction Stop the streaming and free the allocated buffers on destruction of the liberio xport object. Note: There is a lingering resource leak in the kernel module, this patch merely orders the resource release correctly. Signed-off-by: Joerg Hofrichter <[email protected]> |
0005 replay Add time support to replay block.patch | (download) |
host/examples/replay_samples_from_file.cpp |
62 45 17 - 0 ! |
[patch 05/62] replay: add time support to replay block |
0006 images Update manifest.patch | (download) |
images/manifest.txt |
10 5 5 - 0 ! |
[patch 06/62] images: update manifest Update X3xx and N3xx FPGA images. Signed-off-by: michael-west <[email protected]> |
0008 fixup replay Add time support to replay block.patch | (download) |
host/lib/rfnoc/replay_block_ctrl_impl.cpp |
4 1 3 - 0 ! |
[patch 08/62] fixup! replay: add time support to replay block |
0009 utils images downloader Add support for UHD_IMAGES_U.patch | (download) |
host/utils/uhd_images_downloader.py.in |
42 26 16 - 0 ! |
[patch 09/62] utils: images downloader: add support for UHD_IMAGES_URL - Read the UHD_IMAGES_URL environment variable. If set, it overrides the default value for --base-url |
0010 utils image_downloader check write conditions.patch | (download) |
host/utils/uhd_images_downloader.py.in |
13 13 0 - 0 ! |
[patch 10/62] utils: image_downloader: check write conditions Prior to downloading any images, check that the images destination: - Is a valid directory - Has valid permissions for images to be written Images are downloaded to a temporary location before being written to image destination, so these checks help avoid situation where images are downloaded but unable to be written |
0011 octoclock Apply clang format.patch | (download) |
host/lib/usrp_clock/multi_usrp_clock.cpp |
47 27 20 - 0 ! |
[patch 11/62] octoclock: apply clang-format |
0012 octoclock Avoid usage of uninitialized memory.patch | (download) |
host/lib/usrp_clock/octoclock/octoclock_eeprom.cpp |
17 6 11 - 0 ! |
[patch 12/62] octoclock: avoid usage of uninitialized memory The Octoclock host code would send uninitialized memory over the network, which would be flagged by tools such as Valgrind. This patch creates a factory function for OctoClock packets that initializes the memory to zero, defaults the proto version to the OctoClock default, and can provide a random sequence number if none is given. |
0013 utils uhd_images_downloader use HTTPS instead of HTT.patch | (download) |
host/utils/uhd_images_downloader.py.in |
2 1 1 - 0 ! |
[patch 13/62] utils: uhd_images_downloader: use https instead of http to avoid redirect Since the webserver responding to requests at http://files.ettus.com replies with a redirect to the same URL, but using the https:// transport, this isn't only the safer thing we should be doing, anyways, but also the quicker, since it saves the user from one unnecessary redirect. This is the 3.15-LTS variant of this fix. |
0014 debian Use Python3 dependencies.patch | (download) |
host/cmake/debian/control |
18 9 9 - 0 ! |
[patch 14/62] debian: use python3 dependencies This updates the Debian control file to rely on the Python3 versions of the respective dependencies. |
0015 uhd Apply clang format against all .cpp and .hpp fil.patch | (download) |
host/examples/ascii_art_dft.hpp |
6 4 2 - 0 ! |
[patch 15/62] uhd: apply clang-format against all .cpp and .hpp files in host/ Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against. host/lib/dep is also excluded from this change. |
0016 mpm Apply clang format against all .cpp and .hpp fil.patch | (download) |
mpm/include/mpm/ad9361/ad9361_ctrl.hpp |
61 22 39 - 0 ! |
[patch 16/62] mpm: apply clang-format against all .cpp and .hpp files |
0017 mpm cmake adopt default enable values of modules.patch | (download) |
mpm/CMakeLists.txt |
8 4 4 - 0 ! |
[patch 17/62] mpm: cmake: adopt default enable values of modules The cmake script (macro MPM_REGISTER_COMPONENT) has an issue that the default value is ignored which will be fixed in the following commit. As a result of this issue, the modules Mykonos, Magnesium, E320 and E300 never got enabled per default. It was always necessary to use an override like ENABLE_MYKONOS=ON. Therefore, change the default enable values so that a fix to MPM_REGISTER_COMPONENT does not change the current behavior. |
0018 mpm fixed cmake macro for enabling modules.patch | (download) |
mpm/cmake/Modules/MPMComponent.cmake |
19 12 7 - 0 ! |
[patch 18/62] mpm: fixed cmake macro for enabling modules The macro MPM_REGISTER_COMPONENT did not work as described: in case the default enable was set to ON and all dependencies were met, the module was still not enabled. Also made the status prints more helpful: - print the default value, - print the user override (if one was provided) - print the resulting VAR = VALUE - print the override hint only if the user did not already specify an override Example of old incorrect behavior: -- Configuring Mykonos support... -- Dependency ENABLE_LIBMPM = ON -- Disabling Mykonos support. -- Override with -DENABLE_MYKONOS=ON/OFF Example of new correct behavior (also with changed prints): -- Configuring Mykonos support... -- Default value ENABLE_MYKONOS = ON -- Dependency ENABLE_LIBMPM = ON -- Enabling Mykonos support (ENABLE_MYKONOS = ON) -- Override with -DENABLE_MYKONOS=ON/OFF |
0019 thread Remove log messages for set_thread_name when .patch | (download) |
host/lib/utils/thread.cpp |
6 4 2 - 0 ! |
[patch 19/62] thread: remove log messages for set_thread_name() when not supported On systems like Windows, set_thread_name() is not supported, and would previously log an error message telling the user that it can't set the thread name. However, that prevents set_thread_name() to be called before the logger is being set up, and the logger would like to use this function. Since it is obvious to the user if threads can be named or not, the log message is considered redundant and is removed. |
0020 log Remove LOG statement from _get_log_level.patch | (download) |
host/lib/utils/log.cpp |
3 1 2 - 0 ! |
[patch 20/62] log: remove log statement from _get_log_level() _get_log_level() is an internal function that only gets called during setup, so the logger isn't ready yet. It thus now logs to stderr instead of the logger. |
0021 docs fix typo in stream.hpp.patch | (download) |
host/include/uhd/stream.hpp |
2 1 1 - 0 ! |
[patch 21/62] docs: fix typo in stream.hpp |
0022 examples benchmark_rate clean print out.patch | (download) |
host/examples/benchmark_rate.cpp |
20 11 9 - 0 ! |
[patch 22/62] examples: benchmark_rate clean print out Cleans up the print out for the benchmark rate example. Removes race condition that would cause send and receive initialization messages to interleave to stdout. |
0023 python Fix internal library name incl. suffix to mat.patch | (download) |
host/python/CMakeLists.txt |
14 7 7 - 0 ! |
[patch 23/62] python: fix internal library name (incl. suffix) to match filename. Instead of renaming the library file, this sets the suffix in CMake so that the filename turns out as desired and also linker references know the correct name. |
0024 python Do not link against python lib for building a.patch | (download) |
host/python/CMakeLists.txt |
11 10 1 - 0 ! |
[patch 24/62] python: do not link against python lib for building an extension module. This fixes a segmentation fault when trying to use the python module on OSX when built with conda (unsure why it doesn't arise otherwise). Instead of linking against the python library, it is proper to not link against the library and, for OSX builds, add linker options for "-undefined" and "dynamic_lookup". This is precisely what the CMake FindPython module does for linking against the Python::Module target. See https://blog.tim-smith.us/2015/09/python-extension-modules-os-x and https://bugs.python.org/issue36721 |
0025 python Set python module suffix to conform with PEP .patch | (download) |
host/python/CMakeLists.txt |
11 10 1 - 0 ! |
[patch 25/62] python: set python module suffix to conform with pep 3149. This adds the python implementation, major and minor version numbers, and any additional flags (debug, pymalloc, wide unicode) to the extension module suffix as specified in PEP 3149. Hat tip to @isuruf: https://github.com/conda-forge/staged-recipes/pull/10076#discussion_r348721448 |
0026 lib utils Don t use hard coded path constants.patch | (download) |
host/include/uhd/utils/paths.hpp |
3 3 0 - 0 ! |
[patch 26/62] lib: utils: don't use hard-coded path constants This replaces the package path constant with a runtime library path lookup. The package path is taken to be the parent directory of the library directory. When boost >= 1.61 is not available, this maintains the current behavior of using CMake to set path contants. Runtime path determination is preferable for making a relocatable library so that it is not necessary to do string substitution on relocated binaries (as with, for example, building a conda package). |
0027 mpm catalina Add thread.cpp from UHD to included fil.patch | (download) |
mpm/lib/catalina/CMakeLists.txt |
13 13 0 - 0 ! |
[patch 27/62] mpm: catalina: add thread.cpp from uhd to included files This avoids a linker error where set_thread_name and set_thread_priority cannot be found. |
0028 mpm cmake added date_time as required boost componen.patch | (download) |
mpm/CMakeLists.txt |
1 1 0 - 0 ! |
[patch 28/62] mpm: cmake: added date_time as required boost component this fixes the error of a missing symbol _ZNK5boost9gregorian10greg_month15as_short_stringEv in /usr/lib/libusrp-periphs.so.4 when building with Boost 1.71 |
0029 utils images downloader Handle missing content lengt.patch | (download) |
host/utils/uhd_images_downloader.py.in |
25 18 7 - 0 ! |
[patch 29/62] utils: images downloader: handle missing content-length response If the content-length header is not available, uhd_images_downloader will now ask the user if she wants to continue. Previously, the tool would throw an exception. |
0030 utils images downloader Add support for UHD_IMAGES_U.patch | (download) |
host/utils/uhd_images_downloader.py.in |
22 3 19 - 0 ! |
[patch 30/62] utils: images downloader: add support for UHD_IMAGES_URL, clean up - Remove Python2 compat hacks - Read the UHD_IMAGES_URL environment variable. If set, it overrides the default value for --base-url |
0031 device read in preferences file before discovery.patch | (download) |
host/lib/device.cpp |
4 3 1 - 0 ! |
[patch 31/62] device: read in preferences file before discovery |
0032 docs n3xx x3xx Fix links to DPDK page.patch | (download) |
host/docs/usrp_n3xx.dox |
2 1 1 - 0 ! |
[patch 32/62] docs: n3xx/x3xx: fix links to dpdk page The n3xx and x3xx device pages both link to the DPDK page. However, the link was setup as type "subpage" instead of "ref". The result was that both device pages thought they owned the DPDK page which caused non-intuitive behavior when clicking through links in the manual |
0033 utils populate_images download with python3.patch | (download) |
images/populate_images.py |
2 1 1 - 0 ! |
[patch 33/62] utils: populate_images: download with python3 |
0034 mpm rpc Use contextmanager for claim timeouts.patch | (download) |
mpm/python/usrp_mpm/rpc_server.py |
71 38 33 - 0 ! |
[patch 34/62] mpm: rpc: use contextmanager for claim timeouts Modify the RPC claim timeout mechanism to use a contextmanager helper function when enabling/disabling timeouts. |
0035 mpm Make contextmanagers exception safe.patch | (download) |
mpm/python/tests/mpm_utils_tests.py |
55 55 0 - 0 ! |
[patch 35/62] mpm: make contextmanagers exception-safe When making context managers in Python, the yield statement has to be wrapped in a try/finally clause in order to properly clean up after exceptions happen. |
0036 Add TwinRX support to phase alignment script.patch | (download) |
tools/gr-usrptest/apps/uhd_phase_alignment.py |
76 57 19 - 0 ! |
[patch 36/62] add twinrx support to phase alignment script |
0037 mpm explicitly set max buffer size for msgpack unpac.patch | (download) |
mpm/python/usrp_mpm/rpc_server.py |
2 2 0 - 0 ! |
[patch 37/62] mpm: explicitly set max buffer size for msgpack unpacker Msgpack version 0.6 reduced the default max buffer size to 1MB which is smaller than the bitfiles. This change sets the max buffer size to 50MB which is larger than the bitfiles. |
0038 mpm rpc_server set correct default unpacker params f.patch | (download) |
mpm/python/usrp_mpm/rpc_server.py |
4 2 2 - 0 ! |
[patch 38/62] mpm: rpc_server: set correct default unpacker params for msgpack 0.6.1 msgpack 0.6.1 suggests new default parameters which ensures compatibility with the upcoming msgpack 1.0 release which will have breaking changes. The parameter changes are described in https://github.com/msgpack/msgpack-python/blob/v0.6.1/README.rst The default parameters for msgpack 1.0 will be: - packer: use_bin_type=True - unpacker: raw=False The packer use_bin_type=True option is already set in the client (mpm_shell.py) but the unpacker option raw=False needs to be set in the server (rpc_server.py) This change allows the usage of a patched version of python3-mprpc 0.1.17 which removes passing the encoding option to the Packer and Unpacker Signed-off-by: Joerg Hofrichter <[email protected]> |
0039 uhd Add quotes around test environment variables.patch | (download) |
host/cmake/Modules/UHDUnitTest.cmake |
2 1 1 - 0 ! |
[patch 39/62] uhd: add quotes around test environment variables On systems which have spaces in the environment variables, such as $PATH, attempting to run the generated test scripts will throw an error about a bad variable name. Adding quotes around the values prevents this error. |
0040 examples Fix replay example for replay_chan 1.patch | (download) |
host/examples/replay_samples_from_file.cpp |
9 7 2 - 0 ! |
[patch 40/62] examples: fix replay example for replay_chan > 1 |
0041 Revert utils images downloader Add support for UHD_I.patch | (download) |
host/utils/uhd_images_downloader.py.in |
22 19 3 - 0 ! |
[patch 41/62] revert "utils: images downloader: add support for UHD_IMAGES_URL, clean up" This reverts commit 43cfd1ffe9a45598777a939bcb3b507b5934f4f3. Said commit breaks Python2-compatibility, which is still required on 3.15. Note that this branch (UHD-3.15.LTS) already has a related fix in a Python2-compatible version (95475ae), so this commit is not needed to add support for UHD_IMAGES_URL. |
0042 rpclib Remove some warnings from object.hpp.patch | (download) |
host/lib/deps/rpclib/include/rpc/msgpack/object.hpp |
12 12 0 - 0 ! |
[patch 42/62] rpclib: remove some warnings from object.hpp This removes -Wmaybe-uninitialized and -Wclass-memaccess from this file when using gcc. |
0043 libusb Remove deprecation warnings for libusb_set_de.patch | (download) |
host/lib/transport/libusb1_base.cpp |
15 14 1 - 0 ! |
[patch 43/62] libusb: remove deprecation warnings for libusb_set_debug Starting with 1.0.22, libusb considers libusb_set_debug() deprecated. This replaces said call with libusb_set_option(), conditionally on the libusb version. This has no effect on the execution, but will remove some compiler versions, and make this code more future-proof. Note that Ubuntu 18.04 ships libusb 1.0.21, so this conditional code needs to remain until that version is deprecated and libusb version is bumped higher. |
0044 x300 Fix get_tx_gain.patch | (download) |
host/lib/usrp/x300/x300_radio_ctrl_impl.cpp |
16 9 7 - 0 ! |
[patch 44/62] x300: fix get_tx_gain() RX and TX gain were asymmetrically implemented. This makes them symmetric by making the following changes: - Don't rely on radio_ctrl_impl for any gain settings - Use the gain groups for get/set gain - Remove a branch in set_tx_gain() that would return 0 if called with an invalid channel. |
0045 ad9361 Remove compiler warning.patch | (download) |
host/lib/usrp/common/ad9361_driver/ad9361_device.cpp |
2 1 1 - 0 ! |
[patch 45/62] ad9361: remove compiler warning Adds UHD_UNUSED() to tag a variable that is only used in a UHD_LOG_TRACE() macro. |
0046 rh Remove compiler warnings.patch | (download) |
host/lib/usrp/dboard/rhodium/rhodium_radio_ctrl_cpld.cpp |
6 4 2 - 0 ! |
[patch 46/62] rh: remove compiler warnings - Remove warnings related to functions only used in TRACE log statements - Fix a catch statement that caught by value |
0047 dpdk Remove compiler warning.patch | (download) |
host/lib/usrp/mpmd/mpmd_xport_ctrl_dpdk_udp.cpp |
2 1 1 - 0 ! |
[patch 47/62] dpdk: remove compiler warning This changes a const-cast to a regular cast. |
0048 nocscript Remove warnings during build of Noc Script.patch | (download) |
host/lib/rfnoc/nocscript/gen_basic_funcs.py |
34 19 15 - 0 ! |
[patch 48/62] nocscript: remove warnings during build of noc-script functions - Fix PyLint warnings - Fix compile/build warning regarding empty split regex |
0049 device_addr Silence Boost warnings from lexical_cast.patch | (download) |
host/include/uhd/types/device_addr.hpp |
10 10 0 - 0 ! |
[patch 49/62] device_addr: silence boost warnings from lexical_cast In some versions of Boost, using lexical_cast with certain types creates warnings about uninitialized return values. We simply turn off the warning on gcc. |
0050 ad9361 Fix mask for product ID check.patch | (download) |
host/lib/usrp/common/ad9361_driver/ad9361_device.cpp |
2 1 1 - 0 ! |
[patch 50/62] ad9361: fix mask for product id check The product ID check should be masked with 0xF8 and checked to be 0x08. With a device off and weak pull-ups, the readback would always read 0xFF, passing the ID check when it obviously wasn't there. Extending the mask to be 0xF8 shows that both 0's and 1's are read back from the device. |
0051 boost Include bind.hpp where used add BOOST_BIND_GLO.patch | (download) |
host/cmake/Modules/UHDBoost.cmake |
3 3 0 - 0 ! |
[patch 51/62] boost: include bind.hpp where used, add BOOST_BIND_GLOBAL_PLACEHOLDERS Consists of two changes: - Grepped for files that use boost::bind, but don't include boost/bind.hpp. Changed all of those to include bind.hpp - Add BOOST_BIND_GLOBAL_PLACEHOLDERS so that Boost doesn't complain about using bind placeholders in the global namespace. Background: boost/bind.hpp is a convenience header that pulls the Boost bind placeholders into the global namespace, but that's deprecated behaviour. For UHD 3.15, we'll keep the deprecated behaviour (modern UHD no longer uses Boost.Bind), so this fixes build failures with modern Boost, and related warnings. |
0052 lib Make sure generated file is closed.patch | (download) |
host/lib/ic_reg_maps/common.py |
3 2 1 - 0 ! |
[patch 52/62] lib: make sure generated file is closed Letting garbage collection close the file works when using CPython, but |
0053 utils Fix prefix determination in get_lib_path.patch | (download) |
host/lib/utils/paths.cpp |
4 3 1 - 0 ! |
[patch 53/62] utils: fix prefix determination in get_lib_path() get_lib_path() uses the libuhd location on disk to dynamically determine the installation prefix at runtime. This fix normalizes the libuhd path before any path operations are done to extract the library directory and then prefix directory. Previously, using a non-normalized library path, the returned prefix directory would be incorrect in some cases (e.g. when loaded through GNU Radio). In these error cases, the libuhd path would be $PREFIX/lib/./libuhd.so (with a no-op /. inserted) which would result in a technically correct library directory of `$PREFIX/lib/.` but an incorrect prefix directory of `$PREFIX/lib`. With the normalization fix, the libuhd path is corrected to $PREFIX/lib/libuhd.so and the subsequent path manipulation to get the library and prefix directories will work as intended. |
0054 utils Make uhd_config_info print help by default.patch | (download) |
host/utils/uhd_config_info.cpp |
2 1 1 - 0 ! |
[patch 54/62] utils: make uhd_config_info print help by default |
0055 Docs Update Python3 dependencies.patch | (download) |
host/docs/build.dox.in |
25 13 12 - 0 ! |
[patch 55/62] docs: update python3 dependencies Signed-off-by: michael-west <[email protected]> |
0056 debian Update Python3 dependencies.patch | (download) |
host/cmake/debian/README.Debian |
2 1 1 - 0 ! |
[patch 56/62] debian: update python3 dependencies Signed-off-by: michael-west <[email protected]> |
0057 docs Fix doxygen warnings.patch | (download) |
host/docs/Doxyfile.in |
14 0 14 - 0 ! |
[patch 57/62] docs: fix doxygen warnings |
0058 n310 n300 Allow gain coercion.patch | (download) |
host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp |
18 16 2 - 0 ! |
[patch 58/62] n310/n300: allow gain coercion |
0059 devtest Fix benchmark_rate_test success criteria.patch | (download) |
host/tests/devtest/benchmark_rate_test.py |
4 2 2 - 0 ! |
[patch 59/62] devtest: fix benchmark_rate_test success criteria Allow success if testing either TX or RX. Previously required both TX and RX to be tested simultaneously. Signed-off-by: Michael West <[email protected]> |
0060 devtest Add method to get number of channels.patch | (download) |
host/tests/devtest/usrp_probe.py |
36 36 0 - 0 ! |
[patch 60/62] devtest: add method to get number of channels Adding method to get number of TX and RX channels to usrp_probe. Signed-off-by: Michael West <[email protected]> |