This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to generate the binay file
- From: Tim Drury <tdrury at siliconmotorsports dot com>
- To: minglin at atmel dot com
- Cc: "Ecos-List (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 31 Oct 2002 10:37:51 -0500
- Subject: Re: [ECOS] How to generate the binay file
- References: <200210310116.RAA07819@hermes.atmel.com>
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