@@ -605,13 +605,13 @@ 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.
611611
612612.. code-block :: yaml
613613
614- AndroidFastboot :
614+ AndroidUSBFastboot :
615615 match :
616616 ID_PATH : pci-0000:06:00.0-usb-0:1.3.2:1.0
617617
@@ -625,6 +625,25 @@ Arguments:
625625Used by:
626626 - `AndroidFastbootDriver `_
627627
628+ AndroidNetFastboot
629+ ~~~~~~~~~~~~~~~~~~
630+ An AndroidNetFastboot resource describes a network device in fastboot state.
631+
632+ .. code-block :: yaml
633+
634+ AndroidNetFastboot :
635+ address : " 192.168.23.42"
636+
637+ Arguments:
638+ - address (str): ip address of the fastboot device
639+ - port (int, default=5554): udp/tcp fastboot port that is used in the
640+ device. (e.g. Barebox uses port 5554)
641+ - protocol (str, default="udp"): which protocol should be used when issuing
642+ fastboot commands. (Barebox supports currently only the udp protocol)
643+
644+ Used by:
645+ - `AndroidFastbootDriver `_
646+
628647DFUDevice
629648~~~~~~~~~
630649A DFUDevice resource describes a USB device in DFU (Device Firmware Upgrade)
@@ -1159,7 +1178,7 @@ The initial matching and monitoring for udev events is handled by the
11591178:any: `UdevManager ` class.
11601179This manager is automatically created when a resource derived from
11611180:any: `USBResource ` (such as :any: `USBSerialPort `, :any: `IMXUSBLoader ` or
1162- :any: `AndroidFastboot `) is instantiated.
1181+ :any: `AndroidUSBFastboot `) is instantiated.
11631182
11641183To identify the kernel device which corresponds to a configured `USBResource `,
11651184each existing (and subsequently added) kernel device is matched against the
@@ -1205,15 +1224,15 @@ device's parents instead of directly to itself.
12051224This is necessary for the `USBSerialPort ` because we actually want to find the
12061225``ttyUSB? `` device below the USB serial converter device.
12071226
1208- Matching an Android Fastboot Device
1209- +++++++++++++++++++++++++++++++++++
1227+ Matching an Android USB Fastboot Device
1228+ +++++++++++++++++++++++++++++++++++++++
12101229
12111230In this case, we want to match the USB device on that port directly, so we
12121231don't use a parent match.
12131232
12141233.. code-block :: yaml
12151234
1216- AndroidFastboot :
1235+ AndroidUSBFastboot :
12171236 match :
12181237 sys_name : ' 1-1.2.3'
12191238
@@ -1548,12 +1567,13 @@ Arguments:
15481567
15491568AndroidFastbootDriver
15501569~~~~~~~~~~~~~~~~~~~~~
1551- An AndroidFastbootDriver allows the upload of images to a device in the USB
1552- fastboot state.
1570+ An AndroidFastbootDriver allows the upload of images to a device in the USB or
1571+ network fastboot state.
15531572
15541573Binds to:
15551574 fastboot:
1556- - `AndroidFastboot `_
1575+ - `AndroidUSBFastboot `_
1576+ - `AndroidNetFastboot `_
15571577
15581578Implements:
15591579 - None (yet)
0 commit comments