-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
system/fastboot: 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> Test 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 Signed-off-by: wangjianyu3 <[email protected]>
- Loading branch information
1 parent
fb4c03f
commit de83ff2
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters