Permalink
Switch branches/tags
Nothing to show
Commits on Sep 20, 2018
  1. strategy: add off state to BareboxStrategy and UBootStrategy

    jremmet authored and jluebbe committed Sep 5, 2018
    This adds the off state which allows to switch the DUT off.
    
    Signed-off-by: Jan Remmet <j.remmet@phytec.de>
  2. resource/udev: use update function for USBSDMuxDevice

    Emantor authored and jluebbe committed Jul 30, 2018
    Previously the USBSDMuxDevice set up its own polling solution to find the disk
    and control path. Update them after the udev device is added or removed instead
    of polling constantly.
    
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Commits on Sep 18, 2018
  1. serialdriver: fix version detection for RFC2217

    Emantor committed Sep 18, 2018
    Our versioned release is 3.4.0.1, so we should only warn if the pyserial version
    is lower than this , not equal and lower.
    
    Fixes: 9d26bb2 ("serialdriver: add a warning about the RFC2217 fixes")
    Reported-by: Jonathan Götzinger <J.Goetzinger@eckelmann.de>
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Commits on Sep 17, 2018
  1. Merge pull request #306 from Emantor/topic/smalluboot_login_timeout

    jluebbe committed Sep 17, 2018
    Add login_timeout for smallubootdriver
  2. doc/configuration: document new SmallUBootDriver login_timeout

    Emantor authored and jluebbe committed Sep 16, 2018
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
  3. smallubootdriver: add login_timeout

    Emantor authored and jluebbe committed Sep 16, 2018
    Allow to set the login timeout as in every other bootloader driver.
    
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
  4. Merge pull request #305 from Emantor/fix/pyserial_project_dependency

    jluebbe committed Sep 17, 2018
    Add Labgrid-project pyserial fork
Commits on Sep 10, 2018
  1. serialdriver: add a warning about the RFC2217 fixes

    Emantor committed Sep 10, 2018
    Warn if the user is not using the pyserial labgrid-project fork.
    
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
  2. doc/getting_started: document the labgrid-project pyserial fork

    Emantor committed Sep 10, 2018
    Add a note block which informs the user that for RFC2217 support it is better to
    use the labgrid-project pyserial fork.
    
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
  3. requirements: add pyserial from labgrid-project fork

    Emantor committed Sep 10, 2018
    For RFC2217 support, we have some fixes in the labgrid-project fork of pyserial.
    To make those available to users, use this fork to install the pyserial library.
    This can be reverted if [1] in the pyserial repository is fixed.
    
    [1]: pyserial/pyserial#376
    
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Commits on Sep 3, 2018
  1. pytest/fixtures: change --lg-log default to const

    Emantor committed Sep 3, 2018
    Before the change, labgrid would always create console logfiles. Change the
    option so that logfiles are only produced if --lg-log ist set.
    
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Commits on Aug 22, 2018
  1. doc: IMXUSBDriver/MXSUSBDriver expects images key instead of image path

    BastianStender authored and Emantor committed Aug 22, 2018
    Specifying an image path directly leads to:
    
      KeyError: "no path configured for image '/path/to/bootloader.img'"
    
    Clarify that in the documentation.
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
Commits on Aug 13, 2018
  1. resource: Fix partially ignored exporter option --hostname

    Georg Hofmann authored and Emantor committed Jul 20, 2018
    All exporter classes should use self.host otherwise the labgrid-exporter
    option --hostname is ignored by these classes.
    
    Signed-off-by: Georg Hofmann <99duc6@gmail.com>
  2. Merge pull request #286 from kjeldflarup/fix_sshdrver_run

    Emantor committed Aug 13, 2018
    Fix spellcheck and missing timeout in sshdriver
  3. driver/ubootdriver.py: use _run() method signature everywhere and hon…

    BastianStender authored and Emantor committed Jul 26, 2018
    …or timeout
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
  4. driver/smallubootdriver.py: use _run() method signature everywhere an…

    BastianStender authored and Emantor committed Jul 26, 2018
    …d honor timeout
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
  5. driver/bareboxdriver: use _run() method signature everywhere

    BastianStender authored and Emantor committed Jul 26, 2018
    The "FIXME: Handle pexpect Timeout" is outdated and is now removed.
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
  6. commandmixin.run_check was missing codec parameters

    kjeldflarup authored and Emantor committed Jul 13, 2018
    Signed-off-by: Kjeld Flarup <kfa@deif.com>
  7. driver/sshdriver: adjust remotepath kwarg in put()

    BastianStender authored and Emantor committed Jul 20, 2018
    Having None as default leads to
    
      user@hostname:None
    
    This does not make sense, make the default an empty string instead.
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
  8. driver/sshdriver: fix errors introduced with commit 1f89ed9

    kjeldflarup authored and Emantor committed Jul 10, 2018
    Signed-off-by: Kjeld Flarup <kfa@deif.com>
  9. SSHDriver: Add port option

    nefethael authored and Emantor committed May 15, 2018
    Signed-off-by: Vincent Prince <vincent.prince.fr@gmail.com>
    [r.czerwinski@pengutronix.de: fixed -P scp argument, rebased]
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Commits on Jul 20, 2018
  1. Merge pull request #289 from labgrid-project/bst/misc

    jluebbe committed Jul 20, 2018
    factory: recognize invalid config yaml item in _convert_to_named_list()
  2. tests/test_factory: add test for missing empty dictionaries

    Emantor committed Jul 20, 2018
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
  3. factory: recognize invalid config yaml item in _convert_to_named_list()

    BastianStender committed Jul 20, 2018
    Caused by copying/pasting the config yaml contains this:
    
      targets:
        main:
          drivers:
            - SerialDriver:
    	- ShellDriver: {}
            ..
    
    This leads to:
    
      TypeError: 'NoneType' object is not iterable
    
    To help debugging the config error from above now ends with:
    
      labgrid.exceptions.InvalidConfigError: invalid list item, add empty dict for no arguments
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
Commits on Jul 17, 2018
  1. resource: IMXUSBLoader: add product ID for: i.MX6SL, i.MX6SLL, i.MX6U…

    Georg Hofmann authored and jluebbe committed Jul 13, 2018
    …LL, i.MX7D and i.MX7ULP
    
    Signed-off-by: Georg Hofmann <99duc6@gmail.com>
