public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Deaf Beed <deafbeed@gmail.com>
To: sid@sourceware.org
Subject: Loading image-file in SID.
Date: Mon, 19 Jul 2010 11:04:00 -0000	[thread overview]
Message-ID: <AANLkTinG1WMfvkx_z78wfWeFWXRI6n3igQG9dV1vF2bF@mail.gmail.com> (raw)

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

             reply	other threads:[~2010-07-19 11:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19 11:04 Deaf Beed [this message]
2010-07-19 11:09 ` Frank Ch. Eigler
2010-08-18 17:43   ` Deaf Beed
2010-08-18 20:34     ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTinG1WMfvkx_z78wfWeFWXRI6n3igQG9dV1vF2bF@mail.gmail.com \
    --to=deafbeed@gmail.com \
    --cc=sid@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).