This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to generate the binay file


Your syntax for arm-elf-objcopy doesn't appear correct.
Running 'arm-elf-obcopy --help' says to use:

arm-elf-objcopy [switches] infile [outfile]

So try:

arm-elf-objcopy -O binary myapp.elf myapp.bin

I do the same thing to make srecs.

-tim


Lin Ming wrote:

> Hi, All,
>
> I am using EB40 and EB40A. Thanks to Tim and Thomas for their patch
> and I can run my
>
> application on EB40A with elf format file by arm-elf-gdb.
>
> But when I type the following command:
>
> 	arm-elf-objcopy -I elf32-little myapp.elf -O binary myapp.bin
>
> to generate the binary file and download to flash, it didn't run.
>
> Did I do the right way to generate the binary file? Any idea about that?
>
> Maybe the elf32-little format I specified is wrong?
>
>  				
>
> Best Regards,
> Lin Ming
> 2002-10-30
>
>
>
>
>



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]