This is an automated email from the ASF dual-hosted git repository.

jiuzhudong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 677c2187b94203e8d5c15b8212f0a8da1b942e59
Author: wangjianyu3 <[email protected]>
AuthorDate: Mon Feb 24 19:57:31 2025 +0800

    Documentation/fastboot: Add usage for fastboot oem shell
    
    Signed-off-by: wangjianyu3 <[email protected]>
---
 Documentation/applications/system/fastboot/index.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/applications/system/fastboot/index.rst 
b/Documentation/applications/system/fastboot/index.rst
index a8ea7baf4a..30f937a3e4 100644
--- a/Documentation/applications/system/fastboot/index.rst
+++ b/Documentation/applications/system/fastboot/index.rst
@@ -23,6 +23,7 @@ Commands
 - OEM
    - :code:`fastboot oem filedump <PARTITION> [OFFSET] [LENGTH]`: Get 
:code:`<LENGTH>` (full by default) bytes of :code:`<PARTITION>` from 
:code:`<OFFSET>` (zero by default)
    - :code:`fastboot oem memdump <ADDRESS> <LENGTH>`: Dump :code:`<LENGTH>` 
bytes memory from address :code:`<ADDRESS>`
+   - :code:`fastboot oem shell <COMMAND>`: Execute custom commands. e.g. "oem 
shell ps", "oem shell ls /dev/"
 - :code:`fastboot get_staged <OUT_FILE>`: Writes data staged by the last 
command to file :code:`<OUT_FILE>`. e.g. "oem filedump" and "oem memdump"
 
 Examples
@@ -32,3 +33,4 @@ Examples
 - Erase partition /dev/userdata: :code:`fastboot erase userdata`
 - Dump partition /dev/app: :code:`fastboot filedump /dev/app` and then 
:code:`fastboot get_staged ./dump_app.bin`
 - Dump memory from 0x44000000 to 0x440b6c00: :code:`fastboot oem memdump 
0x44000000 0xb6c00` and then :code:`fastboot get_staged 
./mem_44000000_440b6c00.bin`
+- Create RAM disk "/dev/ram10" of size 320KB: :code:`fastboot oem shell "mkrd 
-m 10 -s 512 640"`

Reply via email to