Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixup! mpm: Fixup for argument parsing in N310 | Martin Braun | 2018-02-07 | 1 | -1/+9 |
| | |||||
* | mpm: rpc_server: Declare local connection for *all* local IPs | Martin Braun | 2018-02-07 | 1 | -2/+3 |
| | | | | | | Before, it was possible to trick the RPC server in believing a connection was remote when the incoming connection was from a local IP address that was not 127.0.0.1. | ||||
* | mpm: net: Add get_local_ip_addrs() method | Martin Braun | 2018-02-07 | 1 | -1/+15 |
| | |||||
* | mpm: n310: Removed superfluous import | Martin Braun | 2018-02-07 | 1 | -1/+0 |
| | |||||
* | mpm: Fixup for argument parsing in N310 | Brent Stapleton | 2018-02-07 | 2 | -3/+5 |
| | | | | | | | Adding helper function to parse strings to a boolean value. We can then use that function to parse MPM's default_args, and set enable_gps and enable_fp_gpio. This replaces the usages of the Python builtin bool(), which returns True for any non-empty string. | ||||
* | mpm: n310: bist: Add error_msg for temp bist if no sensores were found | Martin Braun | 2018-02-07 | 1 | -1/+3 |
| | |||||
* | mpm: convert to string explicitly in GPIOBank | Trung N Tran | 2018-01-24 | 1 | -1/+1 |
| | |||||
* | usrp3: Changes for Vivado 2017.4 | Ashish Chaudhari | 2018-01-24 | 1 | -1/+1 |
| | | | | | | - Bumped compat number for e3xx, n230, x3xx, n3xx - Updated images package for e3xx, n230, x3xx, n3xx - Updated fpga-src submodule | ||||
* | fixup! mpm: Log timeouts during API calls, reset timer on claimed calls | Martin Braun | 2018-01-23 | 2 | -1/+8 |
| | |||||
* | mpm: mg: Remove superfluous import | Martin Braun | 2018-01-23 | 1 | -1/+1 |
| | |||||
* | mg: ease the usage of init and tracking cal | Trung N Tran | 2018-01-23 | 1 | -9/+94 |
| | | | | | | | | Using string expression instead of passing in a total hex value. Now user can passed in for example: init_cals=DEFAULT or init_cals=BASIC|TX_QEC_INIT Reviewed-by: Martin Braun <martin.braun@ettus.com> | ||||
* | mpm: Log timeouts during API calls, reset timer on claimed calls | Martin Braun | 2018-01-22 | 1 | -0/+7 |
| | | | | Reviewed-by: Trung Tran <trung.tran@ettus.com> | ||||
* | mpm: n310: Fix setting time source depending on clock source | Martin Braun | 2018-01-22 | 1 | -7/+4 |
| | | | | | | | | - When clock source is set, but time source is not, still set time source to guarantee correct ref clock freq - Enable unconditional setting of time source Reviewed-by: Daniel Jepson <daniel.jepson@ettus.com> | ||||
* | fixup! mpm: Harmonize imports, tidy + sort modules | Martin Braun | 2018-01-22 | 1 | -1/+1 |
| | | | | - Fixes n3xx_bist, which failed on a an import | ||||
* | n310: removed orphaned comments | Brent Stapleton | 2018-01-19 | 1 | -4/+0 |
| | |||||
* | n310: Update the dboard UIO usage | Brent Stapleton | 2018-01-19 | 1 | -25/+22 |
| | | | | | Updating the UIO usage in the debug functions in magnesium.py. Somehow this didn't get updated before. | ||||
* | mpm: Demoting watchdog related log message to DEBUG | Martin Braun | 2018-01-19 | 1 | -1/+2 |
| | |||||
* | mpm: Update unclaim timeout logic | Martin Braun | 2018-01-18 | 1 | -9/+30 |
| | | | | | | | - Allow configurable timeout values from the command line - Add flag to disable timeouts for long calls; this fixes the case where reclaimers re-initialize a disabled timer - Add methods for timeout event for better tracking | ||||
* | mpm: mg: Demote notice on LMK not being locked b/c of lacking init | Martin Braun | 2018-01-18 | 1 | -1/+1 |
| | |||||
* | mpm: Demoted some log statements from INFO to TRACE or DEBUG | Martin Braun | 2018-01-17 | 2 | -3/+2 |
| | |||||
* | mpm: Refactored RPC server | Martin Braun | 2018-01-17 | 1 | -66/+80 |
| | | | | | | - No functional changes - Grouped methods by function - Improved some comments | ||||
* | mpm: n310: Bump compat number to 2.0 | Martin Braun | 2018-01-16 | 1 | -1/+1 |
| | | | | - Updated fpga-src submodule pointer | ||||
* | mpm/mpmd: Report device state using get_init_status() and verify | Martin Braun | 2018-01-16 | 1 | -1/+7 |
| | | | | | | When trying to run init(), mpmd will first query the initialization status of the MPM device. If it is found to be in a bad state, it will not go forward with initialization, but instead print the error message. | ||||
* | mpm: n310: Refactor N3xx periph manager | Martin Braun | 2018-01-16 | 1 | -20/+32 |
| | | | | | | | - Sort methods by functional groups - Reorder init from less likely to fail to more likely (this enables the LINK LED on claim for when FPGA fails to initialize, e.g. on compat errors) | ||||
* | mpm: Refactor PeriphManager classes | Martin Braun | 2018-01-16 | 2 | -39/+72 |
| | | | | | - Sort methods by functional groups - Removed some cruft | ||||
* | mpm: add init clock and time source from args | Trung N Tran | 2018-01-16 | 1 | -0/+4 |
| | | | | Reviewed-by: Martin Braun <martin.braun@ettus.com> | ||||
* | mpm: Enable systemd watchdog and update it from MPM | Martin Braun | 2018-01-15 | 4 | -7/+30 |
| | | | | | | | | - Updated systemd service file - Added health status flag in shared data object - Added thread in RPC process to update watchdog Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | mpm: sys_utils: Add watchdog module | Martin Braun | 2018-01-15 | 2 | -0/+64 |
| | | | | Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | mpm: n310: Check all periphs for initialization status | Martin Braun | 2018-01-12 | 2 | -7/+22 |
| | |||||
* | mpm: mg: Pass deserializer_lane_xbar to ad937x_config | Trung N Tran | 2018-01-12 | 1 | -0/+8 |
| | | | | | | | | | Slot A and Slot B are different in how the JESD lanes are connected. We now pass in different deserializer_lane_xbar config values for each slot. Reviewed-by: Martin Braun <martin.braun@ettus.com> Reviewed-by: Daniel Jepson <daniel.jepson@ettus.com> Reviewed-by: Mark Meserve <mark.meserve@ni.com> | ||||
* | mpm: n310: Fix various bugs in sensor API | Martin Braun | 2018-01-12 | 2 | -6/+3 |
| | |||||
* | mpm: tdc: add signature/revision checks and master reset routine | djepson1 | 2018-01-12 | 2 | -1/+62 |
| | | | | Reviewed-by: Martin Braun <martin.braun@ettus.com> | ||||
* | fixup! mpm: adding GPS sensor functions | Brent Stapleton | 2018-01-11 | 1 | -1/+1 |
| | |||||
* | mpm: periph_manager: Pass default args to dboard manager | Martin Braun | 2018-01-11 | 1 | -2/+3 |
| | |||||
* | mpm: utils: Fix to_native_str for non-string types | Martin Braun | 2018-01-11 | 1 | -2/+5 |
| | | | | | Before, you couldn't use to_native_str for objects such as integers (i.e., anything that was not a bytes-like object). | ||||
* | mpm: dboard_manager: Use mpmutils.to_native_str instead of local hack | Martin Braun | 2018-01-11 | 1 | -10/+2 |
| | |||||
* | mpm: usrp_hwd: Fix logging issue on default_args failure | Martin Braun | 2018-01-11 | 1 | -3/+7 |
| | | | | | | Failure to provide valid default args no longer results in an unexpected error. Also fixed minor formatting issues (PyLint). | ||||
* | mpm: Factor GPIO panel code into common module | Martin Braun | 2018-01-10 | 3 | -256/+224 |
| | | | | | | | | | | GPIOBank is the new class, n310.FrontpanelGPIO and BackpanelGPIO now derive from that. Other minor changes: - Renamed classes to FrontpanelGPIO and BackpanelGPIO in accordance with coding guidelines - Moved MboardRegsControl before n310 class for consistent code layout | ||||
* | mpm: Add code to drive the back panel LEDs | Moritz Fischer | 2018-01-10 | 1 | -10/+100 |
| | | | | | | | Add code to drive back panel LEDs for GPS, Link (claim) and REF Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Reviewed-By: Martin Braun <martin.braun@ettus.com> | ||||
* | mpm: n310: Add status monitor thread | Martin Braun | 2018-01-10 | 1 | -0/+46 |
| | | | | | This thread is able to update software-controlled status pins, such as back-panel LEDs. | ||||
* | mpm: n310: Shuffle around location of functions for better browsability | Martin Braun | 2018-01-10 | 1 | -37/+44 |
| | |||||
* | mpm: Add API call for claim and unclaim | Martin Braun | 2018-01-10 | 2 | -59/+87 |
| | | | | | | These are hooks that the RPC server calls into when claiming a device, and allow the device implementation to trigger user-definable actions on claiming/unclaiming. | ||||
* | 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: Add API to read back logs from device and send to native logging | Martin Braun | 2018-01-10 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | mpm: Add API to read back log buffer | Martin Braun | 2018-01-08 | 2 | -1/+64 |
| | | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> | ||||
* | 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> |