Skip to content

Commit 7790894

Browse files
JianyuWang0623xiaoxiang781216
authored andcommitted
system/fastboot: add support for fastboot tcp
Add TCP network transport support for fastboot, users can add "-s tcp:HOST[:PORT]" option to specify a network device. Examples fastboot -s tcp:192.168.100.2 getvar version fastboot -s tcp:192.168.100.2 flash virtblk0 fastboot.c fastboot -s tcp:192.168.100.2 oem shell "uname -a" Signed-off-by: wangjianyu3 <[email protected]>
1 parent 75033b7 commit 7790894

File tree

2 files changed

+310
-40
lines changed

2 files changed

+310
-40
lines changed

system/fastboot/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
menuconfig SYSTEM_FASTBOOTD
77
bool "fastbootd"
88
default n
9-
depends on USBFASTBOOT
9+
depends on USBFASTBOOT || NET_TCP
1010
---help---
1111
support usb fastboot function.
1212

@@ -29,6 +29,7 @@ config SYSTEM_FASTBOOTD_USB_BOARDCTL
2929
default n
3030
depends on BOARDCTL
3131
depends on BOARDCTL_USBDEVCTRL
32+
depends on USBFASTBOOT
3233
---help---
3334
Connect usbdev before running fastboot daemon.
3435

0 commit comments

Comments
 (0)