30 elfloader, Elfloader, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual
Page 83
MOTLoad Commands
MOTLoad Firmware Package User’s Manual (6806800C24D)
83
3.1.30 elfLoader
Name
elfLoader—loads, and attaches if specified, an ELF object to the MOTLoad environment.
Synopsis
elfLoader [-a] [-s] [-v]
Parameters
-a Ph: Load Address of ELF Object File (Default = User Download Buffer)
-s 0: Add Symbols to Dynamic Symbol Table
-v 0: Verbose Mode
Example
The following example indicates a typical display when using the elfLoader command.
MOTLoad> dla = malloc 0x100000
return = 008C0000 (&9175040)
errno = 00000000
MOTLoad> tftpGet -c192.168.1.3 s192.168.1.3 -fperfCode.o -adla
Network Loading from: /dev/enet0
Loading File: perfCode.o
Load Address: 008C0000
Client IP Address = 192.168.1.3
Server IP Address = 192.168.1.33
Gateway IP Address = 192.168.1.253
Subnet IP Address Mask = 255.255.255.0
Network File Load in Progress...
Bytes Received =&2500, Bytes Loaded =&2500
Bytes/Second =&2500, Elapsed Time =1 Second(s)
MOTLoad> elfLoader -adla -s
Section Loaded: Address =009C4000, Size =0000002C, Name =.text
Section Loaded: Address =009C5000, Size =00000014, Name =.rodata