This is the mail archive of the sid@sourceware.org mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Loading image-file in 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]