Commit 39f26db
system/fastboot: dump all memory regions
Add examples for oem memdump dumping all memory regions.
Host side
$ 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
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
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>1 parent c9813ce commit 39f26db
1 file changed
+44
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
| 159 | + | |
157 | 160 | | |
158 | 161 | | |
159 | 162 | | |
| |||
209 | 212 | | |
210 | 213 | | |
211 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
212 | 222 | | |
213 | 223 | | |
214 | 224 | | |
| |||
648 | 658 | | |
649 | 659 | | |
650 | 660 | | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
651 | 692 | | |
652 | 693 | | |
653 | 694 | | |
| |||
664 | 705 | | |
665 | 706 | | |
666 | 707 | | |
| 708 | + | |
667 | 709 | | |
668 | 710 | | |
669 | 711 | | |
| |||
1042 | 1084 | | |
1043 | 1085 | | |
1044 | 1086 | | |
| 1087 | + | |
| 1088 | + | |
1045 | 1089 | | |
1046 | 1090 | | |
1047 | 1091 | | |
| |||
0 commit comments