commit | b5ddcadc713b7727d5d5f8025e6c79e83cd10b71 | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Mon Apr 01 18:05:45 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Thu Apr 04 23:04:22 2019 +0000 |
tree | f0f81125260b6a48ab1aa76424f62ef5b7d10c65 | |
parent | 1291c83cd0e7c3b1aa37845322260ef6383e527e [diff] |
HACK: Workaround weird paramiko socket behaviour When the far side disappears, such as on reboot, mdt shell can get stuck 20 minutes. If we enable keepalive messages and add a timeout to select() we can detect that tx of keepalives aren't progressing and emulate a timeout after a more reasonable 20 seconds. Change-Id: Icdaf51825fcf7c779afa6776b0f4f78f087f8864
MDT is a simple tool to aid in working with single board computers that the Mendel Linux distribution runs on. It consists of a whole bunch of pre-existing open source tooling, coupled with some simple wrappers written in python to ease their use.
It also provides an easy way to interact with these boards without having to fight with serial consoles, IP addresses, and other fiddly bits, reducing barrier to entry when working with these boards.
With minimal effort, MDT should also be portable to existing systems such as Debian and Ubuntu, if needed. This, however, is out of the scope of this project.
Install it via pip like this:
pip install mendel-development-tool
Note that if you run this as a non-root user, the executable will be stored in $HOME/.local/bin
which may not be in your PATH environment variable, so you'll want to add it.