public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* Loading image-file in SID.
@ 2010-07-19 11:04 Deaf Beed
  2010-07-19 11:09 ` Frank Ch. Eigler
  0 siblings, 1 reply; 4+ messages in thread
From: Deaf Beed @ 2010-07-19 11:04 UTC (permalink / raw)
  To: sid

Hi,

I have been playing around with SID for a while and have created a
component of mine. I am using the arm7pid pre-configured settings
along with my new component. I have used eCos as the OS and have
written a small program which runs as expected (programs my component)
when loaded through GDB. Now, I have this requirement.

I would like to run the image without having to load it through GDB. I
used the redboot image & its conf file as an example, but have not
been successful in loading and running my image. The details are:

1. The eCos built elf (little) has been converted to a binary
(arm-eabi-objdump). The elf has an entry point address of 0x8040.

2. Have loaded it in place of the reboot image:
   >> set mem2 image-file "my-eCos.img"
   >> connect-pin init-sequence output-1 -> mem2 image-load

3. No other changes at all to the arm-pid-redboot-tksm.conf file.

I realize that the PC also needs to be set and tried to do that using
"set cpu pc (int of)0x8040" but without any success. Could you please
suggest the required changes, etc. required to load and run and
arbitrary image using SID alone?


Any help/direction would be appreciated,
regards,
Shamik

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-18 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-19 11:04 Loading image-file in SID Deaf Beed
2010-07-19 11:09 ` Frank Ch. Eigler
2010-08-18 17:43   ` Deaf Beed
2010-08-18 20:34     ` Frank Ch. Eigler

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).