Martin Braun
8ecb09be8b
mpm: Overlay handling functions use dtoverlay module
2017-12-22 15:04:00 -08:00
Martin Braun
d711ad4c93
mpm: RPC methods now tell us if they need a claim
...
On the RPC server side, we keep track of which methods require a claim
token. MPM shell uses this info to automatically add claim tokens when
required.
2017-12-22 15:04:00 -08:00
Martin Braun
25197587f4
n3xx bist: Fixed defaults for LV compat mode
2017-12-22 15:04:00 -08:00
Trung N Tran
d4047be7f2
n310_bist: add ddr3 bist
2017-12-22 15:04:00 -08:00
Martin Braun
c701ea815d
n3xx bist: Refactored functions with timeout
2017-12-22 15:04:00 -08:00
Martin Braun
34474597f3
n3xx bist: Added socket read timeout
...
When the GPS chip is non-functional, gpsd could simply fail to return a
value. In that case, the recv() call to the socket would hang
indefinitely. This adds a graceful failure for that case.
2017-12-22 15:04:00 -08:00
Martin Braun
1d0f1aa99d
n3xx bist: Properly sequence GPSDO test
...
It now does:
- Power on GPS
- Wait for WARMUP to go low
- Wait for LOCKOK, with timeout
- Read the TPV response and return it
2017-12-22 15:04:00 -08:00
Martin Braun
fa07fd53f0
mpm: n3xx: Fix TCA GPIO read function
...
Used to always return None, now returns the actual pin value.
2017-12-22 15:04:00 -08:00
Martin Braun
a2f0269a1e
mpm: n3xx: Change default state for TCA GPIOs
...
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).
2017-12-22 15:04:00 -08:00
Martin Braun
5897780896
n3xx bist: Added LV compat mode
2017-12-22 15:04:00 -08:00
Martin Braun
f1ad20cfe1
n3xx bist: Minor refactoring of GPIO code
2017-12-22 15:04:00 -08:00
Martin Braun
e3b38be233
n3xx bist: Better pass/fail conditions, flattened results
...
To placate fussy JSON consumers, we now avoid nested dictionaries. The
dry-run results now return a more accurate representation of the N310
system responses.
2017-12-22 15:04:00 -08:00
Trung N Tran
c07af7edfe
n310: enable CLK-MGT156MHz at init n310 call
2017-12-22 15:04:00 -08:00
Trung N Tran
e68cda3b75
n310: add init value for sysfs_gpio
2017-12-22 15:04:00 -08:00
Martin Braun
8063697d68
mpm: Check rpc server has matching lock release/acquires
2017-12-22 15:04:00 -08:00
Martin Braun
7cd6758336
n310/eiscat: Removed 20 MHz as a valid ref clock frequency
2017-12-22 15:04:00 -08:00
Derek Kozel
e5a7be4453
eiscat: Change sync pin configuration to switch to CD in case of error
2017-12-22 15:04:00 -08:00
Martin Braun
053e6b5aee
n3xx mpm: Refactored peripheral init code
2017-12-22 15:04:00 -08:00
Martin Braun
90f608fa75
n3xx mpm: Enable more subcomponents through API calls
2017-12-22 15:04:00 -08:00
Martin Braun
eb2b11524b
n3xx mpm: Set call for TCA6424 pins gets value arg
2017-12-22 15:04:00 -08:00
Martin Braun
5f99240bd2
mpm: Made Python3 the default interpreter for all N3xx-related executables
2017-12-22 15:04:00 -08:00
Martin Braun
e20c0adb05
mpm aurora: Fixed undeclared variable issue
2017-12-22 15:04:00 -08:00
Trung N Tran
a745877cc9
n310: gpio bist
2017-12-22 15:04:00 -08:00
Trung N Tran
1db37316eb
n3xx: enable all pins on tca6424
2017-12-22 15:04:00 -08:00
Martin Braun
fad37e577d
mpm: Clarified use of get_logger() call
2017-12-22 15:04:00 -08:00
Martin Braun
8b4bc49764
n3xx bist: Added --verbose and --debug options
2017-12-22 15:04:00 -08:00
Martin Braun
ef6382c6ab
n3xx bist: Added SFP loopback tests
2017-12-22 15:04:00 -08:00
Martin Braun
39bd5b1bad
mpm: Minor fixes to aurora_control
...
- Slaves are properly initialized/deinitialized
- Return values from BISTs return more info
- Minor formatting fixes
2017-12-22 15:04:00 -08:00
Martin Braun
3ea3d8a338
mpm/n310: Added Aurora BIST code
2017-12-22 15:04:00 -08:00
Trung N Tran
1bd648833c
n3xx: Add CRC check for eeprom read
2017-12-22 15:04:00 -08:00
Martin Braun
7ae94d0ae9
n3xx bist: Make sure error_msg is in every result
...
Some downstream consumers of n3xx_bist output require the error_msg key
to be in every result, even if no error occurred. The default value is
an empty string.
2017-12-22 15:04:00 -08:00
djepson1
d15b55481d
eiscat: Fixing a sequencing issue with channel enables for signal integrity reasons
2017-12-22 15:04:00 -08:00
Martin Braun
3bd01c27a3
mpm/n310: Moved eth dispatcher setup into __init__
2017-12-22 15:04:00 -08:00
sugandhagupta
0347dc8b4b
mpm: fixed mpm rerun issue
2017-12-22 15:04:00 -08:00
Martin Braun
8e1dec25f2
eiscat: Move JESD init and ADC reset to its own function
2017-12-22 15:03:59 -08:00
sugandhagupta
113e425613
n3xx: added args for ethernet crossover path
2017-12-22 15:03:59 -08:00
Martin Braun
e7f7f06b49
mpm: Added eth table preloading capability
2017-12-22 15:03:59 -08:00
Martin Braun
aefbc5b957
n3xx bist: Added both time and date to rtc test, added error_msg common key
2017-12-22 15:03:59 -08:00
Martin Braun
a53976c6ea
n3xx bist: Stubbed out all tests, implemented TPM test
2017-12-22 15:03:59 -08:00
Martin Braun
527c4fe470
n3xx bist: Added dry-run version of sfp test
2017-12-22 15:03:59 -08:00
Martin Braun
5c64735057
n3xx bist: Added gpsd test
2017-12-22 15:03:59 -08:00
Martin Braun
666205cf29
n3xx bist: Added dry-run feature, and implemented temp, rtc, and fan tests
2017-12-22 15:03:59 -08:00
Martin Braun
d6dc8377ed
eiscat: JESD failure does no longer throw; returns failure
2017-12-22 15:03:59 -08:00
Martin Braun
3c385a4587
mpm: discovery can now be bound to subnet
2017-12-22 15:03:59 -08:00
Martin Braun
d6d4ac861e
eiscat: Unset initialized-flag when ref clock freq is changed
2017-12-22 15:03:59 -08:00
Martin Braun
62e2c25107
eiscat: Minor logging update for clock sync
2017-12-22 15:03:59 -08:00
djepson1
07b8682239
mpmd/cores: Removed PPS disable logic from TDC routine and added comments
2017-12-22 15:03:59 -08:00
djepson1
eae3ab9c7f
mpmd/cores: Adding TDC range check and removing clock enable/disable logic
2017-12-22 15:03:59 -08:00
Martin Braun
c34a36853e
n310: Allow --override-db-pids to skip dbs
2017-12-22 15:03:59 -08:00
Martin Braun
5f803ae32e
eiscat: Skip re-initialization of dboards
2017-12-22 15:03:59 -08:00