@@ -605,13 +605,15 @@ NetworkRKUSBLoader
605605~~~~~~~~~~~~~~~~~~~
606606A NetworkRKUSBLoader describes an `RKUSBLoader `_ available on a remote computer.
607607
608- AndroidFastboot
609- ~~~~~~~~~~~~~~~
610- An AndroidFastboot resource describes a USB device in the fastboot state.
608+ AndroidUSBFastboot
609+ ~~~~~~~~~~~~~~~~~~
610+ An AndroidUSBFastboot resource describes a USB device in the fastboot state.
611+ Previously, this resource was named AndroidFastboot and this name still
612+ supported for backwards compatibility.
611613
612614.. code-block :: yaml
613615
614- AndroidFastboot :
616+ AndroidUSBFastboot :
615617 match :
616618 ID_PATH : pci-0000:06:00.0-usb-0:1.3.2:1.0
617619
@@ -625,6 +627,25 @@ Arguments:
625627Used by:
626628 - `AndroidFastbootDriver `_
627629
630+ AndroidNetFastboot
631+ ~~~~~~~~~~~~~~~~~~
632+ An AndroidNetFastboot resource describes a network device in fastboot state.
633+
634+ .. code-block :: yaml
635+
636+ AndroidNetFastboot :
637+ address : " 192.168.23.42"
638+
639+ Arguments:
640+ - address (str): ip address of the fastboot device
641+ - port (int, default=5554): udp/tcp fastboot port that is used in the
642+ device. (e.g. Barebox uses port 5554)
643+ - protocol (str, default="udp"): which protocol should be used when issuing
644+ fastboot commands. (Barebox supports currently only the udp protocol)
645+
646+ Used by:
647+ - `AndroidFastbootDriver `_
648+
628649DFUDevice
629650~~~~~~~~~
630651A DFUDevice resource describes a USB device in DFU (Device Firmware Upgrade)
@@ -1159,7 +1180,7 @@ The initial matching and monitoring for udev events is handled by the
11591180:any: `UdevManager ` class.
11601181This manager is automatically created when a resource derived from
11611182:any: `USBResource ` (such as :any: `USBSerialPort `, :any: `IMXUSBLoader ` or
1162- :any: `AndroidFastboot `) is instantiated.
1183+ :any: `AndroidUSBFastboot `) is instantiated.
11631184
11641185To identify the kernel device which corresponds to a configured `USBResource `,
11651186each existing (and subsequently added) kernel device is matched against the
@@ -1205,15 +1226,15 @@ device's parents instead of directly to itself.
12051226This is necessary for the `USBSerialPort ` because we actually want to find the
12061227``ttyUSB? `` device below the USB serial converter device.
12071228
1208- Matching an Android Fastboot Device
1209- +++++++++++++++++++++++++++++++++++
1229+ Matching an Android USB Fastboot Device
1230+ +++++++++++++++++++++++++++++++++++++++
12101231
12111232In this case, we want to match the USB device on that port directly, so we
12121233don't use a parent match.
12131234
12141235.. code-block :: yaml
12151236
1216- AndroidFastboot :
1237+ AndroidUSBFastboot :
12171238 match :
12181239 sys_name : ' 1-1.2.3'
12191240
@@ -1548,12 +1569,13 @@ Arguments:
15481569
15491570AndroidFastbootDriver
15501571~~~~~~~~~~~~~~~~~~~~~
1551- An AndroidFastbootDriver allows the upload of images to a device in the USB
1552- fastboot state.
1572+ An AndroidFastbootDriver allows the upload of images to a device in the USB or
1573+ network fastboot state.
15531574
15541575Binds to:
15551576 fastboot:
1556- - `AndroidFastboot `_
1577+ - `AndroidUSBFastboot `_
1578+ - `AndroidNetFastboot `_
15571579
15581580Implements:
15591581 - None (yet)
0 commit comments