Commit Graph

7884 Commits

Author SHA1 Message Date
michael-west
0347a6d81f 3.14.1.1 Release
Signed-off-by: michael-west <michael.west@ettus.com>
2019-09-25 11:08:48 -07:00
michael-west
4205fa16cc MPM: Fix version string for logger
Added configuration of version.cpp file so @UHD_VERSION@ would be
properly replaced by the version string and @UHD_COMPONENT@ would
be properly replaced by the component string.

Signed-off-by: michael-west <michael.west@ettus.com>
2019-09-25 10:56:10 -07:00
michael-west
4a234994b5 cmake: Add UHD_COMPONENT variable
Added cmake variable to set the component (currently UHD or MPM).
so the banner printed by the log_resource would reference the correct
component.  Added accessor function and appropriate calls in log.cpp.

Signed-off-by: michael-west <michael.west@ettus.com>
2019-09-25 10:55:55 -07:00
michael-west
504fb86189 Docs: Fix MPM cmake command for E320
Add -DMPM_DEVICE=e320 to the command so the E320 version is built
and not the N3xx version.

Signed-off-by: michael-west <michael.west@ettus.com>
2019-09-25 10:55:39 -07:00
michael-west
2b557905a9 Docs: Adjust FPGA functional verification tests
- Reduce long tests from 3600 seconds to 600 seconds.
- Remove 2xRX@153.6e6 test for N310 10 GbE (not practical).

Signed-off-by: michael-west <michael.west@ettus.com>
2019-09-25 10:55:24 -07:00
Michael Dickens
9d454ea6b0 kitchen_sink: fix building using c++11 2019-09-25 10:54:42 -07:00
Michael Dickens
779e6ef7d9 kitchen_sink: remove uhd::msg cruft removed from UHD in 21aad77c
Closes: #3479
2019-09-25 10:54:34 -07:00
Michael Dickens
2237889a64 cmake: add 'project', as requested by CMake 2019-09-25 10:54:24 -07:00
michael-west
f0f8d849f7 MPM: Increase E320 max rev to 4
Increase to currently shipping rev.

Signed-off-by: michael-west <michael.west@ettus.com>
2019-09-23 15:56:58 -07:00
Mark Meserve
6a11a141b8 e320: fix time source clobbering ref source
- Fixes a case where the e320 would be unable to lock to an external 10 MHz
  reference
- Previously, calling set_time_source would set the reference clock source to
  internal as a side effect
2019-09-13 04:03:11 -07:00
Matthew Crymble
6f620665a0 mpm: fixed mboard_max_revision value
This value should be 9 to correspond with the rev J motherboards.
This property was renamed to mboard_last_rev_compat in a previous commit.
But mboard_max_rev is actually a more accurate description,
since it specifies the latest hardware revision that the software
is aware of.  I renamed all references back to mboard_max_rev.
2019-09-13 04:01:04 -07:00
Michael West
b9b8eb40a8 Device3: Restore default buffer sizes for MPMD UDP
The latest change to fix MTU and default frame sizes inadvertantly removed
the default send and recv buffer sizes in the MPMD UDP transport, which
caused receive timeouts and underruns at higher sample rates.  This change
restores those values.

Signed-off-by: Michael West <michael.west@ettus.com>
2019-09-13 03:34:44 -07:00
Michael West
98c7c98648 Prepare branch for 3.14.1.1 release
- Updated version
- Updated CHANGELOG
- Updated manifest
- Updated fpga-src submodule

Signed-off-by: Michael West <michael.west@ettus.com>
2019-08-16 11:14:22 -07:00
Michael West
9edbdc26df RFNoC: Re-enable flow ctrl for blocks on same xbar
Prior commit disabled flow control for all lossless links,
including links between blocks on the same crossbar.  That
caused packets to jam up the crossbar leading to control
packets failing to ACK under certain conditions.  This
reverts it so flow control is enabled and the crossbar is
kept clear.

