aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for LEA-M8F GPSDO boardlea-m8f-v4.2.0.1Matthias P. Braendli2022-08-178-52/+389
|
* uhd: Prepare for 4.2.0.1 releaseSteven Koo2022-07-281-14/+14
| | | | | | - Updated manifest Signed-off-by: Steven Koo <steven.koo@ni.com>
* uhd: Prepare for 4.2.0.1-rc1 releaseSteven Koo2022-07-214-15/+273
| | | | | | | | | - Updated CHANGELOG - Updated Debian changelog - Updated manifest - Updated version Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: set meta-ettus-dev repo to zeus-ciSteven Koo2022-07-202-2/+2
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* fpga: lib: Update error call for undefined RW modeJavier Valenzuela2022-07-201-2/+2
|
* doc: Fix generation of man pagesZlika2022-07-201-1/+1
| | | | Reviewed-by: Steven Koo <steven.koo@ni.com>
* ci: add devtest e320 supportSteven Koo2022-07-209-14/+380
| | | | | | | | | | This commit adds devtest support for e320 via tftp. The e320 has a hardware incompatibility with sdmuxes that we use for the n3xx devices, which makes them unreliable. Instead this loads a small Linux OS into the e320 system memory and reimages the sd card from there. Signed-off-by: Steven Koo <steven.koo@ni.com>
* fpga: Add READMEs describing Lattice and ADI IP sourcingAaron Rossetto2022-07-202-0/+37
|
* e3xx: change radio_control_impl mutex to be a recursive_mutexDavid Raeman2022-07-202-11/+13
| | | | | | | This allows one setter to call a second setter in an atomic way, without dropping the lock. This is groundwork for incorporating the power calibraiton manager, which may change the gain setting during the process of changing the tuned frequency.
* mpm: Factor out transport API into PeriphManagerBaseMartin Braun2022-07-205-168/+19
| | | | | | | | | | | | | All MPM devices use identical implementations of the transport API. Minor differences between the actual lines of code in the various transport adapters are due to minor optimizations, such as hard-coding 'udp' as the only valid transport type for the N3xx series. This change moves the implementation of the transport API calls (get_chdr_link_options() and get_chdr_link_types()) into PeriphManagerBase. The class attributes _xport_adapter_mgrs is also declared in that class, but defining them is left up to the individual device implementations.
* Update README.mdNeel Pandeya2022-07-201-5/+6
|
* ci: call powerbtn multiple times to power onSteven Koo2022-07-201-3/+14
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* images: Update manifest with latest cpld firmwareJavier Valenzuela2022-07-201-1/+1
|
* examples: Fix rfnoc_replay_samples_from_fileMartin Braun2022-07-201-2/+2
| | | | | | | | | | | | It was creating a TX streamer with zero channels. Without this fix, you might see an error like this: ``` Error: AssertionError: channel < _mtu_out.size() in connect_channel at /path/to/uhd/host/lib/rfnoc/rfnoc_tx_streamer.cpp:127 ```
* mpm: xportmgr_udp: Include iface name in infoMartin Braun2022-07-201-0/+1
| | | | | | | XportMgrUDP.get_chdr_link_options() now also returns the interface name (e.g., sfp0) in its return values, which is very useful for identifying a transport in a different context (e.g., when only the node_inst value of a transport is known).
* cal: add method to get the current power cal tracking modeDavid Raeman2022-07-202-0/+9
|
* doc: Remove ZBX phase sync documentationLars Amsel2022-07-201-16/+0
| | | | | | The current ZBX documents how to use the phase sync feature. Because phase sync is not working yet, the documentation should be removed as well.
* ci: change gr-ettus ref to masterSteven Koo2022-07-201-1/+1
| | | | | | | gr-ettus added a stronger UHD version check in the maint-3.8-uhd4.0. Set this to master instead. Steven Koo <steven.koo@ni.com>
* fpga: x400: zbx: Add support for XO3 CPLD variant.Javier Valenzuela2022-07-2023-84/+1888
| | | | | | | | | | | | | | The main changes included are: - Variant-dependent pin-out instantiation. - Update clocking scheme in top level file to include XO3 PLL - Add ability to shift outgoing data for the GPIO communication interface with the X410 FPGA. - Include project files required to build the XO3 variant of the ZBX CPLD. - Add build flow for Lattice Diamond designs. - Add ability to build XO3 variant of ZBX CPLD.
* fpga: lib: Add read-only strategy for port B in 2-port RAMJavier Valenzuela2022-07-202-14/+41
|
* ci: Set n310 and n321 to specific agentsSteven Koo2022-07-202-0/+10
| | | | | | | | | Since these take awhile to setup, there have been cases where an agent will get selected for these devices and wait until the previous run to complete. It's possible that it will take a long time and timeout if there were other instances launched at similar times. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Mark devtest as failure on SucceededWithIssuesSteven Koo2022-07-201-0/+7
| | | | | | | This marks the job as a failure on SucceededWithIssues. This could be from failure in device setup or other reasons. Signed-off-by: Steven Koo <steven.koo@ni.com>
* fpga: Fix first arg in calls to $fatal()Wade Fife2022-07-209-68/+67
| | | | | | This fixes warnings regarding the first argument to $fatal(), which is supposed to be a number indicating what diagnostics to display. 1 corresponds to "Prints simulation time and location".
* fpga: x400: Fix AXI/LBUS testbench namesWade Fife2022-07-202-2/+2
|
* ci: Enable root privileges for non-DPDK streaming testsmattprost2022-07-201-1/+4
| | | | | | | | This allows underlying benchmark_rate calls to elevate the streaming threads' priorities. This is similar to how we invoke the streaming test scripts for DPDK use cases. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Add n321 to devtestSteven Koo2022-07-205-1/+65
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Build init_usrp example for Windowsmattprost2022-07-202-21/+38
| | | | | | | Generating this binary allows us to sanity check the linking for UHD builds on Windows. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Build init_usrp example for macOSmattprost2022-07-202-2/+44
| | | | | | | Generating this binary allows us to sanity check the linking for UHD builds on macOS. Signed-off-by: mattprost <matt.prost@ni.com>
* python: cmake: Detect python virtual environmentsmattprost2022-07-201-2/+3
| | | | | | | This allows a UHD build to link to python modules installed in a virtual environment such a venv or pyenv. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Make Windows installer job self-containedmattprost2022-07-203-9/+43
| | | | | | | | Rebuild UHD to generate the Windows installer. This increases the time it takes for the job to run, but it removes any interference that other jobs may have had on the build environment. Signed-off-by: mattprost <matt.prost@ni.com>
* ci: Only include rpm files in the Fedora installer artifactsmattprost2022-07-202-2/+14
| | | | Signed-off-by: mattprost <matt.prost@ni.com>
* docs: DPDK Linux kernel underruns solutionmattprost2022-07-201-5/+21
| | | | | | | | | Previously we had documented a known issue involving the Linux kernel, which was causing a streaming performance regression. This resulted in periodic underruns. We now know what is causing the regression. Document the procedure to restore the original behavior. Signed-off-by: mattprost <matt.prost@ni.com>
* rfnoc: Add LUA based dissectorLars Amsel2022-07-202-0/+569
| | | | | | | | | | | | | | | | | | | | | Add a dissector based on LUA. The C/C++ based dissector is hard to use on Windows system, because one needs to compile Wireshark as well. The LUA based dissector can be used without any compilation and it runs out of the box on all systems that run wireshark. It also provides improved preview display in the info column which makes it less often necessary to lookup data in the detail pane. Along with the LUA dissector comes a color rules file that colors the RFNoC packets based on their type which makes navigation in the log even more easy. There LUA dissector is able to configure the CHDR width in it's preferences. Co-authored-by: Martin Braun <martin.braun@ettus.com> Co-authored-by: Wade Fife <wade.fife@ettus.com> Co-authored-by: Aaron Rossetto <aaron.rossetto@ni.com>
* ci: streaming: flash x310 fpgaSteven Koo2022-07-202-0/+13
| | | | | | | | | | | This uses openFPGALoader to flash the fpga before running the test. This tool is needed because uhd_image_loader only updates the flash for x3xx, which requires a hard power cycle to commit. This openFPGALoader directly updates the fpga SRAM. Signed-off-by: Steven Koo <steven.koo@ni.com>
* rfnoc: Fix warnings in replay_block_controlMartin Braun2022-07-201-3/+4
| | | | | | | - Missing override statements - Rephrase logical statement when reading command FIFO space. The statement was correct, but Clang12 issues a warning because it considers the choice of syntax error-prone.
* usrp2: Remove unused code segmentsMartin Braun2022-07-201-6/+0
| | | | This fixes compiler warnings under Clang12.
* uhd: refactor get_all_addrs to remove duplicatesSteven Koo2022-07-201-8/+17
| | | | | | | | | | This commit refactors the existing register definitions, so that duplicate entries don't get added to the get_all_addrs method. Duplicates caused long builds on macOS/Clang, where build times would go from sub 5 min to 50 min or more likely because of the compiler trying to optimize. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add n310 into devtestsSteven Koo2022-07-208-83/+289
| | | | | | | | | This commit adds support for reimaging n3xx devices and running devtest against a n310. This uses Labgrid to control an sdmux, which we then reimage the device. In the future, other devices can use this support to run other tests. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: devtests: fix knownhost entrySteven Koo2022-07-201-1/+1
| | | | Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Increase devtest job timeout to 90 minutesSteven Koo2022-07-201-0/+1
| | | | | | | This changes the timeout for devtest jobs. Since we are running multiple devtests per job now, this is needed to avoid timeout failures. Signed-off-by: Steven Koo <steven.koo@ni.com>
* mpm: x4xx: Make get_chdr_link_types() more genericMartin Braun2022-07-201-4/+3
| | | | | | This code was copy/pasta'd from N3x0. In theory, X410 can have more options regarding streaming than UDP, although for now, this function returns the exact same as before, it's just no longer hard coded.
* examples: gpio: output before end of streammattprost2022-07-201-1/+1
| | | | | | | | The gpio values should be output before the stream ends. This matches the behavior of other tests in this file and prevents strange logs for passing tests. Signed-off-by: mattprost <matt.prost@ni.com>
* x300: Fix invalid GPIO source bank error messageAaron Rossetto2022-07-201-2/+2
| | | | | | | | | | | | | | | When calling `get_gpio_srcs()` or `get_gpio_src()` with an invalid bank parameter, the error text associated with the `uhd::runtime_error` that is thrown prints the expected bank, not the erroneous bank, e.g.: >>> my_x310.get_gpio_srcs('BAD_BANK', 0) [ERROR] [X300::MB_CTRL] Invalid GPIO source bank: BAD_BANK. Only supported bank is FP0 Traceback (most recent call last): File "<stdin>", line 2, in <module> RuntimeError: RuntimeError: Invalid GPIO source bank: FP0 The invalid source bank on the last line should read BAD_BANK, not FP0.
* mpm: udp: Fix Pylint warnings in UDP-related filesMartin Braun2022-07-202-27/+36
| | | | | Fixes long lines, missing docstrings, and deprecated Pythonisms from ethdispatch.py and xportmgr_udp.py.
* uhd: fix minor typo when querying tx sensors property treeDavid Raeman2022-07-201-1/+1
|
* REVERT images: zbx lattice cpld image manifestVirendra Kakade2022-07-202-5/+7
| | | | Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* mpm: add support for lattice zbx cpldVirendra Kakade2022-07-201-70/+219
| | | | | Co-authored-by: Steven Koo <steven.koo@ni.com> Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
* ci: Point meta-ettus repo ref to v4.2.0.0Aaron Rossetto2022-06-152-2/+2
|
* ci: Run multiple fpgas per jobSteven Koo2022-06-104-102/+80
| | | | | | This consolidates the different FPGA runs into a single job. Signed-off-by: Steven Koo <steven.koo@ni.com>
* ci: Add devtests to hardware-test-devSteven Koo2022-06-103-3/+32
| | | | | | | This enables running the devtests without having to rebuild uhd, typically for development purposes. Signed-off-by: Steven Koo <steven.koo@ni.com>