[ECOS] Elf to Bin format

Mark Salter msalter@redhat.com
Mon Jun 4 08:34:00 GMT 2001


>>>>> Narayana, Venkat A writes:

> Hi,
> Can you pls help me in figuring out
> what happens when we convert ELF to a Bin format,
> using objdump tool. I mean, how can i be sure
        ^^^^^^^
You did mean objcopy, right?

> that all sections of elf file got dumped into 
> bin file? Is there any tool/utility which will allow
> me to look into bin file and decipher the contents?

There is nothing to decipher. The binary file contains only
the raw section contents at appropriate offsets. There is no
information to decipher.

> As was previously stated in this thread, my bin
> file, when i flashed it into a flash, does not contain
> .data section.

What makes you think this?

Please post the results of:

  % objdump -h redboot.elf

and

  % ls -l redboot.bin

--Mark




More information about the Ecos-discuss mailing list