nuttx-apps/system/fastboot/Kconfig
yangsong8 5eae4c8f15 apps/fastboot: Enable network via ioctl during fastboot initialization
Bring up the network when do fastboot tcp init.

Signed-off-by: yangsong8 <yangsong8@xiaomi.com>
2025-12-09 20:16:21 +08:00

55 lines
1.4 KiB
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig SYSTEM_FASTBOOTD
bool "fastbootd"
default n
depends on USBFASTBOOT || (NET_TCP && NET_TCPBACKLOG)
---help---
Enable Fastboot daemon.
The USB transport depends on USBFASTBOOT.
The TCP network transport depends on NET_TCP and NET_TCPBACKLOG.
if SYSTEM_FASTBOOTD
config SYSTEM_FASTBOOTD_PRIORITY
int "USB-fastboot task priority"
default 100
config SYSTEM_FASTBOOTD_STACKSIZE
int "USB-fastboot stack size"
default DEFAULT_TASK_STACKSIZE
config SYSTEM_FASTBOOTD_DOWNLOAD_MAX
int "USB-fastboot download buffer size"
default 40960
config SYSTEM_FASTBOOTD_USB_BOARDCTL
bool "USB Board Control"
default n
depends on BOARDCTL
depends on BOARDCTL_USBDEVCTRL
depends on USBFASTBOOT
---help---
Connect usbdev before running fastboot daemon.
config SYSTEM_FASTBOOTD_SHELL
bool "Execute custom commands"
default n
depends on SCHED_CHILD_STATUS
depends on SYSTEM_POPEN
---help---
Enable to support executing custom commands.
e.g. fastboot oem shell ps
e.g. fastboot oem shell "mkrd -m 10 -s 512 640"
config SYSTEM_FASTBOOTD_NET_INIT
bool "Network initialization"
default n
select NETUTILS_NETINIT
---help---
This option enables/disables all network initialization in fastboot server.
endif # SYSTEM_FASTBOOTD