yangsong8-a1 opened a new pull request, #3238:
URL: https://github.com/apache/nuttx-apps/pull/3238
## Summary
If using TCP fastboot, an additional config is added so that the network can
be initialized during fastboot initialization.
add an interface fastboot_handler. When nsh is not enabled, fastboot can be
started directly through this interface.
add switchboot command.
## Impact
For devices with strict boot time requirements, the network in bootloaders
(BL) does not need to be initialized every time. It can be initialized when
entering fastboot mode to save boot time. Therefore, a configuration similar to
that for USB has been added to initialize the network during fastboot
initialization.
## Testing
PC: ubuntu 22.04.1
target: tricore device
```
$ fastboot -s tcp:169.254.65.143 getvar version
version: 12.3.0
Finished. Total time: 0.001s
$ fastboot -s tcp:169.254.65.143 flash core0_b vela_core0.bin
...
Sending sparse 'core0_b' 22/22 (32 KB) OKAY [ 0.003s]
Writing 'core0_b' OKAY [ 0.093s]
Finished. Total time: 3.636s
$ fastboot -s tcp:169.254.65.143 oem switchboot swap
OKAY [ 0.001s]
Finished. Total time: 0.001s
$ fastboot -s tcp:169.254.65.143 reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]