Commit graph

344 commits

Author SHA1 Message Date
michael-west
64b4c1f5d7 X300: Prevent MB EEPROM Corruption
- Load EEPROM data into firmware memory to access from there instead of driving the I2C bus directly
- Fixed firmware performance issues by removing the popcntll() function and reducing frequency of background tasks to once every 10ms
- Added x300_mb_eeprom_iface to handle cases of devices with older and newer firmware
- Added checks for claim to device before driving the I2C bus
2017-01-10 13:51:53 -08:00
Martin Braun
83912104a9 Merge branch 'UHD-3.9.LTS' into maint
This provides the GPS fixes.

Conflicts:
	host/CMakeLists.txt
	tools/debs/upload_debs.sh
2016-09-02 11:27:37 -07:00
michael-west
7ea624b179 X300: GPSDO fixes
- Optimize writes so full 32-bit words are written at a time
- Simplify UART so it does not strip or add characters
2016-09-02 11:10:46 -07:00
Ryan
8cfc8edbea changed clk constant to match new zpu clk changes 2016-08-22 14:35:03 -04:00
Ashish Chaudhari
eb6ceee433 x300: Added latency test to Aurora tester script 2016-08-18 17:49:45 -07:00
Martin Braun
3bf4b000f7 Merging RFNoC support for X310 2016-08-09 12:42:52 -07:00
Martin Braun
3df0f6e9e4 Merge branch 'maint'
Conflicts:
	host/lib/usrp/dboard/db_wbx_version2.cpp
	host/lib/usrp/dboard/db_wbx_version3.cpp
2016-08-01 18:49:22 -07:00
Ashish Chaudhari
fd8a34c7e0 x300: Made FW utilities python3 compatible 2016-07-12 11:03:48 -07:00
Ashish Chaudhari
7cc16e5be0 x300: UHD is now compatible with FPGA images with Aurora support
- UHD and ZPU is now aware of Aurora SFP+ transceivers in the FPGA image
- Added script to exercise Aurora BIST features
2016-07-07 18:37:43 -07:00
211217613
23a04bf3ed Close file handlers the python way, changed var bytes to out_bytes 2016-06-27 09:58:04 -07:00
Ashish Chaudhari
abc4790ae4 x300: Fixed FW debug script after N230 merge breakage 2016-06-23 11:15:30 -07:00
Martin Braun
f693349f12 Merge branch 'maint' 2016-06-17 14:35:17 -07:00
Nicholas Corgan
aa16659587 octoclock: bugfixes, bumped firmware compat number to 4
* host: consistency in setting packet sequence numbers
* firmware: populate packet length field when setting GPSDO cache
* both: logic for dealing with mismatching compatibility numbers

Reviewed-By: Michael West <michael.west@ettus.com>
Reviewed-By: Martin Braun <martin.braun@ettus.com>
2016-06-17 11:37:45 -07:00
Martin Braun
2855abc807 Merge branch 'maint' 2016-02-29 12:42:16 -08:00
Derek Kozel
f212665812 Added srec_cat dependency for building the firmware 2016-02-29 12:10:15 -08:00
Moritz Fischer
12bf3c6a54 firmware: e3xx: Bump minor version to 2.2
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:27:32 +01:00
Moritz Fischer
d432506509 firmware: e3xx: This fixes an issue with the autoboot value.
The bug is a result of wrong order of evaluation:

The '|' operator takes precedence over '?'. Therefore
the intended expression a = x | (y ? 1 : 0) got evaluated
as a = (x | y) ? 1 : 0.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:27:22 +01:00
Moritz Fischer
2ba7395f88 firmware: e3xx: Added .eeprom section that gets written.
The EEPROM section was not getting written by make install,
so whatever was in there is in there.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:27:09 +01:00
Moritz Fischer
69be2678f7 firmware: e3xx: Bump minor version to 2.2
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:25:44 +01:00
Moritz Fischer
bbeacff2b1 firmware: e3xx: This fixes an issue with the autoboot value.
The bug is a result of wrong order of evaluation:

