@@ -605,13 +605,15 @@ NetworkRKUSBLoader
605
605
~~~~~~~~~~~~~~~~~~~
606
606
A NetworkRKUSBLoader describes an `RKUSBLoader `_ available on a remote computer.
607
607
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.
611
613
612
614
.. code-block :: yaml
613
615
614
- AndroidFastboot :
616
+ AndroidUSBFastboot :
615
617
match :
616
618
ID_PATH : pci-0000:06:00.0-usb-0:1.3.2:1.0
617
619
@@ -625,6 +627,25 @@ Arguments:
625
627
Used by:
626
628
- `AndroidFastbootDriver `_
627
629
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
+
628
649
DFUDevice
629
650
~~~~~~~~~
630
651
A 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
1159
1180
:any: `UdevManager ` class.
1160
1181
This manager is automatically created when a resource derived from
1161
1182
:any: `USBResource ` (such as :any: `USBSerialPort `, :any: `IMXUSBLoader ` or
1162
- :any: `AndroidFastboot `) is instantiated.
1183
+ :any: `AndroidUSBFastboot `) is instantiated.
1163
1184
1164
1185
To identify the kernel device which corresponds to a configured `USBResource `,
1165
1186
each existing (and subsequently added) kernel device is matched against the
@@ -1205,15 +1226,15 @@ device's parents instead of directly to itself.
1205
1226
This is necessary for the `USBSerialPort ` because we actually want to find the
1206
1227
``ttyUSB? `` device below the USB serial converter device.
1207
1228
1208
- Matching an Android Fastboot Device
1209
- +++++++++++++++++++++++++++++++++++
1229
+ Matching an Android USB Fastboot Device
1230
+ +++++++++++++++++++++++++++++++++++++++
1210
1231
1211
1232
In this case, we want to match the USB device on that port directly, so we
1212
1233
don't use a parent match.
1213
1234
1214
1235
.. code-block :: yaml
1215
1236
1216
- AndroidFastboot :
1237
+ AndroidUSBFastboot :
1217
1238
match :
1218
1239
sys_name : ' 1-1.2.3'
1219
1240
@@ -1548,12 +1569,13 @@ Arguments:
1548
1569
1549
1570
AndroidFastbootDriver
1550
1571
~~~~~~~~~~~~~~~~~~~~~
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.
1553
1574
1554
1575
Binds to:
1555
1576
fastboot:
1556
- - `AndroidFastboot `_
1577
+ - `AndroidUSBFastboot `_
1578
+ - `AndroidNetFastboot `_
1557
1579
1558
1580
Implements:
1559
1581
- None (yet)
0 commit comments