www.amctechcorp.com 101
Erasing the flash with the -em option allows for the journaling flash file system (jffs) to be preserved when you
wish to load a new image consisting of the kernel and root filesystem.
————————————————————
| kernel | rootfilesystem | <blank> | jffs |
————————————————————
<—— replaced ——> <—saved—>
After the image has been written to flash, the system will reset. There are two reset modes:
auto-reset (default): -ra
manual reset, waits for user input: -rm
Upload & Run
oops will follow the following process to upload & run:
send init.b
send program
start program
capture output
To specify the image to be uploaded:
-k <image>
This will load the image at the start of flash, address 0.
To start a kernel, or other object, already in flash:
-sk <absolute start address>
For upload & run, if both -k and -sk are used in conjunction, an object can be downloaded to location 0 and
start execution at an arbitrary location. For example, a kernel could be compiled to run in RAM, loaded and then
run.
Download
oops will follow the following process to download:
send init.b
send program
start program
capture output
Most often, the capture file option will be used in this process.