Osmoload » History » Version 3
Anonymous, 02/19/2016 10:49 PM
New usage dump.
1 | 1 | = osmoload = |
|
---|---|---|---|
2 | |||
3 | '''NOTE: This is incomplete and experimental.''' |
||
4 | |||
5 | This command line tool is used to write, dump and examine flash memory of supported phones. |
||
6 | |||
7 | Currently, it can be used to dump memory and semiautomatically write it. |
||
8 | |||
9 | It can also do various things that are handy for firmware development, including |
||
10 | interactive memory examination and bootloader capabilities for various situations. |
||
11 | |||
12 | 2 | {{{ |
|
13 | 1 | user@host:~/osmocom-bb/src/host/osmocon$ ./osmoload help |
|
14 | Usage: ./osmoload [ -v | -h ] [ -d tr ] [ -m {c123,c155} ] [ -l /tmp/osmocom_loader ] COMMAND ... |
||
15 | 3 | ||
16 | Memory commands: |
||
17 | memget <hex-address> <hex-length> - Peek at memory |
||
18 | memput <hex-address> <hex-bytes> - Poke at memory |
||
19 | memdump <hex-address> <hex-length> <file>- Dump memory to file |
||
20 | memload <hex-address> <file> - Load file into memory |
||
21 | |||
22 | Flash commands: |
||
23 | finfo - Information about flash chips |
||
24 | funlock <address> <length> - Unlock flash block |
||
25 | flock <address> <length> - Lock flash block |
||
26 | flockdown <address> <length> - Lock down flash block |
||
27 | fgetlock <address> <length> - Get locking state of block |
||
28 | ferase <address> <length> - Erase flash range |
||
29 | fprogram <chip> <address> <file> - Program file into flash |
||
30 | |||
31 | Execution commands: |
||
32 | jump <hex-address> - Jump to address |
||
33 | jumpflash - Jump to flash loader |
||
34 | jumprom - Jump to rom loader |
||
35 | |||
36 | Device lifecycle: |
||
37 | ping - Ping the loader |
||
38 | reset - Reset device |
||
39 | off - Power off device |
||
40 | |||
41 | Debug: |
||
42 | dump - Dump loader traffic to console |
||
43 | 2 | }}} |