Commit Graph

7252 Commits

Author SHA1 Message Date
michael-west
0ffff6a2fb Update manifest for N3xx images for 3.12.0.1 release 2018-07-19 16:37:43 -07:00
michael-west
2bb1d9dda7 Prepare branch for 3.12.0.1 release
- Updated version string
- Updated fpga-src submodule
- Updated CHANGELOG
- Updated manifest
2018-07-19 14:16:09 -07:00
michael-west
189a3aaa0e tests: Remove SchmidlCox from blockdef test. 2018-07-17 10:36:21 -07:00
Vidush
8ac7edd5df B200: Fix SC8 RX Streaming
Coerces recv_frame_size to size of words (8 bytes) to prevent
USB_TRANSFER_OVERFLOW error.
2018-07-17 10:35:28 -07:00
Trung Tran
c191189c9a mg: fix tx power issue
This commit will fix power issues with 2 radios configuration (UHD 3.12+).
Removed unused _master boolean.
CPLD path are now correct, each radio has its own CPLD object.
2018-07-16 14:47:32 -07:00
michael-west
b0c8f1e100 fixup! B200: Check if recv_frame_size is larger than minimum value 2018-07-16 14:47:24 -07:00
Martin Braun
b15c5fb69b cmake: Fix version numbering
UHD-* branches were being detected as "development", and #cmakedefine
does not like it when values are actually zero.
2018-07-13 18:44:35 -07:00
Moritz Fischer
640f132b1c mpm: tools: eeprom-init: Fix issue with dt/mcu-compat number
Fix issue with dt-compat and mcu-compat numbers not working for
the case where 0 is a legitimate dt/mcu compat number.

This can happen if a Rev2 board (1 in hardware) shares a DT or
MCU firmware with the Rev1 board (0 in hardware).

Fixes 91a5518443 ("mpm: tools: Introduce dt-compat ...")
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2018-07-13 18:44:27 -07:00
Martin Braun
b572a20c56 b200: Update FW and FPGA images
FPGA compat number bumped to 15. This includes fixes to resolve the
"lost EOB" issue on B2xx.
2018-07-13 18:42:15 -07:00
Martin Braun
36d5f8ebff b200: fw: Change USB2 Buffer Size and Buffer Count
Change FX3 firmware for USB2 so the eob flag is always seen,
particularly on packets that are a multiple of 512 bytes
in size.
2018-07-13 12:05:16 -07:00
Vidush
97ec184901 B200: Check if recv_frame_size is larger than minimum value 2018-07-13 12:05:07 -07:00
Vidush
ad512c74f2 B200: Change Recv Frame Size to 8176
The default frame size is set to 8176.
If a frame size entered is a multiple of 512, the actual frame size
is set to the next lowest multiple of 24.

Both changes are made to ensure no packet gets stuck in the fx3.
2018-07-13 12:04:58 -07:00
Martin Braun
5541192f71 soft_register: Remove compiler warning, add unit test 2018-07-12 18:41:33 -07:00
Sugandha Gupta
5a728e59dc legacy_compat: Fix tx/rx channel map initialization for all channels
This will populate tx/rx channel map (radio and port index) considering
number of channels, radios and mboards.

On TwinRX and N310, the default subdev spec will now include all
available channels.
2018-07-12 18:41:33 -07:00
Martin Braun
111f0196cf mpm: ad9371: Accept PID 0x01 as well as 0x03 2018-07-12 18:41:33 -07:00
Robin Coxe
9aa4f767f6 Update ISE/Vivado versions in images.dox 2018-07-12 18:41:33 -07:00
Martin Braun
9fbc118053 Update README.md, LICENSE.md, and CONTRIBUTING.md 2018-07-12 18:41:33 -07:00
Vidush
9d0f6de692 *_dsp_core: Update frequency when updating rates
Since the frequency shifter is set to a relative rate, it needs to be
updated when changing the sampling rate.
2018-07-12 18:41:33 -07:00
Moritz Fischer
46679b563c mpm: tools: Introduce dt-compat and mcu-compat fields
Introduce dt-compat and mcu-compat fields into the eeprom
structure.
For the motherboard eeprom this is straightforward, since
there's still padding bytes that could be (ab)used for this.
On the dboard side more creativity is required and the
original revision field of 2 bytes is reduced to only
one byte revision and one byte dt-compat.
Since this will only affect new units being backwards
compatible with older versions of the bootloader is not
an issue.

Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2018-07-12 18:41:33 -07:00
Trung Tran
ecb8b45519 mg: remove set_rpc_lock 2018-07-12 18:41:33 -07:00
Trung Tran
ec610f2eca liberio_zero_copy: add tx and rx mutexes 2018-07-12 18:41:33 -07:00
Vidush
6f586d379d Docs: x300 Functional Verification Procedure 2018-07-12 18:41:33 -07:00
Vidush
fccd8b9fe3 Testing: Add x300 Functional Verification 2018-07-12 18:41:33 -07:00
Vidush
7045e05992 Docs: Update FPGA Functional Testing Procedure 2018-07-12 18:41:33 -07:00
Vidush
d7a77e1c34 Test: Add HA,XA,WX Images 2018-07-12 18:41:33 -07:00
Vidush
a5a16b05f9 Test: Run All Tests for Device and FPGA Image 2018-07-12 18:41:33 -07:00
Martin Braun
caf24cd881 cmake: Add ENABLE_N300 target
Driver support for N310/N300 was previously implied by
ENABLE_MPMD, which had two issues:
1) It was not clear that ENABLE_MPMD was actually enabling
   the N3x0
