pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/ham/uhd uhd: update to 4.1.0.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/540d972e25a9
branches:  trunk
changeset: 770969:540d972e25a9
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Dec 11 17:39:56 2021 +0000

description:
uhd: update to 4.1.0.4

With UHD 4.0, RFNoC has undergone a major overhaul for improved usability,
performance, and compatibility with tools like GNU Radio.

Improved Radio Performance
  Increase channel bandwidth to 250 MSPS and beyond.
  Flexible bus width to increase throughput.
  Static routing for lower latency and higher throughput
  Updates to the NOC shell layer for improved latency and throughput.
FPGA Design Flow Enhancements
  Ability to scale to a larger number of user-defined blocks.
  Reduced FPGA resource utilization in many instances.
More Flexibility
  Architectural flexibility enables users to make more design tradeoffs.
  Allows the user to balance flexibility, resource utilization, and performance.
Improved User Experience
 Improved documentation with a full RFNoC Specification
 Power calibration utility API (requires external calibration reference)
 Python API enhancements with full Python 3 support.
 Stability improvements from new automated testing infrastructure.
 Use embedded series radios without programming the ARM processing with
   "Network Mode" over the RJ45

diffstat:

 ham/uhd/Makefile                                                           |   15 +-
 ham/uhd/PLIST                                                              |  241 ++-
 ham/uhd/PLIST.doxygen                                                      |  709 ++++++++-
 ham/uhd/buildlink3.mk                                                      |    3 +-
 ham/uhd/distinfo                                                           |   38 +-
 ham/uhd/patches/patch-CMakeLists.txt                                       |   10 +-
 ham/uhd/patches/patch-lib_rfnoc_dma__fifo__block__ctrl__impl.cpp           |   22 -
 ham/uhd/patches/patch-lib_transport_nirio_lvbitx_process-lvbitx.py         |    8 +-
 ham/uhd/patches/patch-lib_usrp__clock_octoclock_octoclock__impl.cpp        |   13 -
 ham/uhd/patches/patch-lib_usrp_b100_b100__impl.cpp                         |  211 --
 ham/uhd/patches/patch-lib_usrp_cores_rx__dsp__core__3000.cpp               |   27 -
 ham/uhd/patches/patch-lib_usrp_cores_rx__frontend__core__3000.cpp          |   14 -
 ham/uhd/patches/patch-lib_usrp_cores_tx__dsp__core__3000.cpp               |   17 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__cbx.cpp                          |   15 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__dbsrx.cpp                        |   29 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__dbsrx2.cpp                       |   29 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__rfx.cpp                          |   39 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__sbx__common.cpp                  |   46 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__sbx__version3.cpp                |   15 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__sbx__version4.cpp                |   15 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__tvrx.cpp                         |   19 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__tvrx2.cpp                        |   34 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__ubx.cpp                          |  127 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__wbx__common.cpp                  |   21 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__wbx__simple.cpp                  |   22 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__wbx__version2.cpp                |   44 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__wbx__version3.cpp                |   44 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__wbx__version4.cpp                |   45 -
 ham/uhd/patches/patch-lib_usrp_dboard_db__xcvr2450.cpp                     |   66 -
 ham/uhd/patches/patch-lib_usrp_dboard_eiscat_eiscat__radio__ctrl__impl.cpp |   13 -
 ham/uhd/patches/patch-lib_usrp_multi__usrp.cpp                             |   13 -
 ham/uhd/patches/patch-lib_usrp_usrp2_usrp2__impl.cpp                       |   25 -
 ham/uhd/patches/patch-lib_usrp_x300_x300__radio__ctrl__impl.cpp            |   58 -
 33 files changed, 823 insertions(+), 1224 deletions(-)

diffs (truncated from 2940 to 300 lines):

