labgrid
labgrid copied to clipboard
driver: ykushpower: support remote control via ssh.
enable driver for resource YKUSHPowerPort, change to use ykushcmd as control driver, support remote control via ssh.
Signed-off-by: Chen Peng1 [email protected]
Description
support to control YKUSHPowerPort device remotely via ssh.
hi @Emantor @Bastian-Krause Could you help take a look of this? thanks. this is the first time I contacted with labgrid, but I found it solved many problems for hardware's' management and remote debug, so now I am working on using labgrid to set up a remote testing system on varieties of boards based on Zephyr OS, and found it supported yepkit switchable usb hub but didn't enable it, so I submitted this, any comments are welcome.
See comments below.
thanks for review, I will address them soon
Codecov Report
Merging #953 (df41d53) into master (dffc61d) will decrease coverage by
0.0%
. The diff coverage is21.2%
.
@@ Coverage Diff @@
## master #953 +/- ##
========================================
- Coverage 57.1% 57.0% -0.1%
========================================
Files 150 150
Lines 11199 11225 +26
========================================
+ Hits 6402 6407 +5
- Misses 4797 4818 +21
Impacted Files | Coverage Δ | |
---|---|---|
labgrid/driver/powerdriver.py | 64.5% <0.0%> (-2.0%) |
:arrow_down: |
labgrid/remote/client.py | 44.8% <0.0%> (-0.2%) |
:arrow_down: |
labgrid/remote/exporter.py | 60.1% <41.6%> (-0.5%) |
:arrow_down: |
labgrid/resource/ykushpowerport.py | 100.0% <100.0%> (ø) |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Just be curious @chen-png , have you finally setup zephyr farm with labgrid? I didn't see labgrid support pyocd or similar (correct me if I'm wrong), is the "flash zephyr image" is something you customized? Thanks!
And @Bastian-Krause , does labgrid support MCU world well?
@davidmaze1990 Let's discuss this in #1140.
As this PR is fairly stale, I've decided to pick this work up and created https://github.com/labgrid-project/labgrid/pull/1143.
Superseded by #1143, closing.