Commits on Jul 10, 2018
  1. Merge pull request #285 from Emantor/fix/ser2net_local_ports

    jluebbe committed Jul 10, 2018
    remote/exporter: set LOCAL option for ser2net exported serial ports
Commits on Jul 9, 2018
  1. remote/exporter: set LOCAL option for ser2net exported serial ports

    Emantor committed Jul 9, 2018
    Identify ports which are exported over ser2net as local ports, ignoring the
    modem control lines.
    
    We had a device which uses a full rs232 connection instead of the usual serial
    to ttl usb converter. Somewhere in the boot process the device side closed the
    port and signaled this via the modem control lines, reulting in an EOF in
    ser2net.
    Configure the ser2net subprocesses to assume that all serial ports are local
    ports, telling the kernel to ignore the control lines.
    
    Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Commits on Jul 3, 2018
  1. multiple: remove step kwarg from _run()/run()

    BastianStender authored and jluebbe committed Jul 3, 2018
    _run() methods are not called with step and step is not used anyway, so
    remove it.
    
    This fixes errors like:
    
      TypeError: _run() missing 1 required keyword-only argument: 'step'
    
    Issue introduced by PR #237.
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
  2. strategy/graphstrategy: deactivate drivers on invalidate()

    BastianStender authored and jluebbe committed Jul 3, 2018
    invalidate() exists to reset the Graph Strategy. Make sure all drivers
    are deactivated so they can be activated when starting over.
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
  3. Merge pull request #273 from BastianStender/bst/usability

    jluebbe committed Jul 3, 2018
    Improve usability
  4. Merge pull request #274 from BastianStender/bst/improve-doc-graph-str…

    jluebbe committed Jul 3, 2018
    …ategy
    
    doc/development: explain default paths in graph strategy
  5. Merge pull request #237 from Emantor/fix/_run_function

    jluebbe committed Jul 3, 2018
    multiple: add _run function, use _run in _run_check for the mixin
  6. strategy/graphstrategy: raise exception on impossible paths with via

    BastianStender committed Jul 2, 2018
    Until now impossible to reach via states were silently ignored.
    Complain about that.
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
  7. strategy/graphstrategy: do not allow unknown states in via

    BastianStender committed Jul 2, 2018
    Until now unknown via states were silently ignored. Complain about them.
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>
  8. strategy/graphstrategy: make every state a step

    BastianStender committed Jun 21, 2018
    This helps debugging graph strategies because every state change is
    logged as a step.
    
    Signed-off-by: Bastian Stender <bst@pengutronix.de>