Osmoload » History » Version 2
Anonymous, 02/19/2016 10:49 PM
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 | |||
15 | Usage: ./osmoload [ -v | -h ] [ -d tr ] [ -m {c123,c155} ] [ -l /tmp/osmocom_loader ] COMMAND ... |
||
16 | memget <hex-address> <hex-length> - Peek at memory |
||
17 | memput <hex-address> <hex-bytes> - Poke at memory |
||
18 | memdump <hex-address> <hex-length> <file>- Dump memory to file |
||
19 | memload <hex-address> <file> - Load file into memory |
||
20 | finfo - Information about flash chips |
||
21 | funlock <chip> <address> - Unlock flash block |
||
22 | flock <chip> <address> - Lock flash block |
||
23 | flockdown <chip> <address> - Lock down flash block |
||
24 | fgetlock <chip> <address> - Get locking state of block |
||
25 | fprogram <chip> <address> <file> - Program file into flash |
||
26 | jump <hex-address> - Jump to address |
||
27 | jumpflash - Jump to flash loader |
||
28 | jumprom - Jump to rom loader |
||
29 | ping - Ping the loader |
||
30 | reset - Reset device |
||
31 | off - Power off device |
||
32 | dump - Dump loader traffic to console |
||
33 | 2 | }}} |