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
wangjianyu3
6afed10118
system/fastboot: add depends for TCP poll
...
Add TCP backlog dependence for poll(),
network related configurations referenced to may has not enable it,
without which the TCP handshake will fail.
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-06-23 15:45:51 +08:00
wangjianyu3
7790894bb6
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 <wangjianyu3@xiaomi.com>
2025-06-18 22:06:08 +08:00
wangjianyu3
536e2ccac6
system/fastboot: Add support for fastboot oem shell
...
To support executing custom commands.
Usage
fastboot oem shell <command>
Tests
# Configuration "esp32s3-devkit:fastboot" with `SYSTEM_FASTBOOTD_SHELL` enabled
$ fastboot --version
fastboot version 35.0.2-12147458
$ fastboot oem shell ls /FILE_NOT_EXISTS
FAILED (remote: 'error detected 0xff00 4')
fastboot: error: Command failed
$ fastboot oem shell ps
PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK COMMAND
0 0 0 FIFO Kthread - Ready 0000000000000000 0003056 Idle_Task
1 0 224 RR Kthread - Waiting Semaphore 0000000000000000 0001976 hpwork 0x3fc8bd50 0x3fc8bd80
2 2 100 RR Task - Waiting Semaphore 0000000000000000 0004048 nsh_main
3 3 100 RR Task - Ready 0000000000000000 0001992 fastbootd
4 4 100 RR Task - Running 0000000000000000 0001992 popen -c ps
OKAY [ 0.010s]
Finished. Total time: 0.010s
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-02-25 08:23:37 +01:00
wangjianyu3
5de75adfb4
system/fastboot: Add prefix "SYSTEM" for USB boardctl configuration
...
- FASTBOOTD_USB_BOARDCTL
+ SYSTEM_FASTBOOTD_USB_BOARDCTL
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-02-20 15:34:10 +08:00
wangjianyu3
4d0b9d61de
system/fastboot: Support USB boardctl
...
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2024-09-11 23:20:48 +08:00
dinglongfei
5cced37a1b
system: support system fastbootd
...
Add the fastbootd program to support the flash, getvar, and reboot commands.
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-09-06 17:27:26 +08:00