This downloads a firmware kernel to a Prosody X card. Firmware kernels for
Prosody X cards have the suffix .xmf
Go to directory $(TiNG)/test.
Run kloadx
with the appropriate options (the program is
../util/gen-LINUX_V6/kloadx or
../util/gen-WINNT_V6/kloadx
depending on which operating system you are using).
Command line options are:
-i ip-address
| Specifies the IP address for Prosody X card on which is the module where the kernel is to be loaded |
-k security-key
| Specifies the security key for Prosody X card on which is the module where the firmware 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. |
-z
| Specifies that kload should omit loading of symbols
to downloaded kernel. Normally only used for special kernel builds
containing diagnostic software.
|
-q
| Perform extra read back verification of downloaded kernel code. Normally only used to diagnose hardware installation problems. |
-t timeout
| Specifies the maximum duration in seconds of kernel load attempt. If this time is exceeded, kernel load attempt is abandoned (default 60 seconds). |
-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. |
-p0 -p1 -p2 -p3 parameter
| Specifies an additional kernel parameter. Only used with special kernel builds. |
<kernel-file> | name of file which contains the kernel to be downloaded. |
For example,
../util/gen-LINUX_V6/kloadx -i 172.16.1.220 -k mykey -v1 ../starcore/gen/pxting_kernel.xmf
downloads the kernel to the first Prosody processor on the card specified.
However, for convenience a shell script or batch file is provided called
klx
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 kloadx directly:
klx -i 172.16.1.220 -k mykey -v1
This is one of the Prosody test programs.