JianyuWang0623 opened a new pull request, #3093: URL: https://github.com/apache/nuttx-apps/pull/3093
## Summary Add examples for oem memdump dumping all memory regions. ## Impact - system/fastboot ## Testing Selftest passed with `CONFIG_BOARD_MEMORY_RANGE="{0x20000,0x48000,0x7},{0x40000000,0x4f590000,0x7},{0x4ff30000,0x50000000,0x7}"` - Host side: dump all memory regions when argument is invalid ```bash # Usage: fastboot oem memdump <addr> <size> # Invalid argument $ fastboot oem memdump fastboot oem memdump 0x20000 0x28000 fastboot get_staged 0x20000.bin fastboot oem memdump 0x40000000 0xf590000 fastboot get_staged 0x40000000.bin fastboot oem memdump 0x4ff30000 0xd0000 fastboot get_staged 0x4ff30000.bin FAILED (remote: 'Invalid argument') fastboot: error: Command failed ``` - Device side: dump all memory regions for help ```bash nsh> fastbootd -h Usage: fastbootd [wait_ms] memdump: fastboot oem memdump 0x20000 0x28000 fastboot get_staged 0x20000.bin fastboot oem memdump 0x40000000 0xf590000 fastboot get_staged 0x40000000.bin fastboot oem memdump 0x4ff30000 0xd0000 fastboot get_staged 0x4ff30000.bin ``` -- 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