diff options
author | Stephen Warren <swarren@nvidia.com> | 2015-10-08 10:43:07 -0600 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2015-10-08 10:47:49 -0600 |
commit | 42f282565f8dd8fe9fb51bc5c0f5eb9adf813f67 (patch) | |
tree | f9b1aeaa37f0982b49fe1fdb17aa85846547c23c /src/tegrarcm.1.in | |
parent | d8eb1cef0885d936df271e8f96b8a036bc8a7411 (diff) | |
download | tegrarcm-42f282565f8dd8fe9fb51bc5c0f5eb9adf813f67.tar.gz |
Match USB port ID on re-enumeration
When executing the RCM process, the Tegra device will be re-enumerated
on the USB bus once the miniloader is booted. This requires tegrarcm to
search for it again. In a system with multiple attached Tegra boards, all
being booted/shutdown in parallel, it is possible that the second call to
usb_open() will find a different Tegra device. Solve this issue by having
usb_open() record the exact physical USB port path of the device, and
match only that path on subsequent searches. This will be robust except in
the case where the device being operated on is physically unplugged and
replaced (not simply power-cycled) while tegrarcm is executing. This is
much less likely that the previous failure modes.
This feature also enables the next patch in this series.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'src/tegrarcm.1.in')
0 files changed, 0 insertions, 0 deletions