This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Program execution (i.e. an eCos application) fromRedBoot on Assabet (SA-1110)
- From: Gary Thomas <gary at chez-thomas dot org>
- To: Luca Gamma <luca dot gamma at die dot supsi dot ch>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 11 Jun 2002 09:11:57 -0600
- Subject: Re: [ECOS] Program execution (i.e. an eCos application) fromRedBoot on Assabet (SA-1110)
- References: <001d01c21158$e020b7b0$da9805c1@cube>
On Tue, 2002-06-11 at 09:01, Luca Gamma wrote:
> Hi all!
>
> I'm having troubles loading eCos applications from RedBoot. I successfully
> configured eCos to build the complete library (template: Intel StrongARM
> SA1110 board/all) and linked against it a simple eCos application
> (ecos-test.c) resulting in a ecos-test.exe executable (toolchain is based on
> CygWin and .exe is the default extension when building executables). The
> bootloader is redboot_ROM.bin found in the ./images/arm/assabet folder of
> the ecos CVS repository. When invoking the load command to download the
> program via TFTP protocol:
>
> RedBoot> load ecos-test.exe -m tftp -h 192.168.1.10
> ELF images not supported
> RedBoot>
>
> It seems to be necessary to convert the binary format, anyone can how to do
> this (maybe using arm-elf-objcopy)?
arm-elf-objcopy -O srec <file>.exe <file>.srec
Then tell RedBoot to load the .srec file.
Note: If you rebuild RedBoot using the latest sources, you'd be able
to load ELF files directly (this was added recently for eCos v2.0).
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss