[roll] Roll fuchsia [ffx][fastboot]: support inline serial

This change allows a user to specify the configuration value
ffx.fastboot.inline_target=true combined with the --target flag.

Doing so will make an RPC to the daemon to add a target "inline". It
will enumerate all usb devices to find the one whose serial number
matches the provided serial number and add it as a valid target.

Then all commands using the provided target will use the "inline"
target.

This target is ephemeral and will be automatically reaped by the daemon
after it is inactive for some time.

This, combined with --config fastboot.usb.disabled=true, will make it
such that we will only enumerate usb devices twice on a given flash,
once for the initial disocvery, and a second time to re-establish
connection after the target reboots.

If, however, the --no-bootloader-reboot flag is enabled then we will
only enumerate usb devices once for the initial discovery.

ffx --target $TARGET --config fastboot.usb.disabled=true
--config ffx.fastboot.inline_target=true target flash --no-bootloader-reboot

Original-Bug: 91843
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/733642
Original-Revision: b933e3a1f19d3d5024f472826a5ec78ef7fdd5a6
GitOrigin-RevId: 17869d68305b4f7ed0de7489bf9a5652b657ac12
Change-Id: Ia517f66e8aad137bacd0b3b659996f7fd09d3be2
1 file changed
tree: d472197f922d3f9f7fc8f23a4118256c39cc587a
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.