-
Notifications
You must be signed in to change notification settings - Fork 655
Closed
Labels
Type: EnhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Should we extend "fastboot oem" to support executing custom commands for test or debug, such as, make ram disk: fastboot oem sh "mkrd -m 10 -s 512 640"
. -- https://github.com/apache/nuttx-apps/blob/master/system/fastboot/fastboot.c#L200
The background/reason:
- Enabled fastboot for NuttX based bootloader, and plan to test fastboot commands that will write data to block device. But there is no partition on devices created for fastboot testing generally, so we need making ram disk maybe.
- The nsh was exited/disabled so we can not input command ("mkrd" for making ram disk).
- ADB and Fastboot can not enable at the same time currently, so we can not executing command through ADB. -- https://github.com/apache/nuttx/blob/master/drivers/usbdev/adb.c#L53
Describe the solution you'd like
Add support for "fastboot oem sh" to support executing custom commands.
Describe alternatives you've considered
No response
Verification
- I have verified before submitting the report.
cederom
Metadata
Metadata
Assignees
Labels
Type: EnhancementNew feature or requestNew feature or request