diff -r a34beaa9ea2d -r 540d972e25a9 ham/uhd/Makefile
--- a/ham/uhd/Makefile  Sat Dec 11 17:30:07 2021 +0000
+++ b/ham/uhd/Makefile  Sat Dec 11 17:39:56 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2021/09/29 19:00:51 adam Exp $
+# $NetBSD: Makefile,v 1.63 2021/12/11 17:39:56 tnn Exp $
 
-DISTNAME=      uhd-3.15.0.0
-PKGREVISION=   5
+DISTNAME=      uhd-4.1.0.4
 CATEGORIES=    ham
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=EttusResearch/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -9,7 +8,7 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/EttusResearch/uhd
 COMMENT=       USRP (Universal Software Radio Peripheral) Hardware Drivers
-LICENSE=       gnu-gpl-v2
+LICENSE=       gnu-gpl-v3
 
 DEPENDS+=      ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
 DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
@@ -43,10 +42,13 @@
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/host
 
 # The files with their name uhd-xxxx, are moved down from uhd/xxxx for this process.
+REPLACE_PYTHON+=       utils/convert_cal_data.py
 REPLACE_PYTHON+=       utils/converter_benchmark.py
 REPLACE_PYTHON+=       utils/latency/graph.py
 REPLACE_PYTHON+=       utils/latency/run_tests.py
+REPLACE_PYTHON+=       utils/rfnoc_image_builder.py
 REPLACE_PYTHON+=       utils/uhd_images_downloader.py.in
+REPLACE_PYTHON+=       utils/uhd_power_cal.py
 REPLACE_PYTHON+=       utils/usrp2_card_burner.py
 REPLACE_PYTHON+=       utils/usrp2_card_burner_gui.py
 REPLACE_PYTHON+=       utils/usrp2_recovery.py
@@ -62,6 +64,11 @@
 REPLACE_PYTHON+=       tests/devtest/uhd_test_base.py
 REPLACE_PYTHON+=       tests/devtest/usrp_probe.py
 REPLACE_PYTHON+=       tests/devtest/usrp_probe_test.py
+REPLACE_PYTHON+=       tests/streaming_performance/batch_run_benchmark_rate.py
+REPLACE_PYTHON+=       tests/streaming_performance/run_E3xx_max_rate_tests.py
+REPLACE_PYTHON+=       tests/streaming_performance/run_N3xx_max_rate_tests.py
+REPLACE_PYTHON+=       tests/streaming_performance/run_X3xx_max_rate_tests.py
+
 
 INSTALLATION_DIRS+=    share/uhd
 INSTALLATION_DIRS+=    share/uhd/firmware
diff -r a34beaa9ea2d -r 540d972e25a9 ham/uhd/PLIST
--- a/ham/uhd/PLIST     Sat Dec 11 17:30:07 2021 +0000
+++ b/ham/uhd/PLIST     Sat Dec 11 17:39:56 2021 +0000
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.19 2020/08/01 03:58:54 tnn Exp $
+@comment $NetBSD: PLIST,v 1.20 2021/12/11 17:39:56 tnn Exp $
+bin/rfnoc_image_builder
+bin/uhd_adc_self_cal
 bin/uhd_cal_rx_iq_balance
 bin/uhd_cal_tx_dc_offset
 bin/uhd_cal_tx_iq_balance
@@ -8,47 +10,79 @@
 bin/uhd_usrp_probe
 include/uhd.h
 include/uhd/build_info.hpp
+include/uhd/cal/cal_metadata_generated.h
+include/uhd/cal/container.hpp
+include/uhd/cal/database.hpp
+include/uhd/cal/dsa_cal.hpp
+include/uhd/cal/dsa_cal_generated.h
+include/uhd/cal/iq_cal.hpp
+include/uhd/cal/iq_cal_generated.h
+include/uhd/cal/pwr_cal.hpp
+include/uhd/cal/pwr_cal_generated.h
 include/uhd/config.h
 include/uhd/config.hpp
 include/uhd/convert.hpp
-include/uhd/deprecated.hpp
 include/uhd/device.hpp