Signed-off-by: Michael West <michael.west@ettus.com>
2019-08-15 10:44:50 -07:00
Martin Braun
a63f88ed2a uhd: rfnoc: docs: Fix Doxygen warning due to undoc'd parameter 2019-08-15 10:34:28 -07:00
Martin Braun
6ef63b046b docs: Fix Doxygen warnings due to spurious backslashes 2019-08-15 10:34:18 -07:00
Same-Writer
5a35a8622d docs: x300: update docs for multiple timed commands
Adding advisory in the X300 manual page regarding issuing multiple
timed commands causing device lockups.
2019-08-15 10:34:00 -07:00
Sugandha Gupta
7824246d54 mpmd: Fix corner case in MPM device reachability
To check if a device is fully reachable through the
chdr address i.e. SFP port, an RPC request is sent
to "second_addr" and "addr" of that device. This commit
fixes the case where if "second_addr" is not connected to
the host, the function returns earlier and does not
check for "addr".
2019-08-15 10:33:46 -07:00
Mark Meserve
73b52ab088 rfnoc: fix multidevice graph connections
- Fixes an issue where a multi-device device3 object would cause connections to
  be generated across devices in legacy_compat
- The connect_blocks function previously assumed that find_blocks would always
  return blocks in the same device number order
2019-08-15 10:33:09 -07:00
michael-west
a659ff3703 B200: Add command to query bootloader status
Updated b2xx_fx3_utils to add a --query_bootloader option to check if
the bootloader is loaded or not.

Signed-off-by: michael-west <michael.west@ettus.com>
2019-08-15 10:32:38 -07:00
michael-west
bfb9c1c77e 3.14.1.0 Release
Updated CHANGELOG
Updated Debian files
Updated manifest

Signed-off-by: michael-west <michael.west@ettus.com>
2019-06-28 09:06:07 -07:00
Michael West
5f75f73f25 TwinRX: Fix tick rate
Signed-off-by: Michael West <michael.west@ettus.com>
2019-06-28 08:21:09 -07:00
Michael West
3f7b937d3f Device3: Fix MTU and default frame sizes
The latest changes to the get_*x_stream() functions to calculate the MTU for
the channel caused default frame size values to be ignored.  This change fixes
that by changing the key from "send/recv_frame_size" to "mtu" and then changing
the implementations of make_transport() constrain the frame size values based
on the "mtu" value as well as any device and/or transport-specific limits.

Signed-off-by: Michael West <michael.west@ettus.com>
2019-06-28 08:21:09 -07:00
Michael West
55b9f7309f nirio: Fix typo in nirio_zero_copy
Signed-off-by: Michael West <michael.west@ettus.com>
2019-06-28 08:21:09 -07:00
mcrymble
2aa5289d0c transport: fixed a pre-mature buffer reset
In the PACKET_INLINE_MESSAGE case, we need to extract the error code
from the packet buffer.  But the buffer was being released before that
happens, resulting in garbage values for metadata.error_code.
2019-06-12 13:18:54 -07:00
Matthew Crymble
1711ff33f4 x310: fixed udp WSA buffer size assignment issue 2019-06-12 01:40:26 -07:00
Mark Meserve
5ad3cae701 twinrx: increase rev c lo1 charge pump default value
- This change improves spur performance for the Rev C TwinRX daughterboard
2019-06-03 18:18:04 -07:00
Martin Braun
a5105c4077 fixup! uhdlib: add rational approximation to math utilities 2019-06-03 18:18:04 -07:00
Martin Braun
5af0216a36 tests: Fix mock_ctrl_iface for 32-bit MSVC
Widening and narrowing of bitwidths causes errors on this platform
without explicit casts.
2019-06-03 18:18:04 -07:00
Martin Braun
6393e921d6 cores: Use NSDMI consistently in ?x_dsp_core_3000.*
There are edge cases where the lack of initialization of _current_freq
could crash libuhd. To resolve this, we initialize all elements of those
cores to sensible values using NSDMI.
2019-06-03 18:18:04 -07:00
Martin Braun
1ea6160a84 cores: Apply clang-format to ?x_dsp_core_3000.* 2019-05-30 14:44:52 -07:00
Martin Braun
c6ae22754d lib: rfnoc: Apply clang-format to graph_impl.hpp 2019-05-30 14:42:33 -07:00
Sugandha Gupta
6e29790eb0 docs: n3xx: Add link to README for building custom filesystems 2019-05-30 14:38:07 -07:00
michael-west
5491b80e5b images: Update paths to v3.14.1.0-rc1 images
Signed-off-by: michael-west <michael.west@ettus.com>
2019-05-29 17:39:25 -07:00
Michael West
0d934195e8 Prepare branch for 3.14.1.0 release
- Updated CHANGELOG
- Updated fpga-src submodule
- Updated version
- Updated manifest for images

Signed-off-by: Michael West <michael.west@ettus.com>
2019-05-29 09:53:05 -07:00
Matthew Crymble
9f76d1fc6a X300: fixed get_mtu for pcie
Signed-off-by: Matthew Crymble <matthew.crymble@ni.com>
2019-05-24 12:02:21 -07:00
Trung Tran
75c6f34b0f mpm: Change SW/HW compat check to use last_rev_compat
Newer revisions of the E320 and N3xx motherboards use EEPROM version 3,
and store a rev_compat field. The rev_compat is the last revision that
this hardware is compatible with. We now use that instead of simply the
revision.
2019-05-21 21:37:20 -07:00
Martin Braun
b14adeaae6 mpm: Add MB-EEPROMv3
This includes a rev_compat field, which we can use to identify the last
hardware revision this hardware is compatible with. Example: Say the
current hardware revision is 7, but it is compatible with version 5,
then we store 7 as the current rev, and 5 as the rev_compat. Software
can now check the rev_compat rather than the current rev for
compatibility. This makes MPM more future-proof against minor,
compatible hardware changes.
2019-05-21 21:37:20 -07:00
Martin Braun
62e6e2899d rfnoc: tick_node: Search all nodes for tick rates
The tick_node was trying to find the current tick rate by only querying
active blocks (i.e., blocks that were flagged active-streaming).
However, this is not necessary since we require all blocks to run at the
same tick rate.
In theory, querying active-only ports should be fine, but due to some
idiosyncrasies in our current graph code, connecting a single streamer
to channel 1 (out of 0, 1) would try and get the info from the wrong
port. This is not a fix to the graph code, but the change to tick_node
is also appropriate and is sufficient to fix the "late packets on
channel 1" issue.

This issue would manifest when sending timed packats to channel 1 in
a single-channel streamer. The problem is that it wouldn't be able to
read the correct tick rate.
2019-05-21 21:37:19 -07:00
Martin Braun
32ececbf36 log: Fix ANSI colour codes
The colour codes used for console logging were incorrectly defined.
Some colours would simply not rendered this way (e.g., red), others
had the boldness flag wrong.
2019-05-21 21:37:19 -07:00
Mark Meserve
03d72eee1a adf435x: run clang-format 2019-05-21 21:37:19 -07:00
Mark Meserve
a01e54f997 twinrx: set lo2 to use new low spur tuning mode 2019-05-21 21:37:19 -07:00
Mark Meserve
9609aeb4be adf435x: add low spur tuning mode
- adds a new mode to the adf435x driver which provides general spur performance
  improvements
2019-05-21 21:37:19 -07:00
Mark Meserve
248e0e62bc uhdlib: add rational approximation to math utilities 2019-05-21 21:37:19 -07:00
Mark Meserve
223909d147 twinrx: add lo charge pump properties 2019-05-21 21:37:19 -07:00
Mark Meserve
45ae7843c3 adf535x: add charge pump control 2019-05-21 17:20:42 -07:00
Mark Meserve
10b18d3b3e adf435x: add charge pump with double parameter 2019-05-21 17:20:42 -07:00
Mark Meserve
170172d101 adf435x: enhance logging messages 2019-05-21 17:20:42 -07:00
michael-west
d82696b412 E320: Add support for rev E
- No driver changes required

Signed-off-by: michael-west <michael.west@ettus.com>
2019-05-21 17:20:42 -07:00
Virendra Kakade
49d05ada72 mpmd: Release resources on destruction
This will clear the property tree, block registry, transport managers,
and motherboard list on destruction of mpmd_impl.
2019-05-21 17:20:42 -07:00