• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

labgrid-project / labgrid / 364
55%

Build:
DEFAULT BRANCH: master
Ran 14 Jun 2017 08:09AM UTC
Jobs 3
Files 83
Run time 44s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
364

push

travis-ci

jluebbe
ShellDriver: implement file transfer support via XMODEM

This implementation starts the respective sender or receiver on the
target and then uses tehmaze's xmodem Python implementation [1] to
transfer files over the serial console. It can work with busybox's rx
(only for receiving) or lrz/lsz from lrzsz [2] (for receiving and
sending) on the target, and autodetects which commands are available.

XMODEM is a very simple, but also very historic protocol with some
quirks. See the comment in labgrid.driver.ShellDriver._put() for some
insight and workarounds.

Unfortunately, after the peer on the target has been started, there is
no way to stop it if the transfer fails and get back to a shell prompt,
since the peer on the target interprets everything on the console as
XMODEM messages. lsz's --min-bps option does not seem to work very good
(but is included nevertheless for the sake of trying), so powercycling
the target is possibly the best way to get rid of such situations.

This patch also includes support for uploading and running scripts onto
the target to make it easier for the user to automate more complex
scenarios.

[1]: https://github.com/tehmaze/xmodem
[2]: https://ohse.de/uwe/software/lrzsz.html

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>

1975 of 3874 relevant lines covered (50.98%)

1.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 364.1 14 Jun 2017 08:09AM UTC 0
50.98
Travis Job 364.1
2 364.2 14 Jun 2017 08:09AM UTC 0
50.98
Travis Job 364.2
3 364.3 14 Jun 2017 08:10AM UTC 0
50.98
Travis Job 364.3
Source Files on build 364
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #364
  • 7521f159 on github
  • Prev Build on master (#362)
  • Next Build on master (#368)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc