* Re: [ECOS] Placing binary file into RAM on target
[not found] <200107271231.IAA25770@lx10.tx.ncsu.edu>
@ 2001-07-27 5:39 ` Gary Thomas
0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2001-07-27 5:39 UTC (permalink / raw)
To: Warren Jasper; +Cc: eCos Discussion
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [ECOS] Placing binary file into RAM on target
2001-07-26 11:22 Warren Jasper
2001-07-26 11:35 ` Jonathan Larmour
@ 2001-07-26 14:09 ` Gary Thomas
1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2001-07-26 14:09 UTC (permalink / raw)
To: Warren Jasper; +Cc: ecos-discuss
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 way
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] Placing binary file into RAM on target
2001-07-26 11:22 Warren Jasper
@ 2001-07-26 11:35 ` Jonathan Larmour
2001-07-26 14:09 ` Gary Thomas
1 sibling, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2001-07-26 11:35 UTC (permalink / raw)
To: wjasper; +Cc: ecos-discuss
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).
>
> 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 way
> to do this or a better way?
echo > foo.c
arm-elf-gcc -c foo.c
arm-elf-objcopy --add-section .loadme=mybinfile foo.o
arm-elf-objcopy --set-section-flags .loadme=alloc,contents,load,data foo.o
Probably anyway :). Close enough for you to work out the rest on your own.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Placing binary file into RAM on target
@ 2001-07-26 11:22 Warren Jasper
2001-07-26 11:35 ` Jonathan Larmour
2001-07-26 14:09 ` Gary Thomas
0 siblings, 2 replies; 4+ messages in thread
From: Warren Jasper @ 2001-07-26 11:22 UTC (permalink / raw)
To: ecos-discuss
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).
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 way
to do this or a better way?
Thanks in advance,
-- Warren
Warren J. Jasper
wjasper@tx.ncsu.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-07-27 5:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200107271231.IAA25770@lx10.tx.ncsu.edu>
2001-07-27 5:39 ` [ECOS] Placing binary file into RAM on target Gary Thomas
2001-07-26 11:22 Warren Jasper
2001-07-26 11:35 ` Jonathan Larmour
2001-07-26 14:09 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).