2) It did not allow to enable mpmd support without N3x0 support

This resolves these issues.
2018-07-12 18:41:33 -07:00
Martin Braun
84cf7504d8 mpm: xportmgr_udp: Catch inconsistent Ethernet device detections
This manager first detects all valid Ethernet devices. The checks for
validity happen across multiple calls in a non-atomic fashion, so it's
possible to end up with inconsistent results. To avoid such issues, we
filter results without talking to the network stack as a final pass.
2018-07-12 18:41:33 -07:00
Martin Braun
46cf9b31db mpm: net: Fix rare failures for IP addr detection
Because the detection of valid Ethernet devices happens across multiple
calls in a non-atomic fashion, we cannot assume that a device passed to
net.get_iface_info() actually has a valid IP address, so we don't make
that assumption.
2018-07-12 18:41:33 -07:00
Martin Braun
b625a939d3 rfnoc: Warn when a block key is not found in the registry
Before, a block description file could specify a block controlley key
which was not mapped to a registered block controller, and it would fall
back to the default. While that behaviour is desired, it was lacking
a warning when it made that decision.
2018-07-12 18:41:33 -07:00
Vidush
f87d79e290 X300_radio_ctrl_impl: Add SAFE_CALL to Destructor 2018-07-12 18:41:33 -07:00
Martin Braun
ec786351c7 Update CHANGELOG and manifest.txt for 3.12.0.0 release 2018-06-05 17:48:43 -07:00
Trung Tran
990bcbc098 fpga: Update manifest and submodule pointer
This adds the N3XX ARM deframer fixes.
Updates X3x0 and N3x0 FPGA images.
2018-06-05 10:27:39 -07:00
Martin Braun
a368f91cdc tools: Add a script for automated testing of FPGAFUNCVERIF 2018-06-04 13:53:43 -07:00
Martin Braun
2b6046fb33 docs: test procedures: Add FPGAFUNCVERIF-N3x0-v1 2018-06-04 13:53:43 -07:00
Vidush
791da8785c Docs: Fix E310 Devtest Procedure 2018-06-04 10:53:26 -07:00
Vidush
9c5f6e36a7 Docs: Update Testing Procedure
Fix typos and reflect updated procedure used with v3.12.0.0-rc1.
2018-06-04 10:53:26 -07:00
natetemple
6ca9e708f0 Docs: Fix typo in systemd/network path 2018-06-01 11:55:50 -07:00
Michael West
d19c759033 x300_impl: Assign Channel Variable Before Err Check 2018-05-31 01:50:23 +02:00
Martin Braun
208c2c9639 mg: Rename _L to _log_prefix
Avoids clashes with ctype.h.
2018-05-31 01:20:04 +02:00
Trung N Tran
6294c1e55d x300: e300: fix git_hash dirty bit position 2018-05-30 02:20:23 +02:00
natetemple
e80c879f22 Docs: Update serial path command 2018-05-30 02:17:23 +02:00
Martin Braun
c3935ce274 docs: n3xx: Add troubleshooting section and comments on MTU 2018-05-29 14:15:50 -07:00
Martin Braun
5e1fe329d2 docs: n3xx: Add comments on SDK usage and download 2018-05-29 10:22:20 -07:00
michael-west
f95e7a9015 Debian: Fix bad path in libuhd-dev.install 2018-05-18 09:25:59 -07:00
Martin Braun
3964021e97 multi_usrp: Check for existence of mboard sensor names
get_mboard_sensor_names() would crash if a USRP didn't actually have at
least one sensors defined.
2018-05-17 17:25:43 -07:00
Martin Braun
174bde6cc1 images: Update scripts for new release model
- populate_images.py: Made Py3k safe
- uhdimgs.py: Make Py3k-safe
- create_imgs_package.py: Rewrote to build release images packages
- make_zip.sh: Skip CMake, just zip up the files
- Updated README to reflect all the changes
2018-05-17 14:09:47 -07:00
Martin Braun
9591c93dd5 Prepare branch for 3.12.0.0 release
- Updated version string
- Updated CHANGELOG
2018-05-17 12:12:53 -07:00
michael-west
4b75fcbcb3 Debian: Fix formatting of CHANGELOG to work better with convert_changelog.py tool 2018-05-16 15:15:39 -07:00
michael-west
d5c4506149 Debian: Modify debian rules to ignore missing info (for Launchpad) 2018-05-16 15:15:39 -07:00