Lines Matching +full:usb +full:- +full:based

1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
4 # Test U-Boot's "ums" command. The test starts UMS in U-Boot, waits for USB
6 # block device, optionally mounts a partition and performs filesystem-based
7 # read/write tests, and finally aborts the "ums" command in U-Boot.
19 a) boardenv_* to contain configuration values to define which USB ports are
26 '/mnt/ubtest-mnt-p2371-2180-na',
33 'host_ums_dev_node': '/dev/disk/by-path/pci-0000:00:14.0-usb-0:13:1.0-scsi-0:0:0:0',
44 # If present, the partition will be mounted and a file written-to and
45 # read-from it. If missing, only a simple block read test will be
61 ACTION=="add", SUBSYSTEM=="block", SUBSYSTEMS=="usb", KERNELS=="3-13", MODE:="666"
70 /dev/disk/by-path/pci-0000:00:14.0-usb-0:13:1.0-scsi-0:0:0:0-part1 /mnt/ubtest-mnt-p2371-2180-na ex…
83 u_boot_console: A U-Boot console connection.
84 env__usb_dev_port: The single USB device-mode port specification on
85 which to run the test. See the file-level comment above for
87 env__block_devs: The list of block devices that the target U-Boot
88 device has attached. See the file-level comment above for details
106 # We're interested in testing USB device mode on each port, not the cross-
115 host_ums_part_node = '%s-part%d' % (host_ums_dev_node, part_num)
125 """Start U-Boot's ums shell command.
127 This also waits for the host-side USB enumeration process to complete.
137 'Starting long-running U-Boot ums shell command')
147 """Mount the block device that U-Boot exports.
161 """Unmount the block device that U-Boot exports.
165 already been detected, and the code is performing best-effort
178 """Stop U-Boot's ums shell command from executing.
180 This also waits for the host-side USB de-enumeration process to
185 already been detected, and the code is performing best-effort
194 'Stopping long-running U-Boot ums shell command')
203 # Skip filesystem-based testing if not configured
208 cmd = ('rm', '-f', mounted_test_fn)
227 cmd = ('rm', '-f', mounted_test_fn)