-include/uhd/device3.hpp
 include/uhd/error.h
 include/uhd/exception.hpp
+include/uhd/features/discoverable_feature.hpp
+include/uhd/features/discoverable_feature_getter_iface.hpp
+include/uhd/features/ref_clk_calibration_iface.hpp
 include/uhd/property_tree.hpp
 include/uhd/property_tree.ipp
-include/uhd/rfnoc/block_ctrl.hpp
-include/uhd/rfnoc/block_ctrl_base.hpp
+include/uhd/rfnoc/actions.hpp
+include/uhd/rfnoc/addsub_block_control.hpp
+include/uhd/rfnoc/block_control.hpp
 include/uhd/rfnoc/block_id.hpp
 include/uhd/rfnoc/blockdef.hpp
+include/uhd/rfnoc/chdr_types.hpp
 include/uhd/rfnoc/constants.hpp
-include/uhd/rfnoc/ddc_block_ctrl.hpp
-include/uhd/rfnoc/dma_fifo_block_ctrl.hpp
-include/uhd/rfnoc/duc_block_ctrl.hpp
-include/uhd/rfnoc/fir_block_ctrl.hpp
-include/uhd/rfnoc/graph.hpp
-include/uhd/rfnoc/node_ctrl_base.hpp
-include/uhd/rfnoc/node_ctrl_base.ipp
-include/uhd/rfnoc/null_block_ctrl.hpp
-include/uhd/rfnoc/radio_ctrl.hpp
-include/uhd/rfnoc/rate_node_ctrl.hpp
-include/uhd/rfnoc/replay_block_ctrl.hpp
-include/uhd/rfnoc/scalar_node_ctrl.hpp
-include/uhd/rfnoc/siggen_block_ctrl.hpp
-include/uhd/rfnoc/sink_block_ctrl_base.hpp
-include/uhd/rfnoc/sink_node_ctrl.hpp
-include/uhd/rfnoc/source_block_ctrl_base.hpp
-include/uhd/rfnoc/source_node_ctrl.hpp
-include/uhd/rfnoc/stream_sig.hpp
-include/uhd/rfnoc/terminator_node_ctrl.hpp
-include/uhd/rfnoc/tick_node_ctrl.hpp
-include/uhd/rfnoc/window_block_ctrl.hpp
+include/uhd/rfnoc/ddc_block_control.hpp
+include/uhd/rfnoc/defaults.hpp
+include/uhd/rfnoc/dirtifier.hpp
+include/uhd/rfnoc/dmafifo_block_control.hpp
+include/uhd/rfnoc/duc_block_control.hpp
+include/uhd/rfnoc/fft_block_control.hpp
+include/uhd/rfnoc/filter_node.hpp
+include/uhd/rfnoc/fir_filter_block_control.hpp
+include/uhd/rfnoc/fosphor_block_control.hpp
+include/uhd/rfnoc/graph_edge.hpp
+include/uhd/rfnoc/keep_one_in_n_block_control.hpp
+include/uhd/rfnoc/logpwr_block_control.hpp
+include/uhd/rfnoc/mb_controller.hpp
+include/uhd/rfnoc/mock_block.hpp
+include/uhd/rfnoc/moving_average_block_control.hpp
+include/uhd/rfnoc/multichan_register_iface.hpp
+include/uhd/rfnoc/noc_block_base.hpp
+include/uhd/rfnoc/noc_block_make_args.hpp
+include/uhd/rfnoc/node.hpp
+include/uhd/rfnoc/node.ipp
+include/uhd/rfnoc/null_block_control.hpp
+include/uhd/rfnoc/property.hpp
+include/uhd/rfnoc/property.ipp
+include/uhd/rfnoc/radio_control.hpp
+include/uhd/rfnoc/register_iface.hpp
+include/uhd/rfnoc/register_iface_holder.hpp
+include/uhd/rfnoc/registry.hpp
+include/uhd/rfnoc/replay_block_control.hpp
+include/uhd/rfnoc/res_source_info.hpp
+include/uhd/rfnoc/rf_control/core_iface.hpp
+include/uhd/rfnoc/rf_control/power_reference_iface.hpp
+include/uhd/rfnoc/rfnoc_types.hpp
+include/uhd/rfnoc/siggen_block_control.hpp
+include/uhd/rfnoc/split_stream_block_control.hpp
+include/uhd/rfnoc/switchboard_block_control.hpp
+include/uhd/rfnoc/traffic_counter.hpp
+include/uhd/rfnoc/vector_iir_block_control.hpp
+include/uhd/rfnoc/window_block_control.hpp
+include/uhd/rfnoc_graph.hpp
 include/uhd/stream.hpp
