This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Placing binary file into RAM on target
- To: Warren Jasper <wjasper at tx dot ncsu dot edu>
- Subject: Re: [ECOS] Placing binary file into RAM on target
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Fri, 27 Jul 2001 06:37:59 -0600 (MDT)
- Cc: eCos Discussion <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat, Inc.
On 27-Jul-2001 Warren Jasper wrote:
>
> Gary,
>
> I would use RedBoot if I could. I have tried to compile and run it
> for the sa11x0, which I thought I could do easily since I have a
> stable working port and gdb-module part working perfectly, but I have
> not met with success.
>
What problems do you have?
If you can get GDB stubs working on a platform, RedBoot is anout 3 minutes
away...
>
> -- Warren
>
> Warren J. Jasper
> wjasper@tx.ncsu.edu
>
>>
>>On 26-Jul-2001 Warren Jasper wrote:
>>>
>>> Does anybody know of a way to place an arbitrary binary file into
>>> SDRAM on a target if one is running gdb stubs? I am running a
>>> Intel StrongARM SA1110, and would like to load a program into
>>> FLASH via eCos (as opposed to JTAG via a parallel port with JFLASH).
>>>
>>
>>Use RedBoot :-)
>>
>>> gdb will only load elf type files, so I guess one option is to convert a
>>> file into "elf" and have the loader put it into memory. Is there an easy wa
>>+ y
>>> to do this or a better way?
>>
>>This would work. However, RedBoot is a more flexible option since you have
>>the ability to relocate [move] the code on the fly, perform checksums, etc.