Project

General

Profile

Osmoload » History » Version 4

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 4
In order to use it you have to first put appropriate loader into baseband chip.
10
In case of Calypso on OpenMoko it is loader.highram.bin
11
12 1
It can also do various things that are handy for firmware development, including
13
interactive memory examination and bootloader capabilities for various situations.
14
15 2
{{{
16 1
user@host:~/osmocom-bb/src/host/osmocon$ ./osmoload help
17
Usage: ./osmoload [ -v | -h ] [ -d tr ] [ -m {c123,c155} ] [ -l /tmp/osmocom_loader ] COMMAND ...
18 3
19
  Memory commands:
20
    memget <hex-address> <hex-length>        - Peek at memory
21
    memput <hex-address> <hex-bytes>         - Poke at memory
22
    memdump <hex-address> <hex-length> <file>- Dump memory to file
23
    memload <hex-address> <file>             - Load file into memory
24
25
  Flash commands:
26
    finfo                             - Information about flash chips
27
    funlock <address> <length>        - Unlock flash block
28
    flock <address> <length>          - Lock flash block
29
    flockdown <address> <length>      - Lock down flash block
30
    fgetlock <address> <length>       - Get locking state of block
31
    ferase <address> <length>         - Erase flash range
32
    fprogram <chip> <address> <file>  - Program file into flash
33
34
  Execution commands:
35
    jump <hex-address>                 - Jump to address
36
    jumpflash                          - Jump to flash loader
37
    jumprom                            - Jump to rom loader
38
39
  Device lifecycle:
40
    ping                               - Ping the loader
41
    reset                              - Reset device
42
    off                                - Power off device
43
44
  Debug:
45
    dump                               - Dump loader traffic to console
46 2
}}}
Add picture from clipboard (Maximum size: 48.8 MB)