This downloads a firmware kernel.
Go to directory $(TiNG)/test.
Run kload with the appropriate options (the program is
../util/gen-LINUX/kload,
../util/gen-SOL_32/kload, or
../util/gen-WINNT/kload
depending on which operating system you are using).
Command line options are:
-c card
| Specifies the card on which is the module where the kernel is to be loaded |
-m module
| Specifies the module to which the firmware is to be downloaded (default 0). |
-r
| Specifies that the Prosody processor must be reset before loading the kernel. This is necessary if you want to replace a kernel which has already been downloaded. |
-W
| Specifies that kload should not wait
until the kernel is running. Normally it is essential
to wait, since any attempt to use the Prosody
processor before the kernel has started can fail.
|
-v verbose-level
| Specifies a number which controls the amount of commentary printed during the download. Larger numbers generate more output. Currently the maximum commentary is produced when the value is 2 or more. |
| <kernel-file> | name of file which contains the kernel to be downloaded. |
For example,
../util/gen-LINUX/kload -c Prosody_123456 -v1 ../sharc/gen/kernel.smf
downloads the kernel to the first Prosody processor on the card
specified.
However, for convenience a shell script or batch file is provided
called kl which runs the appropriate program for the
operating system and supplies the normal name of the kernel. For this
example, you could use it like this instead of using elfload directly:
kl -c Prosody_123456 -v1
This is one of the Prosody test programs .