+include/uhd/transport/adapter_id.hpp
 include/uhd/transport/bounded_buffer.hpp
 include/uhd/transport/bounded_buffer.ipp
 include/uhd/transport/buffer_pool.hpp
 include/uhd/transport/chdr.hpp
+include/uhd/transport/frame_buff.hpp
 include/uhd/transport/if_addrs.hpp
 include/uhd/transport/tcp_zero_copy.hpp
 include/uhd/transport/udp_constants.hpp
@@ -61,25 +95,23 @@
 include/uhd/transport/zero_copy.hpp
 include/uhd/transport/zero_copy_flow_ctrl.hpp
 include/uhd/types/byte_vector.hpp
-include/uhd/types/clock_config.hpp
 include/uhd/types/device_addr.hpp
 include/uhd/types/dict.hpp
 include/uhd/types/dict.ipp
 include/uhd/types/direction.hpp
+include/uhd/types/eeprom.hpp
 include/uhd/types/endianness.hpp
 include/uhd/types/filters.hpp
-include/uhd/types/io_type.hpp
 include/uhd/types/mac_addr.hpp
+include/uhd/types/memmap_iface.hpp
 include/uhd/types/metadata.h
 include/uhd/types/metadata.hpp
-include/uhd/types/otw_type.hpp
 include/uhd/types/ranges.h
 include/uhd/types/ranges.hpp
 include/uhd/types/ref_vector.hpp
 include/uhd/types/sensors.h
 include/uhd/types/sensors.hpp
 include/uhd/types/serial.hpp
-include/uhd/types/sid.hpp
 include/uhd/types/stream_cmd.hpp
 include/uhd/types/string_vector.h
 include/uhd/types/time_spec.hpp
@@ -113,10 +145,15 @@
 include/uhd/utils/byteswap.hpp
 include/uhd/utils/byteswap.ipp
 include/uhd/utils/cast.hpp
+include/uhd/utils/chdr/chdr_packet.hpp
+include/uhd/utils/chdr/chdr_packet.ipp
 include/uhd/utils/csv.hpp
+include/uhd/utils/dirty_tracked.hpp
 include/uhd/utils/fp_compare_delta.ipp
 include/uhd/utils/fp_compare_epsilon.ipp
 include/uhd/utils/gain_group.hpp
+include/uhd/utils/graph_utils.hpp
+include/uhd/utils/interpolation.hpp
 include/uhd/utils/log.h
 include/uhd/utils/log.hpp
 include/uhd/utils/log_add.hpp
@@ -126,6 +163,7 @@
 include/uhd/utils/paths.hpp
 include/uhd/utils/pimpl.hpp
 include/uhd/utils/platform.hpp
+include/uhd/utils/pybind_adaptors.hpp
 include/uhd/utils/safe_call.hpp
 include/uhd/utils/safe_main.hpp
 include/uhd/utils/scope_exit.hpp
@@ -140,16 +178,15 @@
 lib/cmake/uhd/UHDConfig.cmake
 lib/cmake/uhd/UHDConfigVersion.cmake
 lib/libuhd.so
-lib/libuhd.so.3.15.0
+lib/libuhd.so.4.1.0
 lib/pkgconfig/uhd.pc
 lib/uhd/examples/benchmark_rate