The '|' operator takes precedence over '?'. Therefore
the intended expression a = x | (y ? 1 : 0) got evaluated
as a = (x | y) ? 1 : 0.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:25:37 +01:00
Moritz Fischer
ea3040da12 firmware: e3xx: Added .eeprom section that gets written.
The EEPROM section was not getting written by make install,
so whatever was in there is in there.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:25:24 +01:00
Moritz Fischer
71bce47ecf firmware: e3xx: Bump minor version.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:19:28 +01:00
Moritz Fischer
9b8fdb0182 firmware: e3xx: Add panic button functionality.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:19:07 +01:00
Moritz Fischer
106405aace firmware: e3xx: Turn off overzealous shutdown.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2016-01-26 18:18:56 +01:00
patrick-here
79c20e228d x300: Fixes bug#768 and a firmware hang issue with Eth Port 0 with the XGS image 2016-01-18 15:57:49 -08:00
Nicholas Corgan
3ce4afc754 n230: fixed header location 2016-01-15 07:26:36 -08:00
Ashish Chaudhari
6626df3717 n230: Made link state detection more accurate 2016-01-13 11:28:52 -08:00
Ashish Chaudhari
aada556849 usrp3,n230: Moved all shared FW-Host headers to the host dir 2016-01-08 13:47:28 -08:00
Ashish Chaudhari
b025e7ec71 n230: Added hardware compatibility version checks to UHD 2016-01-08 13:29:13 -08:00
Ashish Chaudhari
863ca545d6 n230: Added N230 device support 2016-01-05 17:35:14 -08:00
Ashish Chaudhari
b3077692a3 n230: Ethernet activity LED is now functional 2016-01-05 17:35:14 -08:00
Ashish Chaudhari
50a8021f73 n230: Added missing FW defs 2016-01-05 17:35:14 -08:00
Ashish Chaudhari
f164e23fa0 n230: Output interface ID in echo request 2016-01-05 17:35:14 -08:00
Ashish Chaudhari
aea284abb9 n230: Added dual-eth and link LED support to ZPU FW 2016-01-05 17:35:14 -08:00
Ashish Chaudhari
e5880e648c n230: Increased FW size to 8192
- Updated to X300 bootloader
2016-01-05 17:35:14 -08:00
Ashish Chaudhari
e92913f81a n230: Initial checkin of firmware files 2016-01-05 17:35:14 -08:00
Moritz Fischer
4fd5f063ec firmware: e3xx: Bump minor version.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-10-22 09:31:30 -07:00
Moritz Fischer
37aa412b1f firmware: e3xx: Add panic button functionality.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-10-22 09:31:30 -07:00
Moritz Fischer
f4f2b42c03 firmware: e3xx: Turn off overzealous shutdown.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-10-22 09:31:30 -07:00
Nicholas Corgan
dbf09cabf4 OctoClock: shortened bootloader's wait for burner signal 2015-09-01 13:39:49 -07:00
Martin Braun
abc08d914c Merge branch 'maint' 2015-08-04 17:28:41 -07:00
Ben Hilburn
1728cf492f E300 FW: Fixing copyrights 2015-08-04 17:27:30 -07:00
Martin Braun
e94223d4b5 Merge branch 'maint' 2015-07-28 09:37:02 -07:00
Moritz Fischer
691c430562 e3xx: Fix firmware to actually write fuse values.
The fuses weren't written correctly before, as we were
lacking parameters to avrdude.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-21 17:33:12 -07:00
Martin Braun
31b8d05c3d Updated compat numbers for B2x0 and X3x0
- B2x0: FW compat number (goes with previous firmware update)
- X3x0: Max HW rev number
2015-07-14 15:34:32 -07:00
Martin Braun
7c6bc34f62 Merge branch 'maint'
Conflicts:
	fpga-src
	host/CMakeLists.txt
	host/cmake/Modules/UHDVersion.cmake
	host/lib/usrp/b200/b200_impl.hpp
	host/lib/usrp/e300/e300_fpga_defs.hpp
	host/lib/usrp/x300/x300_fw_common.h
2015-07-14 14:51:14 -07:00
Balint Seeber
6d0f1ee6f6 fx3: New firmware features: Logging, more configuration
- Logging in conjunction with B200 side-channel utility
  (using UART or directly over USB)
- More and better configurability, e.g. Tx voltage swing
  and DMA configuration
2015-07-14 11:52:21 -07:00
Moritz Fischer
c65e0ea6e3 e3xx: Added firmware for battery based devices.
Note: This firmware does *not* support Rev B units.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2015-07-13 14:03:42 -07:00
Nicholas Corgan
d9656de88f OctoClock bugfixes
* Bumped compatibility version to 3
* firmware: Ethernet, clkdist bugfixes
* lib: fixed invalid rev detection
2015-07-09 09:13:41 -07:00
Ashish Chaudhari
f2337d6fe0 Merge branch 'master' into vivado 2015-04-30 18:02:02 -07:00