From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25537 invoked by alias); 19 Jul 2010 11:04:51 -0000 Received: (qmail 25448 invoked by uid 22791); 19 Jul 2010 11:04:50 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-yx0-f169.google.com (HELO mail-yx0-f169.google.com) (209.85.213.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Jul 2010 11:04:46 +0000 Received: by yxs7 with SMTP id 7so1122219yxs.0 for ; Mon, 19 Jul 2010 04:04:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.4.8 with SMTP id g8mr4176740ybi.365.1279537484832; Mon, 19 Jul 2010 04:04:44 -0700 (PDT) Received: by 10.150.216.17 with HTTP; Mon, 19 Jul 2010 04:04:44 -0700 (PDT) Date: Mon, 19 Jul 2010 11:04:00 -0000 Message-ID: Subject: Loading image-file in SID. From: Deaf Beed To: sid@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2010-q3/txt/msg00001.txt.bz2 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