Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mpm: Spawn periph manager inside the RPC process | Martin Braun | 2018-01-10 | 4 | -76/+96 |
| | | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> | ||||
* | mpm: Bump default log level to INFO | Martin Braun | 2018-01-10 | 1 | -1/+1 |
| | |||||
* | mpmd: Poll logs on claim and exit | Martin Braun | 2018-01-10 | 1 | -0/+6 |
| | |||||
* | mpmd: Add API to read back logs from device and send to native logging | Martin Braun | 2018-01-10 | 3 | -1/+72 |
| | |||||
* | mg: fix update_freq direction in set_rx_lo_freq | Trung N Tran | 2018-01-09 | 1 | -1/+1 |
| | |||||
* | fixup! mg: Use enums for all bands, move freq mapping to single location | Martin Braun | 2018-01-08 | 1 | -0/+1 |
| | |||||
* | mpmd: Factor out compat number check | Martin Braun | 2018-01-08 | 1 | -26/+59 |
| | |||||
* | mpmd: Refactor device initialization for better parallelizability | Martin Braun | 2018-01-08 | 3 | -92/+125 |
| | | | | | | | | | | Note: This doesn't add any concurrency, rather, it changes the structure of the code to allow that. Notable changes: - All prop tree inits in one place - No access to containers in methods that might be run in parallel - Split initialization and claiming in mpmd_mboard_impl, calling ctor will no longer run the full initialization. - Added comments to identify parallelizable spots | ||||
* | mpm: n310: Factor out compat number check | Martin Braun | 2018-01-08 | 1 | -16/+12 |
| | | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> | ||||
* | mpm: utils: Add assert_compat_number function | Martin Braun | 2018-01-08 | 1 | -0/+59 |
| | | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> | ||||
* | mpm: n310: Move SID re-alloc log message to right spot | Martin Braun | 2018-01-08 | 2 | -1/+1 |
| | |||||
* | mg: Use enums for all bands, move freq mapping to single location | Martin Braun | 2018-01-08 | 9 | -109/+339 |
| | | | | | | | | This removes the need to re-implement the band checks (in particular, the low band check) in multiple places, potentially causing confusion. Signed-off-by: Trung Tran <trung.tran@ettus.com> Reviewed-by: Trung Tran <trung.tran@ettus.com> | ||||
* | mg: Remove superfluous UHD_VAR | Martin Braun | 2018-01-08 | 1 | -1/+0 |
| | |||||
* | eiscat: Remove superfluous UHD_VAR | Martin Braun | 2018-01-08 | 1 | -2/+0 |
| | |||||
* | Revert "rfnoc: compat: Disable DMA FIFO if more radios than DMA channels exist" | Ashish Chaudhari | 2018-01-08 | 1 | -31/+1 |
| | | | | This reverts commit c8cdbfc4d4e307017e02dd48c449d3e3f38118af. | ||||
* | rfnoc: dma_fifo: Minor: Cleaned up log prints | Ashish Chaudhari | 2018-01-08 | 2 | -5/+4 |
| | |||||
* | rfnoc: Added a 4-port DMA FIFO block XML def | Ashish Chaudhari | 2018-01-08 | 2 | -1/+110 |
| | |||||
* | mpm: Add API to read back log buffer | Martin Braun | 2018-01-08 | 2 | -1/+64 |
| | | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> | ||||
* | mpm: Increase RPC timeout during update_component | Brent Stapleton | 2018-01-05 | 3 | -0/+14 |
| | | | | | | | Increases the host's timeout during update_component times, then resets it to the default RPC timeout after the call is complete. Reviewed-by: Martin Braun <martin.braun@ettus.com> | ||||
* | rfnoc: Fix named readback of user_reg_read32() | Martin Braun | 2018-01-05 | 1 | -1/+1 |
| | | | | Thanks to github user mdmikh for pointing out problem and fix. | ||||
* | jesd: mg bug fix: default state of the RX link is scrambled | djepson1 | 2018-01-05 | 1 | -1/+1 |
| | | | | Reviewed-by: Trung Trang <trung.tran@ettus.com> | ||||
* | fixup! mpm: mg: Added magnesium_update_cpld.py | Brent Stapleton | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | mpm: mg: Assert that ref clock freq was actually set before init() | Martin Braun | 2018-01-05 | 1 | -5/+7 |
| | | | | | | | There was a theoretical chance otherwise that we forgot to set the ref_clock_freq value and it set up the LMK incorrectly. Reviewed-by: Daniel Jepson <daniel.jepson@ettus.com> | ||||
* | mpm: cmake: Disable Python 2 | Martin Braun | 2018-01-04 | 1 | -19/+4 |
| | | | | | Removing Python 2 makes repo management for MPM a lot easier, and it's 2018 after all. | ||||
* | mpm: systemd: Add a systemd service file for MPM | Moritz Fischer | 2018-01-04 | 3 | -0/+30 |
| | | | | | | Add a service file to start MPM on bootup via systemd. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | mpmd: Allow user-overrides for MPM ports | Martin Braun | 2018-01-04 | 5 | -9/+35 |
| | | | | | | | Adds two device args: discovery_port and rpc_port. Both are integers which override the respective constants. Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> | ||||
* | mpmd: Add latency measurement functionality | Martin Braun | 2018-01-04 | 1 | -1/+43 |
| | | | | | | | | | | By adding measure_rpc_latency, mpmd_impl will run a ping command in a loop at initialization, and estimate average and maximum RPC command latency. Note that the ping() RPC call only does an internal logging call and returns its argument, so it is a very coarse approximation to how fast RPC latency is. Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> | ||||
* | mg cpld: update compatibility checking to major/minor | djepson1 | 2018-01-04 | 1 | -18/+19 |
| | | | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> Reviewed-by: Martin Braun <martin.braun@ettus.com> | ||||
* | jesd: add in detailed error reporting for JESD204b links | djepson1 | 2018-01-04 | 2 | -50/+164 |
| | | | | | | | | | | - add version control checks and bump to match latest core - add detailed mykonos reporting - add detailed fpga deframer reporting - misc cleanup Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> Reviewed-by: Martin Braun <martin.braun@ettus.com> | ||||
* | docs: n3xx: Add paragraph on network configuration to manual | Moritz Fischer | 2018-01-03 | 1 | -1/+50 |
| | | | | | | Add a (short) paragraph on network configuration on N3xx to manual. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | mpmd: Fix fake results returned by mpmd_find | Ashish Chaudhari | 2017-12-28 | 1 | -1/+3 |
| | | | | | | | | - For non-MPM Ethernet devices, mpmd_find would return a fake malformed discovery result which would accidentally trigger an mpmd_impl::make resulting in unexpected errors - Fixed mpmd_find to return an empty device_addrs_t object if no MPM devices are found | ||||
* | mpm: n310: Fix setting time source | Martin Braun | 2017-12-22 | 1 | -2/+4 |
| | |||||
* | Move all headers to SPDX format, harmonize license headers | Martin Braun | 2017-12-22 | 13 | -170/+30 |
| | |||||
* | n3xx: MPM: Add FPGA build timestamp | Ashish Chaudhari | 2017-12-22 | 1 | -11/+45 |
| | | | | | | - Fixed the interpretation of the git hash Reviewed-by: Martin Braun <martin.braun@ettus.com> | ||||
* | mpmd: liberio: Factor out constants into top of file | Martin Braun | 2017-12-22 | 1 | -17/+29 |
| | |||||
* | mpmd: liberio: Apply MTU of 2 page sizes | Martin Braun | 2017-12-22 | 1 | -3/+4 |
| | |||||
* | rfnoc: compat: Disable DMA FIFO if more radios than DMA channels exist | Martin Braun | 2017-12-22 | 1 | -1/+31 |
| | |||||
* | mpm: n310: Add temp and fan sensors | Martin Braun | 2017-12-22 | 1 | -0/+43 |
| | |||||
* | mpm: Add sysfs_thermal module | Trung Tran | 2017-12-22 | 2 | -0/+27 |
| | | | | This will provide an API call to read thermal values via udev. | ||||
* | mpmd: Optionally parallelize all calls to setup_rpc_blocks | Martin Braun | 2017-12-22 | 2 | -14/+39 |
| | | | | Default is to not serialize inits. | ||||
* | mpmd: Temporarily disable setting of clock and time source | Martin Braun | 2017-12-22 | 1 | -2/+24 |
| | | | | | | Currently, calling these APIs could potentially put the device into bad state. This will disable the APIs from UHD side and replace them with a warning if the user's setting did not take effect. | ||||
* | mg: Add 'identify' block arg, will toggle LEDs for identification | Martin Braun | 2017-12-22 | 5 | -1/+51 |
| | |||||
* | mg: Set default spp at ctor time, when xports have been init'd | Martin Braun | 2017-12-22 | 1 | -0/+12 |
| | |||||
* | mpmd: Expose get_mtu() API to mpmd_mboard_impl and to prop tree | Martin Braun | 2017-12-22 | 5 | -12/+50 |
| | |||||
* | mpmd: udp: Apply MTU to socket defaults | Martin Braun | 2017-12-22 | 1 | -8/+15 |
| | |||||
* | mg: Don't set default rate before having RPC access | Martin Braun | 2017-12-22 | 1 | -2/+0 |
| | | | | | This will do nothing useful, but will print warnings that clock rates don't match. So let's remove that setting. | ||||
* | mpm: mg: Fix CPLD rev check | Martin Braun | 2017-12-22 | 1 | -6/+13 |
| | | | | | | | | Now checks the oldest-compat-rev register. Current rev is read out for logging purposes. Reviewed-by: Daniel Jepson <daniel.jepson@ettus.com> Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | n3xx: Removed PHY reset after Aurora BIST | Ashish Chaudhari | 2017-12-22 | 1 | -2/+1 |
| | | | | | | - A PHY reset is not needed for SFP Aurora. It is only really useful when the entire quad including the commong clocking block needs to be reset | ||||
* | mpm: Drop default log level to DEBUG | Martin Braun | 2017-12-22 | 1 | -2/+2 |
| | |||||
* | mg: Renamed lowband LO to 'lowband' | Martin Braun | 2017-12-22 | 1 | -1/+1 |
| | | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com> |