This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: arm-elf-objcopy
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Aravind B <arvindb at cranessoftware dot com>
- Cc: ecos <ecos-discuss at sources dot redhat dot com>
- Date: 23 Jul 2004 14:31:04 +0100
- Subject: Re: [ECOS] arm-elf-objcopy
- References: <1090586405.1565.45.camel@ambica>
Aravind B <arvindb@cranessoftware.com> writes:
> i have generated an hex file from elf using command
> arm-elf-objcopy -O ihex simple-alarm2.elf simple.hex
> when i tried to generate a bin file (dos environment) using this hex
> file, i am getting an error - Invalid record type in hex record - < line
> number>. This happens with all .hex files generated, using
> arm-elf-objcopy.
What is the hex record at that line? Does it look invalid? Maybe the
DOS tool you are using has a different idea of what constitutes a hex
file to binutils.
>
> I would like to know if this error is due to incorrect usage of the
> above command or for any other reason.
Generally we have only ever generated different formats directly from
the ELF original. Going via some intermediary format doesn't always
work since the intermediary may not have preserved enough information.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss