aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tests: streaming: add support for B210 DUTsMatthew Crymble2022-06-103-2/+27
| | | | | | The use_dpdk will be false for all B210 test cases, but still needs to be defined since the main test_streaming() function requires a value for it.
* tests: streaming: include dual_SFP parameter for all casesMatthew Crymble2022-06-101-20/+18
| | | | | | The dual_SFP test case parameter will be false for all B210 and E320 test cases, but it still needs to be defined since the main test_streaming() function requires a value for it.
* tests: streaming: add support for more DUTsMatthew Crymble2022-06-103-19/+71
| | | | | | | | | | This commit enables runs for X310, X310 TwinRx, E320, and N310. By default, python's argparse module will expect a value to be provided for each argument defined. Specifying an nargs value of '?' for the pytest options allows us to use a single pytest invocation in our pipeline configuration, even though some options don't apply to some DUT types.
* n320: Fix reading DB serial in applying correctionsMartin Braun2022-06-101-2/+2
| | | | | | The frontend corrections for N320 (IQ imbalance, DC offset) require the DB serial. However, there was an error in reading the DB serial in the code that applies the corrections.
* rfnoc: fix double conversionsLars Amsel2022-06-101-4/+3
| | | | | result of get double was saved in an int value instead of double replaced C cast by static_cast
* n320: Improve comments regarding low bandMartin Braun2022-06-102-4/+6
| | | | | The N320 code include some constants that were either unused or incorrect. This clarifies the lowband frequency.
* fpga: rfnoc: Remove rfnoc_version from target YAMLWade Fife2022-06-1015-15/+0
| | | | | | This causes the latest RFNoC protocol version to be used by default and avoids the need to update YAML files every time the RFNoC protocol version gets bumped.
* python: Check rfnoc_version in rfnoc_image_builderWade Fife2022-06-102-1/+28
|
* mpm: Fix expected CPLD filename for x4xxWade Fife2022-06-101-2/+2
| | | | | Change the filename expected by x4xx_update_cpld to match the name used by package_images and downloaded by uhd_images_downloader.
* tests: streaming: pass the correct LD_LIBRARY_PATH to pytestMatthew Crymble2022-06-101-3/+8
| | | | | | We need to run the DPDK streaming tests with elevated permissions, but using sudo clears the environment before running. This prevented the streaming tests from accessing the libuhd binaries.
* utils: uhd_images_downloader: Increase default image download size limitmattprost2022-06-101-5/+4
| | | | | | | | | | Prompt users for download confirmation of files larger than 1 GiB instead of 100 MiB. Improve messaging to make this process less concerning for users. The defined limit is only for the user's convenience. A 1 GiB limit should allow users to download most uhd images and related files without being prompted. Signed-off-by: mattprost <matt.prost@ni.com>
* uhd: change default into option flag in register definitionLars Amsel2022-06-103-35/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for read only registers in generated interfaces. For this the default is extended to an option string. The old format is still supported for backward compability, so if options string is just a number it will be handled as a writable number. The option string is a comma separated list with key=value pairs. The value is optional and treated as None if missing. common.py now allows to pass in **kwargs to the generate method which is used by gen_zbx_cpld_regs.py to pass a filter function for registers used by mpm only. get_all_addr now has an additional (optional, defaults to false) flag to indicate whether read only addresses are to be returned or not. It also supports type generic for the result to align with get_changed_addr function. The ZBX CPLD CTRL map is adapted accordingly to reflect read only registers. The power registers are flagged as MPM scope only (and not used in ZBX CPLD control of UHD). Co-authored-by: Martin Braun <martin.braun@ettus.com>
* tests: streaming: add option to run streaming tests in dev pipelineMatthew Crymble2022-06-102-1/+31
|
* fixup! ci: Add fedora rpm installer buildmattprost2022-06-101-0/+32
|
* ci: Add fedora rpm installer buildmattprost2022-06-106-4/+43
| | | | | | | Builds fedora rpm files using CPack. Supports both release and development builds. Signed-off-by: mattprost <matt.prost@ni.com>
* cmake: Add support for fedora rpm versioningmattprost2022-06-103-16/+24
| | | | | | | | | Adds cmake option for replacing dashes in the UHD Component version with underscores. This is necessary as Fedora package management is now enforcing the format <Package>-<Version>-<Release> for all rpm builds, so dashes in the UHD_VERSION from dev branches is not supported. Signed-off-by: mattprost <matt.prost@ni.com>
* n310: Improve LO source control options for ALL and LO2 casesmattprost2022-06-101-19/+40
| | | | | | | | If ALL option is specified, set lo source for both lo's. Do not report an error if user sets LO2 to internal. Enforce single lo target for queries about lo state. Signed-off-by: mattprost <matt.prost@ni.com>
* cmake: Drop .deb generation via cpack in favour of better toolsMartin Braun2022-06-101-49/+18
| | | | | | Building .deb files has an entire ecosystem dedicated to it which is superior to cpack, and we don't test cpack, either. Users wanting to build .deb files should take a look at tools/debs/uhd_ubuntu_deb.py.
* utils: uhd_images_downloader: Print name of file that exceeds limitWade Fife2022-06-101-5/+5
| | | | | When a file exceeds the download limit, print the name of the file in the message that asks if we want to continue downloading.
* rfnoc: Improve documentation for chdr_ctrl_endpointMartin Braun2022-06-101-3/+23
|
* ci: Add package source support to pipelinesSteven Koo2022-06-102-0/+88
| | | | | | | This change adds support for building the release tarballs using pipelines using tools/package_source.sh Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add package builder container entrySteven Koo2022-06-105-0/+14
| | | | | | This container will be used to build the src tarballs. Signed-off-by: Steven Koo <steven.koo@ni.com>
* tools: package_source remove double bracketSteven Koo2022-06-101-4/+4
| | | | | | Fixes syntax issues when running on Ubuntu Signed-off-by: Steven Koo <steven.koo@ni.com>
* cmake: Cache UHD_VERSION in all casesSteven Koo2022-06-101-2/+2
| | | | | | | This outputs the variable in the CMakeCache, so that we can scrape the version later for building package Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add Windows installer signingSteven Koo2022-06-102-0/+61
| | | | | | This adds signing when generating release installers for windows Signed-off-by: Steven Koo <steven.koo@ni.com>
* utils: uhd_usrp_probe: Add DB rev to outputMartin Braun2022-06-101-0/+6
| | | | | | | | | | | | | | When running uhd_usrp_probe, this adds the daughterboard revision if available: ``` | _____________________________________________________ | / | | RX Dboard: 0/Radio#0 | | ID: TwinRX Rev C (0x0095) | | Serial: ABC1234 | | Revision: 4 ```
* utils: x300_reset: Make py3k-readyMartin Braun2022-06-101-14/+15
|
* lib: Add missing include to offload_io_service_client.hppMartin Braun2022-06-101-0/+1
|
* debian: Change jellyfish to jammyAaron Rossetto2022-04-281-1/+1
| | | | | Ubuntu 22.04 LTS is called 'Jammy Jellyfish', and Launchpad expects to see 'jammy' in the archive name, not 'jellyfish'.
* ci: Update branches to UHD-4.2Steven Koo2022-04-283-4/+4
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* debian: Remove hirsute; add jellyfish supportAaron Rossetto2022-04-271-1/+1
|
* debian: Resolve lintian issuesAaron Rossetto2022-04-262-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | This PR makes a couple of minor changes to Debian packaging files to resolve errors reported by Lintian during CI and manual building of .debs after having been updated in 38fb5e262: - Remove instances of `${python3:Depends}` in the rules file, as this substitution directive cannot be used without specifying `--with python3` in the `dh` debhelper command invocation. However, the Docker containers that are spun up to build .debs as part of UHD CI do not include the Debian Python helper package necessary to use the substitution even if `--with python3` is specified. Thus, the substitution was removed and replaced with the actual names of the dependent Python packages. - Remove the `Files-Excluded` section from the copyright file. Lintian flags an error whenever a file in that section is present in the source tree (which the specified files are). The addition of this section was supposed to bring UHD's built-in Debian packaging files more in line with those used by the actual Debian package maintainer, but it is likely that the actual Debian packing process runs additional steps that reference this section and uses it to remove the specified files which we currently don't run.
* images: Update manifestAaron Rossetto2022-04-191-14/+14
|
* uhd: Prepare for 4.2.0.0 releaseAaron Rossetto2022-04-192-1053/+1057
| | | | | - Updated CHANGELOG - Updated Debian changelog
* utils: Check install-prefix for imagesSteven Koo2022-04-191-8/+11
| | | | | | | | On some installs, pkg-path and install-prefix aren't equivalent. Since uhd_images_downloader defaults to installing into $CMAKE_INSTALL_PREFIX/share/uhd/images, we should look there too. Signed-off-by: Steven Koo <steven.koo@ni.com>
* docs: multi_usrp: Clarify GPIO source bank meaningMartin Braun2022-04-191-7/+10
|
* tools: Fixes to uhd_phase_alignment.pymichael-west2022-04-151-24/+49
| | | | | | | | | | | A few minor fixes so the script works for N210: - Set source on master mboard to "external" if "mimo" ref or pps is specified. - Add support for comma-separated lists for ref and pps arguments. - Fix bug where not supplying the lo_source argument would cause the script to fail. Signed-off-by: michael-west <michael.west@ettus.com>
* rfnoc: Update image builder to check for deprecated blocksWade Fife2022-04-121-27/+49
| | | | | | | | | | Adds checks for deprecated blocks (e.g., radio_1x64.yml instead of radio.yml) as well as deprecated IO signature types (e.g., ctrl_port instead of ctrlport). Deprecated block descriptions are no longer parsed. Old IO signature types are automatically converted to the new type. Warnings are printed in both cases.
* tests: add filesystem flashing to streaming testsVirendra Kakade2022-04-123-12/+96
| | | | Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* multi_usrp_rfnoc: Set assignment instead of equalitySteven Koo2022-04-121-1/+1
| | | | | | | This resolves a typo intoduced by multi_usrp_rfnoc: Add TX buffering using Replay Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Weekly builds for UHD-4.2 docker imagesSteven Koo2022-04-121-0/+6
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* uhd: Update MPM compat minorAaron Rossetto2022-04-121-1/+1
|
* mpm: ad937x: Fix tuning codeMartin Braun2022-04-111-2/+53
| | | | | | | | | | | | This fixes a known issue (see TODO) that the N300 and N310 have sub-Hz tuning inaccuracies. In fact, these are explained in the corresponding User Guide (UG-992). This commit modifies MPM to return the actual frequency when calling into ad937x_device::tune() or ad937x_device::get_freq(), instead of the nearest integer value. Co-authored-by: Arthur Moraes do Lago <arthurmoraeslago@gmail.com>
* uhd: Prepare for 4.2.0.0-rc1 releaseAaron Rossetto2022-04-084-29/+1199
| | | | | | - images: Updated manifest - uhd: Updated changelog and version string - debian: Updated changelog
* rfnoc: Add filter_node python bindingsmattprost2022-04-071-0/+9
| | | | Signed-off-by: mattprost <matt.prost@ni.com>
* docs: n310: Add Filter API sectionmattprost2022-04-071-0/+91
| | | | | Co-authored-by: bpadalino <bpadalino@gmail.com> Signed-off-by: mattprost <matt.prost@ni.com>
* n310: Add Filter API to n310mattprost2022-04-0714-37/+284
| | | | | | | | | | Add the Filter API to n3xx specifically for the AD937x device. The TX filter is limited to 32 taps, and the RX filter is limited to 48 taps. This feature requires MPM version 4.2 or later on the device. Co-authored-by: bpadalino <bpadalino@gmail.com> Signed-off-by: mattprost <matt.prost@ni.com>
* n310: Add frontend bandwidth controlmattprost2022-04-079-37/+164
| | | | | | | | | | | | Allow users to control the Mykonos frontend bandwidth settings for Rx and Tx. Note that this operation requires the daughterboard to re-initialize, so it may take some time. Values for frontend filter settings were derived using ADI's AD9371 Filter Wizard. This feature requires MPM version 4.1 or later on the device. Co-authored-by: bpadalino <bpadalino@gmail.com> Signed-off-by: mattprost <matt.prost@ni.com>
* n310: cpld: Get and set TX ATR bitsmattprost2022-04-072-0/+66
| | | | | | | | | This allows the user to get the current state of the tx atr bits and set them back to a given state. This is useful for the n310 when resetting the front end, in order to avoid any tx power out of the frontend when the init_cals are run. Signed-off-by: mattprost <matt.prost@ni.com>
* ic_reg_maps: Generate save state read functionsmattprost2022-04-071-0/+24
| | | | | | | | Auto-generated IC Register Maps (e.g. magnesium_cpld_regs, rhodium_cpld_regs, etc.) now provide getter methods for all attributes. This gives access to the save state information for the device. Signed-off-by: mattprost <matt.prost@ni.com>