The features of the fromelf image converter utility include:
converting an executable image in ELF executable format to other file formats
controlling debug information in output files
disassembling either an ELF image or an ELF object file
protecting intellectual property (IP) in images and objects that are delivered to third parties
printing information about an ELF image or an ELF object file.
The following examples show how to use fromelf:
- fromelf --text -c -s --output=outfile.lst infile.axf
Creates a plain text output file that contains the disassembled code and the symbol table of an ELF image.
- fromelf --bin --16x2 --output=outfile.bin infile.axf
Creates two files in binary format (
outfile1.bin) for a target system with a memory configuration of a 16-bit memory width in two banks.
The output files in the last example are suitable for writing directly to 16-bit Flash device.