aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
Commit message (Collapse)AuthorAgeFilesLines
* mpm: tools: Introduce dt-compat and mcu-compat fieldsMoritz Fischer2018-06-206-30/+140
| | | | | | | | | | | | | | | | Introduce dt-compat and mcu-compat fields into the eeprom structure. For the motherboard eeprom this is straightforward, since there's still padding bytes that could be (ab)used for this. On the dboard side more creativity is required and the original revision field of 2 bytes is reduced to only one byte revision and one byte dt-compat. Since this will only affect new units being backwards compatible with older versions of the bootloader is not an issue. Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: dboard_manager: Fix docstring for get_serial()Martin Braun2018-06-181-1/+2
|
* mpm: fix sanity check in _init_peripheralsMark Meserve2018-06-131-23/+24
| | | | - change scoping of product_map in n3xx
* mpm: Remove superfluous test fileMartin Braun2018-06-101-57/+0
|
* mpm: xportmgr_udp: Catch inconsistent Ethernet device detectionsMartin Braun2018-06-081-7/+26
| | | | | | | This manager first detects all valid Ethernet devices. The checks for validity happen across multiple calls in a non-atomic fashion, so it's possible to end up with inconsistent results. To avoid such issues, we filter results without talking to the network stack as a final pass.
* mpm: net: Fix rare failures for IP addr detectionMartin Braun2018-06-081-12/+13
| | | | | | | Because the detection of valid Ethernet devices happens across multiple calls in a non-atomic fashion, we cannot assume that a device passed to net.get_iface_info() actually has a valid IP address, so we don't make that assumption.
* mpm: Use device_info to determine overlay listMartin Braun2018-06-082-9/+7
|
* mpm: n3xx: Derive product key programmaticallyMartin Braun2018-06-082-5/+40
| | | | | | Since there is no simple mapping from an arbitrary tuple of mboard- and dboard info dictionaries, we use generate_device_info() to figure out the product key.
* mpm: Distinguish mboard_info and device_infoMartin Braun2018-06-082-21/+34
| | | | | | In the N3xx series, the motherboard ID and the device ID can differ. For example, the N310 could share the same motherboard with a different device that uses different daughterboards.
* mpm: Remove 'test' periph_managerMartin Braun2018-06-082-68/+1
|
* mpm: Refactor periph manager init; split EEPROM read from restMartin Braun2018-06-081-104/+135
| | | | | The readout of EEPROMs is moved to their own functions. This will allow us to read out EEPROM values before starting the initialization.
* mpm: Adding FPGA type to device infoBrent Stapleton2018-06-061-1/+2
|
* mpm: allow multiple spi device objects to use the same chip selectMark Meserve2018-05-141-2/+2
|
* n3x0: Pick different standard tests for BISTMartin Braun2018-05-141-1/+1
| | | | Replaced 'clock_int' (which is not implemented) with 'fan'.
* mpm: n3xx: Refactor n3xx_periphs into its own moduleMartin Braun2018-05-084-390/+404
|
* mpm: xportmgr_udp: Assign xports to previously used SFPsMartin Braun2018-04-301-1/+29
| | | | | | This changes the sorting algorithm for the xport<->SFP mapping. When multiple SFPs are used, this sorting will avoid a criss-cross mapping (e.g., mapping ports 0 and 1 of 0/Radio_0 to different SFPs).
* mpm: types: Add getters for dst_ep and dts_block to SIDTrung Tran2018-04-301-4/+12
|
* mpm: rpc server: Remove disable_commit for init()Trung Trang2018-04-301-2/+0
| | | | | The async calls to long C++ methods allows the claimer loop to smoothly continue during init, so this hack is no longer necessary.
* mpm: replace long execution function with async callTrung N Tran2018-04-304-15/+76
| | | | | | - Replace mykonos finish_initialization with async version - Replace myknonos setup_cal with async version - Remove disable_timeout on rpc_server init()
* mpm: rpc server: Increase claim timeout to 5 secondsTrung Trang2018-04-301-1/+1
| | | | | | Usually, the current timeout is fine, but there are cases when a lot of RPC traffic could drown out the reclaim calls. 5 seconds is an experimentally derived safe value.
* mpm: Set C++ standard to C++14Martin Braun2018-04-301-1/+7
|
* mpm: Fixed db slot typo in db-idDerek Kozel2018-04-231-1/+1
|
* mpm: add device-specific Boost.Python bindingsBrent Stapleton2018-04-183-14/+5
| | | | | | Separating Boost.Python bindings into device-specific files. N3XX code now lives in n3xx/pyusrp_periphs. Only one src file should be added for pyusrp_periphs.so by CMake.
* mpm: Use configurable components for build systemAlex Williams2018-04-187-5/+137
| | | | | For a minimal build, default to off for components unless the MPM_DEVICE or the user requests it specifically.
* mpm: Validate MPM_DEVICE in CMakeBrent Stapleton2018-04-181-1/+9
|
* mpm: n3xx: Bump maximum supported revision to 5 (RevF)Moritz Fischer2018-04-171-1/+1
| | | | | | | Bump maximum supported motherboard revision to 5 (RevF), to support upcoming motherboard revisions. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: update cmake to find the correct python3Trung Tran2018-04-171-6/+6
| | | | | | | We need to set it before including UHDPython.cmake where PythonInterp is set without version requirement. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* jesd: add rx and tx SYSREF delay control in MPMDaniel Jepson2018-04-101-1/+6
|
* mg: implement digital loopback arg for the rficDaniel Jepson2018-04-101-1/+6
|
* fixup! n3xx: add White Rabbit supportDaniel Jepson2018-04-031-12/+0
|
* mpm: cmake: Add git hash and version info to Python moduleMartin Braun2018-04-025-15/+79
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* mpm: increase timeout interval for claimingTrung N Tran2018-04-021-1/+1
|
* mpm: n3xx: Disable PPS out during initializationMartin Braun2018-04-021-1/+12
|
* n3xx: add White Rabbit supportDaniel Jepson2018-03-306-101/+263
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mpm: improve logging on exceptionTrung N Tran2018-03-301-4/+5
|
* mpm: Adding offset to EEPROM readsBrent Stapleton2018-03-203-1/+18
| | | | | | Adding address offset to all MBoard and DBoard EEPROM reads. This matches what we're doing for the user portion of the EEPROM, and allows us to share access to an EEPROM.
* mpm: adding reference counters to UIOBrent Stapleton2018-03-141-5/+39
| | | | | | | | | | | | UIO objects now count references on open and close calls. This should prevent problems with nested function calls that open/close the same UIO object. References counts are not atomic -- this is intended for nesting with statements within the same thread context. Reviewed-by: Martin Braun <martin.braun@ettus.com> Reviewed-by: Trung Tran <trung.tran@ettus.com>
* mpm: Add INFO log statements on MPM reset and component updateMartin Braun2018-03-132-0/+2
|
* mpm: n3xx: Fix failure on get_device_info() when uninitializedMartin Braun2018-03-131-2/+3
|
* mpm: n300: Warn when user tries to use external LOsMartin Braun2018-03-091-0/+10
| | | | | The N300-variant has no front-panel LO connectors, so we need to warn ther user when trying to use them.
* mg: fix char printout of arm versionMark Meserve2018-03-081-3/+3
|
* mpm: sysfs_gpio: Throw exception on unsuccessful initMartin Braun2018-03-081-3/+8
| | | | | In case of a lost connection to a sysfs-gpio device, this will trigger the correct errors.
* tdc: support for White RabbitDaniel Jepson2018-03-071-29/+39
|
* lmk: clean up logging statementsdjepson12018-03-071-2/+2
|
* tdc: support for tdc 2.0djepson12018-03-074-221/+368
|
* mpm: Fix some Pylint warningsMartin Braun2018-03-067-55/+57
| | | | No functional changes.
* mpm: Demote some log messagesMartin Braun2018-03-0611-61/+59
| | | | | | The log output at level 'INFO' was pretty cluttered. This cleans up the log messages at the higher levels. In some cases, log message typos or capitalizations were also fixed.
* n3xx_bist: Ignore errors from uhd_usrp_probe on running ddr3 testsugandhagupta2018-03-061-5/+3
| | | | | we only care about getting a valid throughput regex match, and can ignore errors from uhd_usrp_probe, e.g. no daughterboards, etc.
* mpm: break up device compilationBrent Stapleton2018-03-053-8/+12
| | | | Breaking up dboard compilation based on the target MPM_DEVICE.
* mpm: cmake: Make default install path /usrMartin Braun2018-03-051-5/+14
|