To download using the default download program, image.bin:
This will download an image from the flash.
To specify the download program:
Two binaries have been provided for this purpose, image.bin and memory.bin. image.bin as mentioned above is the default, while memory.bin will download an image of the memory.
The start and length of the image desired for download can be specified:
eg. If you have 1Mbyte flash, and you wish to download 4 sectors of the jffs, then the start address and length would be specified by:
The start address specified here is relative to the start of the flash.
The addressing mode can also be changed with the following options: relative to flash, start is 0x0 (default mode):
absolute addresses: |
After obtaining the captured output, it can be fed into the conv utility to convert the output file to binary. The source code for the utility is located in /opt/boottools/oops/src/conv.
Common oops program arguments
Verbose output mode:
Quiet operation mode (default):
To select a serial port (default is ‘/dev/ttyS0’):
Change to fast serial port, 230.4kbps (default is 115kbps):
Select initialisation program file(default is init.b):
Select a capture output file:
By default, there is no capture file specified, and all information will go to standard output. When capturing the output, if the file already exists, then the new information will be appended to the end of the file, not erase the current contents.
102 | www.amctechcorp.com |