[ECOS] How to generate the binay file
Tim Drury
tdrury@siliconmotorsports.com
Thu Oct 31 07:37:00 GMT 2002
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
More information about the Ecos-discuss
mailing list