Warning

This documentation is actively being updated as the project evolves and may not be complete in all areas.

SDWire driver

jumpstarter-driver-sdwire provides functionality for using the SDWire storage multiplexer. This device multiplexes an SD card between the DUT and the exporter host.

Installation

pip install jumpstarter-driver-sdwire

Configuration

Example configuration:

type: "jumpstarter_driver_sdwire.driver.SDWire"
config:
  # optional serial number of the sd-wire device
  # the first one found would be used if unset
  serial: "sdw-00001"
  # optional path to the block device exposed by sd-wire
  # automatically detected if unset
  storage_device: "/dev/disk/by-diskseq/1"

API Reference

The SDWire driver implements the StorageMuxClient class, which is a generic storage class.

class jumpstarter_driver_opendal.client.StorageMuxClient
dut()

Connect storage to dut

host()

Connect storage to host

off()

Disconnect storage

read_local_file(filepath)

Read into a local file from the storage device

write_local_file(filepath)

Write a local file to the storage device