Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 08b3955

Browse files
committedFeb 16, 2024
feat(docs): Add description and references to new usbsdmux storage driver
Signed-off-by: Jan Kiszka <[email protected]>
1 parent f063d8b commit 08b3955

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed
 

‎Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ config CONSOLE_VARIANT
135135
string "Console variant"
136136
default "qemu"
137137
help
138-
Select a shared storage variant from 'docker', 'qemu', 'samsung'
139-
and 'usbf'.
138+
Select a shared storage variant from 'docker', 'qemu', 'samsung',
139+
'usbsdmux' and 'usbf'.
140140
endmenu
141141

142142
menu "Video Settings"

‎docs/config.rst

+17-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ General settings
128128
selected with ``variant``.
129129

130130
* ``variant``: string [required]
131-
Select a shared storage variant from ``docker``, ``qemu``, ``samsung``
132-
and ``usbf``.
131+
Select a shared storage variant from ``docker``, ``qemu``, ``samsung``,
132+
``usbsdmux`` and ``usbf``.
133133

134134
* ``usb``: section [optional]
135135
Specify how many USB ports may be controlled from this agent.
@@ -388,6 +388,21 @@ a SD card between the DUT and host. The following settings are supported:
388388
Identifier of the sdmux/sdwire device to use. Use ``sd-mux-ctrl`` to list
389389
available devices. When not specified, the first device is auto-detected.
390390

391+
``usbsdmux`` driver settings
392+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
393+
394+
The ``usbsdmux`` driver supports SD card switcher based on the Microchip
395+
USB2642 card reader chip. A tool with this name is available for several
396+
distros and via pip. The following settings are supported:
397+
398+
* ``device``: string [optional]
399+
Block device for the shared storage as seen on the host (defaults to
400+
``/dev/sda``)
401+
402+
* ``control-device``: string [optional]
403+
Control device used for talking to the switcher on the host (defaults to
404+
``/dev/sg0``)
405+
391406
``usbf`` driver settings
392407
~~~~~~~~~~~~~~~~~~~~~~~~~~~
393408

‎mtda.ini

+1
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ variant=aviosys_8800
159159
# - docker
160160
# - qemu
161161
# - samsung
162+
# - usbsdmux
162163
# - usbf
163164
# ---------------------------------------------------------------------------
164165
# Note: this section is ignored when connecting to a remote agent

0 commit comments

Comments
 (0)
Please sign in to comment.