-lib/uhd/examples/benchmark_streamer
 lib/uhd/examples/gpio
 lib/uhd/examples/latency_test
 lib/uhd/examples/network_relay
-lib/uhd/examples/replay_samples_from_file
 lib/uhd/examples/rfnoc_nullsource_ce_rx
 lib/uhd/examples/rfnoc_radio_loopback
+lib/uhd/examples/rfnoc_replay_samples_from_file
 lib/uhd/examples/rfnoc_rx_to_file
 lib/uhd/examples/rx_ascii_art_dft
 lib/uhd/examples/rx_multi_samples
@@ -171,17 +208,24 @@
 lib/uhd/examples/tx_waveforms
 lib/uhd/examples/txrx_loopback_to_file
 lib/uhd/examples/usrp_list_sensors
+lib/uhd/tests/actions_test
 lib/uhd/tests/addr_test
+lib/uhd/tests/addsub_block_test
 lib/uhd/tests/block_id_test
-lib/uhd/tests/blockdef_test
 lib/uhd/tests/buffer_test
 lib/uhd/tests/byteswap_test
+lib/uhd/tests/cal_data_dsa_test
+lib/uhd/tests/cal_data_gain_pwr_test
+lib/uhd/tests/cal_data_iq_test
+lib/uhd/tests/cal_database_test
 lib/uhd/tests/cast_test
+lib/uhd/tests/chdr_parse_test
 lib/uhd/tests/chdr_test
+lib/uhd/tests/client_zero_test
 lib/uhd/tests/config_parser_test
 lib/uhd/tests/constrained_device_args_test
 lib/uhd/tests/convert_test
-lib/uhd/tests/device3_test
+lib/uhd/tests/ddc_block_test
 lib/uhd/tests/devtest/benchmark_rate_test.py
 lib/uhd/tests/devtest/bitbang_test.py
 lib/uhd/tests/devtest/devtest_b2xx.py
@@ -189,6 +233,7 @@
 lib/uhd/tests/devtest/devtest_e3xx.py
 lib/uhd/tests/devtest/devtest_n3x0.py
 lib/uhd/tests/devtest/devtest_x3x0.py
+lib/uhd/tests/devtest/devtest_x4x0.py
 lib/uhd/tests/devtest/gpio_test.py
 lib/uhd/tests/devtest/list_sensors_test.py
 lib/uhd/tests/devtest/multi_usrp_test.py
@@ -203,46 +248,81 @@
 lib/uhd/tests/devtest/usrp_probe.py
 lib/uhd/tests/devtest/usrp_probe_test.py
 lib/uhd/tests/dict_test
+lib/uhd/tests/discoverable_feature_test
+lib/uhd/tests/duc_block_test
 lib/uhd/tests/eeprom_c_test
 lib/uhd/tests/eeprom_utils_test
 lib/uhd/tests/error_c_test
 lib/uhd/tests/error_test
 lib/uhd/tests/expert_test
 lib/uhd/tests/fe_conn_test
+lib/uhd/tests/fft_block_test
+lib/uhd/tests/fir_filter_block_test
+lib/uhd/tests/fosphor_block_test
 lib/uhd/tests/fp_compare_delta_test
 lib/uhd/tests/fp_compare_epsilon_test
 lib/uhd/tests/gain_group_test
-lib/uhd/tests/graph_search_test
+lib/uhd/tests/interpolation_test
 lib/uhd/tests/isatty_test
+lib/uhd/tests/keep_one_in_n_test
+lib/uhd/tests/link_test
+lib/uhd/tests/lmx2572_test
 lib/uhd/tests/log_test
+lib/uhd/tests/logpwr_block_test
 lib/uhd/tests/math_test
+lib/uhd/tests/mb_controller_test
+lib/uhd/tests/moving_average_block_test
+lib/uhd/tests/multichan_register_iface_test



Home | Main Index | Thread Index | Old Index