labgrid icon indicating copy to clipboard operation
labgrid copied to clipboard

driver: ykushpower: support remote control via ssh.

Open chen-png opened this issue 2 years ago • 3 comments

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.

chen-png avatar Jul 15 '22 12:07 chen-png

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.

chen-png avatar Jul 15 '22 13:07 chen-png

See comments below.

thanks for review, I will address them soon

chen-png avatar Aug 10 '22 10:08 chen-png

Codecov Report

Merging #953 (df41d53) into master (dffc61d) will decrease coverage by 0.0%. The diff coverage is 21.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.

codecov[bot] avatar Aug 10 '22 14:08 codecov[bot]

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!

davidmaze1990 avatar Apr 20 '23 06:04 davidmaze1990

And @Bastian-Krause , does labgrid support MCU world well?

davidmaze1990 avatar Apr 20 '23 06:04 davidmaze1990

@davidmaze1990 Let's discuss this in #1140.

Bastian-Krause avatar Apr 20 '23 09:04 Bastian-Krause

As this PR is fairly stale, I've decided to pick this work up and created https://github.com/labgrid-project/labgrid/pull/1143.

edersondisouza avatar Apr 21 '23 21:04 edersondisouza

Superseded by #1143, closing.

Emantor avatar Apr 25 '23 09:04 Emantor