JianyuWang0623 opened a new issue, #2991:
URL: https://github.com/apache/nuttx-apps/issues/2991

   ### 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:
   1. 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.
   2. The nsh was exited/disabled so we can not input command ("mkrd" for 
making ram disk).
   3. 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
   
   - [x] I have verified before submitting the report.


-- 
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: commits-unsubscr...@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to