Commit Graph

9571 Commits

Author SHA1 Message Date
Steven Koo
7e1ff96a0d uhd: Prepare branch for 4.1.0.6-rc1 release
cmake: Increase patch version number
debian: Update changelog
images: Update manifest
uhd: Update changelog

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-07-15 16:56:27 -05:00
Javier Valenzuela
fdc9609a0b images: Update manifest with latest cpld firmware 2022-07-15 16:56:27 -05:00
Aaron Rossetto
3ef5cae77d N320: Revert PLL lock time reduction
This commit reverts the changes made in commit 81a9cc1f8 to reduce the
time for the LMK PLL to report lock status. The decision to revert the
change comes after an investigation found that reducing the overall time
to detect lock correlates with an increase in an error reported by the
TDC ('[ERROR] TDC measurements show a wide range of values!  Check your
clock rates for incompatibilities. ...  Uncaught exception in method
set_clock_source: TDC measurement out of expected range!').  Despite the
LMK PLL reporting lock status, our investigation revealed that it takes
additional time for the PLL to align the daughterboards' clocks closely
enough to pass the TDC measurement's range limit (i.e., no samples
exceeding the measurement mean +/- 500 ps). Reverting the change
increases the amount of time between achieving lock status and taking
the TDC measurements, thus greatly reducing the likelihood of the
reported error.
2022-07-15 16:56:27 -05:00
Virendra Kakade
1b5617367d REVERT images: zbx lattice cpld image manifest
Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
2022-07-15 16:56:27 -05:00
Virendra Kakade
747b65c22d mpm: add support for lattice zbx cpld
Co-authored-by: Steven Koo <steven.koo@ni.com>
Signed-off-by: Virendra Kakade <virendra.kakade@ni.com>
2022-07-15 16:56:27 -05:00
Virendra Kakade
32d62d3286 fixup! uhd: add support for max10 variants 2022-07-15 16:56:27 -05:00
Steven Koo
e7b0bf7472 tests: Add complex include to resolve build
Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-06 08:51:26 -05:00
Steven Koo
27dfe4188d ci: Update commit vcpkg and CMake version
Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-06 08:51:14 -05:00
Aaron Rossetto
a4ac845981 images: Update manifest 2022-04-05 11:45:44 -05:00
Humberto Jimenez
c755800069 fpga: ci: Add stages-based pipeline 2022-04-04 15:39:51 -05:00
Steven Koo
8bef9bfb83 uhd: expose uhd::dict and fs_path with UHD_API_HEADER
uhd::dict gets typedefed into board_eeprom_t, which is used by applications
like uhd_usrp_probe, so this should be considered as part of the API.

fs_path is also an API, but because of MSVC build issues it
was not marked as so. Instead mark with UHD_API_HEADER.

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Steven Koo
a74feb54c9 rfnoc: set UHD_API_HEADER on property_t
UHD_API sets the visibility for the symbols. Adding UHD_API fixes
casting issues seen on macOS. However this breaks Windows because
UHD_API sets __declspec(dllexport) and __declspec(dllimport) which
doesn't make sense for header/inline only definitions. This change
adds UHD_API_HEADER to denote entrypoints for this case. It sets
the visibility flags for Linux/Mac but does not set the
__declspec on Windows.

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Aaron Rossetto
0b697f1f19 ci: Remove streaming stage from pipeline for UHD-4.1 2022-04-01 14:36:35 -05:00
Aaron Rossetto
9515b2c51c fpga: Add SPDX license identifier 2022-04-01 14:36:35 -05:00
Martin Braun
ccd111f6b6 Remove FSRU-related files
The FSRU (aka EISCAT) was never supported in UHD 4.0. The FPGA
repository never had the relevant files, and the block controller also
never existed. This removes all the corresponding files from MPM, as
well as some references from makefiles.
2022-04-01 14:36:35 -05:00
Martin Braun
328d1b7a01 docs: x310: Remove reference to ORC
UHD no longer depends on ORC since 41812aa2f (merged 2015).
2022-04-01 14:36:35 -05:00
Martin Braun
30634d4e65 mpm: xportmgr_udp: Match DNAT arguments to manpage
Change the --to argument to --to-destination. Both seem to work, but the
latter is what is listed in iptables-extensions(8). What's confusing is
that `--to` also exists in another context (in the `string` match
extension).
2022-04-01 14:36:35 -05:00
Martin Braun
27a634a155 mpm: eeprom: Improve E320 and N3x0 EEPROM code/comments
- Fix some Pylint warnings in eeprom.py
- Improve comments in n3xx.py and e320.py regarding rev_compat values in
  EEPROM
