Prosody program: elfload

This downloads a firmware module. Note that the firmware kernel must have been downloaded already.

Go to directory $(TiNG)/test.

Run elfload with the appropriate options (the program is ../ELFload/gen-LINUX/elfload, ../ELFload/gen-SOL_32/elfload, or ../ELFload/gen-WINNT/elfload depending on which operating system you are using).

Command line options are:

-c card Specifies the card on which is the module whose memory is to be examined
-m module Specifies the module to which the firmware is to be downloaded (default 0).
-M mapfile Specifies a file into which a symbol map is produced. This map file is only needed for debugging the firmware. (default: no map file)
-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 already downloaded.
<download-file> name of file which contains the firmware to download.

For example,

	../ELFlink/gen-LINUX/elfload -c Prosody_123456 -v1 ../sharc/gen/kernel.elf ../sharc/gen/outchan.elf

downloads the outchan module. However, for convenience a shell script or batch file is provided called lm which supplies some of the parameters. For this example, you could use it like this instead of using elfload directly:

	lm outchan -c Prosody_123456 -v1

Note that the name of the firmware module to be downloaded comes first.


This is one of the Prosody test programs .