aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm
Commit message (Collapse)AuthorAgeFilesLines
* mpm: n3xx: Refactor n3xx_periphs into its own moduleMartin Braun2018-05-083-386/+400
|
* 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-302-6/+24
| | | | | | - 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: 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>
* 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-022-0/+6
| | | | 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.
* 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.
* mpm: Rename n310 to n3xxMartin Braun2018-03-055-23/+23
| | | | | This module (and class) are, in fact, used for all N3xx-derivates so renaming it is the more correct thing to do.
* mpm: n300/n310: Select correct overlay based on product IDMartin Braun2018-03-052-21/+32
|
* n310: Make MPM report FPGA version and description, UHD read itMartin Braun2018-03-022-1/+14
| | | | | | | The FPGA and MPM version as well as the description of the device ("N300-Series Device") and its name (its the hostname) are now properly reported coming from MPM, properly saved in the prop tree, and uhd_usrp_probe can nicely display them this way.
* mpm: uhd: RPC server reports MPM version, uhd_usrp_probe reads itMartin Braun2018-03-021-0/+1
|
* mpm: net: Add get_hostname()Martin Braun2018-03-021-0/+3
|
* mpm: n310: Default-initialize some membersMartin Braun2018-02-281-4/+4
| | | | | This allows flawless execution of code paths regardless of initialization status.
* mpm: periph_manager: Guarantee self.dboards existsMartin Braun2018-02-281-1/+1
| | | | | Other components assume the existence of mgr.dboards, and so it needs to be default-initialized before doing any code that can go wrong.
* n3xx: add front panel gpio control registersTrung N Tran2018-02-211-1/+78
|
* mpm: N310 updates FPGA information on initBrent Stapleton2018-02-191-1/+43
| | | | | | | | | -Adding MboardRegsControl.get_fpga_type(), which reads the SFP info registers and determines the FPGA image type (HG, XG, AA, etc). This is a minor FPGA compat number bump. -Adding N310._update_fpga_type(), which updates the component information using the get_fpga_type() function described above. This information can then be accessed through get_component_info().
* mpm: adding get_component_infoBrent Stapleton2018-02-192-1/+19
| | | | | Add getter function for updateable component information. This is a minor compat number bump.
* mpm: Update all license headersMartin Braun2018-02-1945-85/+85
| | | | | - Fix typo in company name (missing 'a') - Updated SPDX license identifier to version 3.0
* mpm: mg: Move MgCPLD, TCA6408, DboardClockControl class to own moduleMartin Braun2018-02-143-195/+209
|
* mpm: n310: Remove some leftover cruftMoritz Fischer2018-02-131-2/+0
| | | | | | | The lines removed here are no longer needed, get rid of them Suggested-by: Martin Braun <martin.braun@ettus.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: Add entries for renamed sfpsMoritz Fischer2018-02-131-1/+13
| | | | | | | | | | | | | In order to match the front panel 0 and 1 for the SFPs, as well as for clarity and consistency reasons, udev rules will be put onto future filesystems in order to rename the eth1 eth2 devices to sfp0 and sfp1. This change *should* be backwards compatible, nevertheless, be careful and bump compat number. This also updates the uhd image loader manifest. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: mg: add cpld revision to dboard infoTrung N Tran2018-02-121-5/+7
| | | | Reviewed-by: Martin Braun <martin.braun@ettus.com>
* fixup! mpm: magnesium_update_cpld.py: Add axi_bitq supportBrent Stapleton2018-02-091-1/+1
|
* mpm: remove GPIOBank.set_all functionTrung N Tran2018-02-091-12/+0
| | | | | | | | -set_all function doesn't fit well with the GPIO api. It is rather a test sepecific function. -Add gpio_set_all helper to n3xx_bist. Reviewed-by: Martin Braun <martin.braun@ettus.com>
* mpm: Use prefs API for periph managerMartin Braun2018-02-084-7/+43
| | | | | | | | - Allow to set default args via config file - Read them from prefs API - override-db-pids uses the same APIs now ([overrides] section in config file, prefs API, and same dictionary as --default-args when used on the command line
* mpm: Use prefs API in logging moduleMartin Braun2018-02-081-6/+6
| | | | This allows to set the default log level from the config file.
* mpm: Add prefs modulesMartin Braun2018-02-084-2/+99
| | | | | - prefs is a module for centralized preferences management - Uses Python's ConfigParser module
* fixup! mpm: Changed mpm_shell to support scripted useMoritz Fischer2018-02-071-26/+31
| | | | Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: magnesium_update_cpld.py: Add axi_bitq supportMoritz Fischer2018-02-071-19/+65
| | | | | | | | | | | | Add axi_bitq support. In order for this to work we need several conditions to be true: - Updated openocd - FPGA image with axi_bitq built in and hooked up to correct pins - Updated overlays matching the FPGA image - An svf file with correct max frequency <= 10MHz Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
* mpm: n310: Return CHDR addresses as part of device_infoMartin Braun2018-02-074-1/+56
| | | | Reviewed-by: Brent Stapleton <brent.stapleton@ettus.com>
* fixup! mpm: Fixup for argument parsing in N310Martin Braun2018-02-071-1/+9
|