aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mpm: Enable systemd watchdog and update it from MPMMartin Braun2018-01-155-7/+36
| | | | | | | | - 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 moduleMartin Braun2018-01-152-0/+64
| | | | Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
* examples: Fix bandwidth unit (MHz vs. Hz) in tx_samples_from_fileMartin Braun2018-01-151-2/+6
|
* mpm: n310: Check all periphs for initialization statusMartin Braun2018-01-122-7/+22
|
* mpm: Add EEPROM utilities for N310Martin Braun2018-01-1212-4/+960
| | | | Actually-written-by: Moritz Fischer <moritz.fischer@ettus.com>
* mg: add clip function on setting individual gain.Trung Tran2018-01-121-8/+19
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* usrp: add multiusrp api for gain profile.Trung N Tran2018-01-122-0/+128
|
* mg: add facility that handle individual gainTrung N Tran2018-01-125-12/+348
| | | | | | | -Create name for each gain/att element -Create property tree entry for each gain and their handlers. -Create gain profile that control how gain distributed. Right now, it is either "default" or "manual".
* mpm: mg: Pass deserializer_lane_xbar to ad937x_configTrung N Tran2018-01-129-10/+25
| | | | | | | | | 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>
* examples: Add example to query and list all sensorsMartin Braun2018-01-122-0/+127
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: n310: Fix various bugs in sensor APIMartin Braun2018-01-122-6/+3
|
* fixup! TwinRX: Added ADF5356 synth and TwinRX Rev C supportDerek Kozel2018-01-121-1/+1
| | | | | | The phase detector frequency value was incorrect for the Rev C LO1 Reviewed-by: Mark Meserve <mark.meserve@ni.com>
* uhd: Add narrow_cast and narrowMartin Braun2018-01-125-0/+129
| | | | Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* mpm: tdc: add signature/revision checks and master reset routinedjepson12018-01-122-1/+62
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* fixup! mpmd: Add API to read back logs from device and send to native loggingMartin Braun2018-01-111-1/+1
|
* fixup! fpga load: adding MPMD image loader functionBrent Stapleton2018-01-111-1/+1
|
* fixup! mpm: adding GPS sensor functionsBrent Stapleton2018-01-111-1/+1
|
* fixup! mpmd: added support for the skip_init key in the device argsBrent Stapleton2018-01-111-0/+1
|
* mpm: periph_manager: Pass default args to dboard managerMartin Braun2018-01-111-2/+3
|
* mpm: utils: Fix to_native_str for non-string typesMartin Braun2018-01-111-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 hackMartin Braun2018-01-111-10/+2
|
* mpm: usrp_hwd: Fix logging issue on default_args failureMartin Braun2018-01-111-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 moduleMartin Braun2018-01-103-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 LEDsMoritz Fischer2018-01-101-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 threadMartin Braun2018-01-101-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 browsabilityMartin Braun2018-01-101-37/+44
|
* mpm: Add API call for claim and unclaimMartin Braun2018-01-102-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 processMartin Braun2018-01-104-76/+96
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: Bump default log level to INFOMartin Braun2018-01-101-1/+1
|
* mpmd: Poll logs on claim and exitMartin Braun2018-01-101-0/+6
|
* mpmd: Add API to read back logs from device and send to native loggingMartin Braun2018-01-103-1/+72
|
* mg: fix update_freq direction in set_rx_lo_freqTrung N Tran2018-01-091-1/+1
|
* fixup! mg: Use enums for all bands, move freq mapping to single locationMartin Braun2018-01-081-0/+1
|
* mpmd: Factor out compat number checkMartin Braun2018-01-081-26/+59
|
* mpmd: Refactor device initialization for better parallelizabilityMartin Braun2018-01-083-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 checkMartin Braun2018-01-081-16/+12
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: utils: Add assert_compat_number functionMartin Braun2018-01-081-0/+59
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: n310: Move SID re-alloc log message to right spotMartin Braun2018-01-082-1/+1
|
* mg: Use enums for all bands, move freq mapping to single locationMartin Braun2018-01-089-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_VARMartin Braun2018-01-081-1/+0
|
* eiscat: Remove superfluous UHD_VARMartin Braun2018-01-081-2/+0
|
* Revert "rfnoc: compat: Disable DMA FIFO if more radios than DMA channels exist"Ashish Chaudhari2018-01-081-31/+1
| | | | This reverts commit c8cdbfc4d4e307017e02dd48c449d3e3f38118af.
* rfnoc: dma_fifo: Minor: Cleaned up log printsAshish Chaudhari2018-01-082-5/+4
|
* rfnoc: Added a 4-port DMA FIFO block XML defAshish Chaudhari2018-01-082-1/+110
|
* mpm: Add API to read back log bufferMartin Braun2018-01-082-1/+64
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: Increase RPC timeout during update_componentBrent Stapleton2018-01-053-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 Braun2018-01-051-1/+1
| | | | Thanks to github user mdmikh for pointing out problem and fix.
* jesd: mg bug fix: default state of the RX link is scrambleddjepson12018-01-051-1/+1
| | | | Reviewed-by: Trung Trang <trung.tran@ettus.com>
* fixup! mpm: mg: Added magnesium_update_cpld.pyBrent Stapleton2018-01-051-1/+1
|
* mpm: mg: Assert that ref clock freq was actually set before init()Martin Braun2018-01-051-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>