Project

General

Profile

Osmoload » History » Revision 3

Revision 2 (Anonymous, 02/19/2016 10:49 PM) → Revision 3/7 (Anonymous, 02/19/2016 10:49 PM)

= osmoload = 

 '''NOTE: This is incomplete and experimental.''' 

 This command line tool is used to write, dump and examine flash memory of supported phones. 

 Currently, it can be used to dump memory and semiautomatically write it. 

 It can also do various things that are handy for firmware development, including 
 interactive memory examination and bootloader capabilities for various situations. 

 {{{ 
 user@host:~/osmocom-bb/src/host/osmocon$ ./osmoload help 
 

 Usage: ./osmoload [ -v | -h ] [ -d tr ] [ -m {c123,c155} ] [ -l /tmp/osmocom_loader ] COMMAND ... 

   Memory commands: 
     
   memget <hex-address> <hex-length>          - Peek at memory 
     
   memput <hex-address> <hex-bytes>           - Poke at memory 
     
   memdump <hex-address> <hex-length> <file>- Dump memory to file 
     
   memload <hex-address> <file>               - Load file into memory 

   Flash commands: 
     
   finfo                                                                    - Information about flash chips 
     
   funlock <chip> <address> <length>                            - Unlock flash block 
     
   flock <chip> <address> <length>                                - Lock flash block 
     
   flockdown <chip> <address> <length>                        - Lock down flash block 
     
   fgetlock <chip> <address> <length>                          - Get locking state of block 
     ferase <address> <length>           - Erase flash range 
     
   fprogram <chip> <address> <file>              - Program file into flash 

   Execution commands: 
     
   jump <hex-address>                                           - Jump to address 
     
   jumpflash                                                             - Jump to flash loader 
     
   jumprom                                                                 - Jump to rom loader 

   Device lifecycle: 
     
   ping                                                                       - Ping the loader 
     
   reset                                                                     - Reset device 
     
   off                                                                         - Power off device 

   Debug: 
     
   dump                                                                       - Dump loader traffic to console 
 }}} 
Add picture from clipboard (Maximum size: 48.8 MB)