Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mpm: n310: Allow Ethernet connections to both SFPs | Martin Braun | 2017-12-22 | 1 | -16/+30 |
| | | | | Reviewed-By: Trung Tran <trung.tran@ettus.com> | ||||
* | mpm/mpmd: Move to request_xport()/commit_xport() architecture | Martin Braun | 2017-12-22 | 2 | -130/+351 |
| | | | | | This commit combines code from various branches to finally enable both UDP and Liberio transports. | ||||
* | mpm: Lower logging level for PeriphManagerBase.deinit() | Martin Braun | 2017-12-22 | 1 | -2/+2 |
| | |||||
* | mpm: n310: Load Liberio dispatcher | Martin Braun | 2017-12-22 | 1 | -9/+39 |
| | | | | | Note: The dispatcher is not yet used at this point. However, it will check the existence of certain devices. | ||||
* | mpm: Cache connection type in PeriphManagerBase | Martin Braun | 2017-12-22 | 1 | -0/+13 |
| | | | | | | Now, when claiming a device, the connection type will be stored as a string in PeriphManagerBase. This way we can read out the current connection type even when not currently inside an RPC call. | ||||
* | mpm: Remove leading _ from _get_device_info() | Martin Braun | 2017-12-22 | 1 | -1/+2 |
| | | | | Use @norpc instead. This fixes some linting issues. | ||||
* | mpm: Make list_updateable_components return something | Martin Braun | 2017-12-22 | 1 | -2/+1 |
| | |||||
* | fpga load: add N310 update FPGA function | Brent Stapleton | 2017-12-22 | 1 | -0/+14 |
| | | | | | -update_fpga loads the FPGA image from the base class's update_component function -checks if FPGA image is a bit or bin file, and converts to Zynq-compatible binfile if necessary | ||||
* | fpga load: add update_component function to MPM | Brent Stapleton | 2017-12-22 | 2 | -0/+95 |
| | | | | | | | | -update_component takes a byte array containing the data to be written, and a dictionary containing the metadata of the component to be updated -The metadata must contain 'id' and 'filename' -The metadata may contain an md5 hash ('md5') | ||||
* | mpm: Minor refactoring of PeriphManagerBase attributes | Martin Braun | 2017-12-22 | 2 | -8/+3 |
| | |||||
* | mpm: n310: Enable read/write of user EEPROM data | Martin Braun | 2017-12-22 | 1 | -0/+67 |
| | | | | | | This exposes two new API calls to read and write arbitrary data to the device's EEPROM. Please keep in mind that EEPROMs have limited write cycles! | ||||
* | n3xx: enable 1G clock with gpio settings. | Ryan Marlow | 2017-12-22 | 1 | -0/+17 |
| | |||||
* | mpm: n3xx: Add GPS locked sensor | Trung N Tran | 2017-12-22 | 1 | -0/+13 |
| | |||||
* | mpm: Provide default dboard EEPROM getter/setters | Martin Braun | 2017-12-22 | 1 | -0/+28 |
| | | | | | The setter will throw an exception though. It is supposed to be overriden by device-specific classes. | ||||
* | mpm: n310: Add mboard EEPROM support | Martin Braun | 2017-12-22 | 1 | -0/+15 |
| | | | | | This is a specific override for the N310. It returns all the default device info as a dict. | ||||
* | mpm: Add mboard EEPROM support | Martin Braun | 2017-12-22 | 1 | -1/+25 |
| | | | | | | MPMD binds a property for the mboard EEPROM to the appropriate RPC calls. PeriphManager now provides default implementations for an mboard EEPROM. | ||||
* | mpm/n310: Moved the mboard ref_locked sensor into MPM | Martin Braun | 2017-12-22 | 1 | -0/+28 |
| | | | | | | | | An N310 device will query all its dboards for ref lock status and return a Boolean combination as a motherboard sensors (note: the N310 does not actually have a ref_locked sensor on the motherboard, this is mostly for backwards-compat with UHD applications that expect a motherboard ref lock sensor). | ||||
* | mpm: Added sensor API | Martin Braun | 2017-12-22 | 1 | -0/+38 |
| | | | | | | | | - Motherboard sensors are automatically populated into the property tree, they can be automatically enumerated and queried - Daughterboard sensors have an API for querying and enumerating sensors, but this commit does not automatically add them to the property tree | ||||
* | mpm: add n310 motherboard revD support | Trung N Tran | 2017-12-22 | 1 | -37/+78 |
| | | | | | | | | | | This will enable both RevC and RevD from an MPM perspective. The revision read back from the EEPROM is used to enable the code for either rev. The impact on the code is limited to the port expander GPIOs. Port expander objects are instantiated in both the N310 MPM module as well as the n3xx_bist executable. | ||||
* | mpm: Added max rev check overridable | Martin Braun | 2017-12-22 | 2 | -5/+30 |
| | | | | | | When reading revision numbers from EEPROM, we now have an easy way of checking of our version MPM is sufficient to run on the current device. N310 implicitly makes use of this starting with this commit. | ||||
* | mpm: n3xx: Don't set time and clock source without dboards | Martin Braun | 2017-12-22 | 1 | -6/+14 |
| | | | | | | | | When there are no daughterboards present, clock and time source are meaningless. It's also possible that corresponding FPGA images are not loaded, in which case trying to set those could crash the system. Unless daughterboards are actually present, these settings won't get applied any more. | ||||
* | mpm: Overlay handling functions use dtoverlay module | Martin Braun | 2017-12-22 | 1 | -10/+8 |
| | |||||
* | mpm: n3xx: Fix TCA GPIO read function | Martin Braun | 2017-12-22 | 1 | -1/+1 |
| | | | | Used to always return None, now returns the actual pin value. | ||||
* | mpm: n3xx: Change default state for TCA GPIOs | Martin Braun | 2017-12-22 | 1 | -1/+3 |
| | | | | | | This makes the GPS reset go high by default (i.e., takes it out of reset by default) and the init survey pin go high (i.e., take it out of survey mode). | ||||
* | n310: enable CLK-MGT156MHz at init n310 call | Trung N Tran | 2017-12-22 | 1 | -1/+1 |
| | |||||
* | n310/eiscat: Removed 20 MHz as a valid ref clock frequency | Martin Braun | 2017-12-22 | 1 | -0/+5 |
| | |||||
* | n3xx mpm: Refactored peripheral init code | Martin Braun | 2017-12-22 | 1 | -15/+24 |
| | |||||
* | n3xx mpm: Enable more subcomponents through API calls | Martin Braun | 2017-12-22 | 1 | -5/+44 |
| | |||||
* | n3xx mpm: Set call for TCA6424 pins gets value arg | Martin Braun | 2017-12-22 | 1 | -4/+3 |
| | |||||
* | n310: gpio bist | Trung N Tran | 2017-12-22 | 1 | -1/+69 |
| | |||||
* | n3xx: enable all pins on tca6424 | Trung N Tran | 2017-12-22 | 1 | -1/+2 |
| | |||||
* | mpm/n310: Moved eth dispatcher setup into __init__ | Martin Braun | 2017-12-22 | 2 | -15/+13 |
| | |||||
* | n3xx: added args for ethernet crossover path | sugandhagupta | 2017-12-22 | 1 | -0/+5 |
| | |||||
* | mpm: Added eth table preloading capability | Martin Braun | 2017-12-22 | 1 | -0/+51 |
| | |||||
* | n310: Allow --override-db-pids to skip dbs | Martin Braun | 2017-12-22 | 1 | -0/+5 |
| | |||||
* | mpm/mpmd: Dboard info is now stored in mboard info; refactored initialization | Martin Braun | 2017-12-22 | 1 | -6/+4 |
| | |||||
* | mpmd/mpm/n310: Added clock and time source APIs | Martin Braun | 2017-12-22 | 2 | -26/+57 |
| | |||||
* | mpm/mpmd: Call init() during UHD session init, not on hwd spawn | Martin Braun | 2017-12-22 | 2 | -3/+9 |
| | |||||
* | mpm/mpmd: Allow SID increment; more fixes for multi-usrp operation | Martin Braun | 2017-12-22 | 1 | -2/+4 |
| | |||||
* | mpm: Addition Py3k fixes, all related to string/UTF-8/ascii differences | Martin Braun | 2017-12-22 | 1 | -1/+8 |
| | | | | - Also fixed some error handling in various cases | ||||
* | mpm/mpmd: Further improvements on multi-device operations | Martin Braun | 2017-12-22 | 2 | -5/+23 |
| | | | | | | | - Crossbar local addr is now written during initialization of UHD session - Support for multiple crossbars per device (at least on UHD side) - Crossbars are now sequentially given a unique address | ||||
* | mpm: Removed gratuitous encode(), safer udev lookups | Martin Braun | 2017-12-22 | 1 | -6/+11 |
| | | | | | - Udev lookups now just return empty lists when they can't find anything - Made SPI dev interface factory Py2/3 safe | ||||
* | mpm: Made code Python3-compatible | Martin Braun | 2017-12-22 | 3 | -4/+10 |
| | |||||
* | mpm: udev now sorts EEPROM paths properly (9-0050 before 10-0050) | Martin Braun | 2017-12-22 | 1 | -3/+9 |
| | |||||
* | eiscat/mpm: Moved EISCAT full init sequence to UHD | Martin Braun | 2017-12-22 | 1 | -14/+0 |
| | |||||
* | mpm/eiscat: Updated bringup procedure for dual-synched dboards | Daniel Jepson | 2017-12-22 | 1 | -3/+18 |
| | |||||
* | mpm/mpmd: Crossbar info is now polled instead of hardcoded | Martin Braun | 2017-12-22 | 1 | -0/+32 |
| | | | | - Extended base periph manager to provide crossbar info | ||||
* | mpm/EISCAT: Renamed UIO udev labels, enabled spidevs on both dboards | Martin Braun | 2017-12-22 | 1 | -1/+3 |
| | | | | The UIO labels will require an update to the device tree overlay file. | ||||
* | mpm: Factored out eeprom code into its own module | Martin Braun | 2017-12-22 | 1 | -127/+8 |
| | |||||
* | mpm: motherboards can now also request overlays, dboard overlay code ↵ | Martin Braun | 2017-12-22 | 1 | -10/+41 |
| | | | | slightly refactored |