JianyuWang0623 opened a new pull request, #3003:
URL: https://github.com/apache/nuttx-apps/pull/3003

   ## Summary
   Add support for oem mkrd command to support creating RAM disk on device via 
fastboot on host side.
   
   Usage
   ```
   fastboot oem mkrd <minor> <nsectors> <sectsize>
   ```
   ## Impact
   system/fastboot
   ## Testing
   ```
   0. The "esp32s3-devkit:fastboot" configuration with `SYSTEM_FASTBOOTD_MKRD` 
enabled
   
       ./tools/configure.sh -l esp32s3-devkit:fastboot
       # Enable `SYSTEM_FASTBOOTD_MKRD`
       make menuconfig
   
   1. List "ram10" on device side
   
       nsh> ls /dev/ram10
       nsh: ls: stat failed: 2
   
   2. Create RAM disk "ram10" on host side
   
       $ fastboot -s 1234 oem mkrd 10 2 512
                                                          OKAY [  0.001s]
       Finished. Total time: 0.001s
   
   3. List "ram10" on device side, again
   
       nsh> ls -l /dev/ram10
        brw-rw-rw-        1024 /dev/ram10
   ```
   


-- 
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

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

Reply via email to