2022-04-01 14:36:35 -05:00
Martin Braun
b380d5ae63 mpm: cmake: Remove installation of non-relevant EEPROM tools
On N3x0 and E3x0 devices, we were erroneously installing EEPROM
utilities that are only relevant on X410.
2022-04-01 14:36:35 -05:00
Steven Koo
ba718fa941 docs: Update n3xx tuning notes
n32x is specced to 3 Mhz. Added a note about performance below
specced frequency minimums

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Martin Braun
2f46c75de2 images: Remove references to N230
USRP N230 is no longer supported starting with UHD 4, and thus, we can
remove it from the image manifest. This will no longer download N230
images when calling uhd_images_downloader from UHD 4.
2022-04-01 14:36:35 -05:00
Steven Koo
3a33927749 ci: Upload devtest logs as artifact
Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Steven Koo
2bf78f709c ci: Propagate downloader errors and lower timeout
This change enables download / network failures to propagate up and fail
the job for Windows builds. It also reduces the job timeout in case
the network hangs.

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Martin Braun
3224723b6c rfnoc: Fix spelling in property resolution error message 2022-04-01 14:36:35 -05:00
Martin Braun
150372c4cb docs: Remove full path names from Doxygen generation
The full path names can cause non-reproducible builds, because they
include the build directory.
2022-04-01 14:36:35 -05:00
Wade Fife
a1925dd48c fpga: n3xx: Fix DRAM FIFO address alignment 2022-04-01 14:36:35 -05:00
Wade Fife
642c9f8f7f fpga: rfnoc: Change AWIDTH default for axi_ram_fifo
Change AWIDTH to be the same as MEM_ADDR_W by default. Current USRPs
assume the AXI address width is the same as MEM_ADDR_W.
2022-04-01 14:36:35 -05:00
Martin Braun
eab82dc475 images: Add utilization report files to B2xx image files 2022-04-01 14:36:35 -05:00
Martin Braun
10350701df fpga: b2xx: Generate utilization report files
Currently, the build process copies the .twr and .syr files into the
build/ process after running ISE. For a succinct utilization report,
those files are not suitable, though, because they contain too much
information.

However, the build process already produces a custom, short utilization
report using grep and a summary of those reports. This patch modifies
the build such that the same output is copied into
a usrp_$product_fpga.rpt file, similar to our gen-3 devices.
2022-04-01 14:36:35 -05:00
Javier Valenzuela
2db14095dc fpga: x400: zbx: cpld: Bump ZBX regmap copyright 2022-04-01 14:36:35 -05:00
Javier Valenzuela
dd1e643151 fpga: x400: cpld: Bump CMI wrapper copyright 2022-04-01 14:36:35 -05:00
Lars Amsel
10aab81e73 mpm: add device name to discovery process
MPM devices currently do not report their device name in the discovery
process. This adds the device name. After the change the device name
is reported, e.g. when using uhd_find_devices, like so:

    $> uhd_find_devices
    --------------------------------------------------
    -- UHD Device 0
    --------------------------------------------------
    Device Address:
        serial: DEADBEEF
        claimed: False
        fpga: X4_200
        mgmt_addr: <mpm device ip>
        name: <mpm device host name>
        product: x410
        type: x4xx
2022-04-01 14:36:35 -05:00
Steven Koo
ef82611e26 ci: Enable ctest on macOS builds
Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Steven Koo
cb2e2bbc5d ci: flash fpga on x410 ATS runs
Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Steven Koo
ad815159fb ci: Add mpm folder to triggers
Since we build the system images now and test downstream for x410,
trigger builds on mpm changes.

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Steven Koo
83be03fb33 cmake: Remove libatomic check on macOS
This removes the libatomic check on macOS. Like MSVC,
just assume that it's built in.

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Wade Fife
96e79245b5 utils: Add space to rfnoc_image_builder help 2022-04-01 14:36:35 -05:00
Wade Fife
3db8782855 fpga: ci: Increase PR pipeline timeout 2022-04-01 14:36:35 -05:00
Andrew Lynch
ca7a1cc6ed systemd: enable tx flow control automatically 2022-04-01 14:36:35 -05:00
Steven Koo
9a214b06d1 ci: Change yaml dependency to ruamel
Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Steven Koo
97428eb614 ci: Add support for Ubuntu 22.04
Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Steven Koo
a377238d7c ci: Remove Fedora 33 and add Fedora 35
Fedora 33 is going EOL and Fedora 35 was recently released

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Steven Koo
f773b5e931 ci: Add libuhd python dependencies to macOS
Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Wade Fife
f748b60d90 mpm: Add x4xx DRAM BIST 2022-04-01 14:36:35 -05:00
Wade Fife
43b9a43ea7 mpm: Fix units for DRAM BIST
There was a mixture of KB/s and B/s in the DRAM BIST. The BIST now
returns B/s in all cases.
2022-04-01 14:36:35 -05:00
Steven Koo
cc48707bef ci: Add x410 test to mono pipeline
This change brings in x410 testing into the uhd
mono pipeline. This also creates a test development
pipeline that executes on uhd mono pipeline as
an upstream artifact source.

Signed-off-by: Steven Koo <steven.koo@ni.com>
2022-04-01 14:36:35 -05:00
Martin Braun
a039bc20cc ci: Enable building of init_usrp
This builds init_usrp against UHD during CI runs.
init_usrp is an example for how to write third-party apps using CMake that
link against UHD. This will test the UHDConfig.cmake (and related) CMake
files, as well as the example itself.
2022-04-01 14:36:35 -05:00
Martin Braun
662c1b3c3b ci: Make uhdSrcDir directly reference Build.SourcesDirectory 2022-04-01 14:36:35 -05:00
Wade Fife
20c8332e16 python: rfnoc: Add get_property bindings 2022-04-01 14:36:35 -05:00
Martin Braun
652adf1770 docs: Add shim Sphinx config for readthedocs
This adds a faux Sphinx project under host/docs. When invoking sphinx,
it will in fact forward the generator request to Doxygen. This is useful
for generating the UHD manual, e.g., on readthedocs.

To enable the latter service, .readthedocs.yaml and environment.yml
files were added as well.
2022-04-01 14:36:35 -05:00