Commit Graph

39 Commits

Author SHA1 Message Date
Martin Braun
5f73667284 host/firmware/tools: Update minimum CMake versions
Various sub-projects around the UHD repository specify their own minimum
CMake versions (independent of UHD). We modify the minimum CMake
versions in the following way:

- All CMake files under firmware/ are bumped from 2.6 to 3.5. This is to
  allow newer CMake versions to work with these files (CMake 4 and
  beyond do no longer work if the minimum version is below 3.5). However,
  note that these CMake files are so simple they will keep working with
  older CMake versions, but that will require manually demoting the
  minimum version. Because more people are using CMake versions newer
  than 3.5 (especially with recent checkouts of UHD), this seems the
  more compatible solution.
- The CMake files for extension_example and init_usrp are bumped to
  3.12. This matches the version that UHD uses, which increases
  compatibility.
2025-09-24 13:48:07 +02:00
Lars Amsel
bfaa556600 Move ignore of build folders into top level
Move ignored build folder to into top level and ignore all folders
that starts with build.
2025-07-18 11:19:52 +02:00
Xhovani Mali
89cb249553 Fix binary file reading in bin_to_coe.py
Co-authored-by: Virendra Kakade <virendra.kakade@ni.com>
2024-07-05 13:50:54 +02:00
Martin Braun
89fb75288e x300: Update firmware for TA control
- Bump firmware compat to 6.1
- Remove crossbar counter logic (the FPGA does *not* support crossbar
  counters anymore, so we remove it from the firmware as well)
- Remove crossbar programming control (this is now provided by RFNoC
  management packets)
- Remove UDP framing control (this is also provided by RFNoC management
  packets)
- Remove Ethernet link/activity LED control (this has been handled by
  the FPGA directly for years now)
- Add functionality to program transport adapter. The TA is programmed
  directly on the settings bus, so for the most part, this is already
  possible from the firmware. The only exception is the 'virtual'
  register to program IP address and MAC at the same time. In the
  firmware, it will perform an ARP lookup of the MAC address, and then
  write the "normal" IPv4 address register in the TA, as well as the MAC
  address registers.
- Updated bootram.coe
2023-01-10 14:19:00 -08:00
Martin Braun
1da0db3dae firmware: Remove N230 firmware
USRP N230 is no longer supported starting with UHD 4, and thus, the
firmware code is also no longer required.
2022-02-24 13:32:01 -06:00
Martin Braun
a69ab0c23a cmake: Update coding style to use lowercase commands
Also updates our coding style file.

Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code (with GNU compliant sed):

cmake --help-command-list | grep -v "cmake version" | while read c; do
  echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done > convert.sed \
&& git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \
'*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed

(Make sure the backslashes don't get mangled!)
2018-11-14 14:10:09 -08:00
Ashish Chaudhari
c0a09e2f06 x300: Fixed processor clock rate in ZPU firmware
- Fix for regression that was introduced after the bus_clk freq change
- Firmware compat number bumped to 6.0 (was 5.2)
2018-02-23 14:13:44 -08:00
Ashish Chaudhari
d5109ae99e rfnoc,x300: Multiple clocking changes
- Moved bus_clk <=> ce_clk crossing to axi_wrapper in FPGA
  which resulted in a noc_shell compat bump
- Change x300 bus_clk frequency to 187.5 MHz
2018-02-21 16:50:18 -08:00
Paul David
3c6f37019e X3xx: Updated firmware to support reading FPGA image data 2017-06-30 10:50:37 -07:00
Paul David
51cbfdfd7e Firmware: fix failures due to fw_comm_protocol.h path 2017-03-22 14:18:57 -07:00
Martin Braun
211c590f59 Merge branch 'maint' 2017-01-30 09:40:02 +01:00
michael-west
a7d7c9d520 X300: Made claim status update with every loop of the firmware to make it atomic from the host perspective 2017-01-30 09:37:44 +01:00
Martin Braun
52ca2e0b80 Merge branch 'maint' 2017-01-17 10:00:47 -08:00
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
Ashish Chaudhari
01181d2fa6 x300: Updated Aurora BIST script after FPGA changes
- Fixed latency computation bug
- Pulled in new rate throttling mechanism
2016-12-20 15:53:57 -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
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
Ashish Chaudhari
abc4790ae4 x300: Fixed FW debug script after N230 merge breakage 2016-06-23 11:15:30 -07: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
Ashish Chaudhari
230cf5d76a x300: Multiple firmware fixes for Vivado
- Refactored SFP+ hotplug handler
- GigE link state comes from SFP+ status and PHY status
- Multiple tracing enhancements
- Bumped firmware compat number to 4
- Bumpled FPGA compat number to 10
2015-02-17 12:23:09 -08:00
Ashish Chaudhari
3157734691 usrp3,x300: Replaced printfs with traces 2015-02-12 10:30:34 -08:00
Ashish Chaudhari
bfe4982ac3 usrp3: Added tracing library to usrp3 firmware 2015-02-12 09:14:54 -08:00
Martin Braun
5bd58bc309 Reorganized firmware/ subdirectory (x300->usrp3, zpu->usrp2) 2014-10-07 09:39:25 +02:00